Skip to contentSkip to conversation

ASoC: dt-bindings: ti,tas2552: Add sound-dai-cells

PATCH Superseded Marek Vasut 2 participants 2 messages Apr 4 – Apr 5

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dt-bindings: ti,tas2552: Add sound-dai-cells

Add missing sound-sai-cells for this codec into schema. At the same time, drop trailing spaces from description.

Fixes 506e0825a4c9 ("ASoC: dt-bindings: Convert ti,tas2552 to DT schema")

---
Cc: Baojun Xu <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Kevin Lu <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shenghao Ding <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 Documentation/devicetree/bindings/sound/ti,tas2552.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/sound/ti,tas2552.yaml +6 -2
index 10369aa5f0a86..7c7a9e624b898 100644
@@ -12,8 +12,8 @@ maintainers:
   - Baojun Xu <[email protected]>
 
 description: >
-  The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or 
-  use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL, 
+  The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or
+  use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL,
   the PDM reference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK.
 
   For system integration the dt-bindings/sound/tas2552.h header file provides
@@ -34,6 +34,9 @@ properties:
     maxItems: 1
     description: gpio pin to enable/disable the device
 
+  '#sound-dai-cells':
+    const: 0
+
 required:
   - compatible
   - reg
@@ -54,6 +57,7 @@ examples:
         audio-codec@41 {
             compatible = "ti,tas2552";
             reg = <0x41>;
+            #sound-dai-cells = <0>;
             vbat-supply = <&reg_vbat>;
             iovdd-supply = <&reg_iovdd>;
             avdd-supply = <&reg_avdd>;
Signature · 1 line
2.53.0
#1 lore raw

Documentation/devicetree/bindings/sound/ti,tas2552.yaml properties: · line 39

Quoted 8 lines · Marek Vasut

For system integration the dt-bindings/sound/tas2552.h header file provides

Documentation/devicetree/bindings/sound/ti,tas2552.yaml +3 -0
@@ -34,6 +34,9 @@ properties:
     maxItems: 1
     description: gpio pin to enable/disable the device
 
+  '#sound-dai-cells':
+    const: 0
+

missing ref to dai-common and unevaluatedProperties.

Documentation/devicetree/bindings/sound/ti,tas2552.yaml properties: · line 42

Quoted 3 lines
Documentation/devicetree/bindings/sound/ti,tas2552.yaml +0 -0
 required:
   - compatible
   - reg

Best regards,
Krzysztof