forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/Documentation/devicetree/bindings/sound/tas2770.yaml
....@@ -52,7 +52,9 @@
5252 - 1 # Falling edge
5353
5454 '#sound-dai-cells':
55
- const: 1
55
+ # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
56
+ # compatibility but is deprecated.
57
+ enum: [0, 1]
5658
5759 required:
5860 - compatible
....@@ -69,7 +71,7 @@
6971 codec: codec@41 {
7072 compatible = "ti,tas2770";
7173 reg = <0x41>;
72
- #sound-dai-cells = <1>;
74
+ #sound-dai-cells = <0>;
7375 interrupt-parent = <&gpio1>;
7476 interrupts = <14>;
7577 reset-gpio = <&gpio1 15 0>;