Skip to contentSkip to conversation

dt-bindings: display: adi,adv75xx: Document #sound-dai-cells

PATCH Superseded Fabio Estevam 3 participants 3 messages Dec 6, 2023

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: display: adi,adv75xx: Document #sound-dai-cells

From: Fabio Estevam <[email protected]>

When using audio from ADV7533 or ADV7535 and describing the audio card via simple-audio-card, the '#sound-dai-cells' needs to be passed.

Document the '#sound-dai-cells' property to fix the following dt-schema warning:

imx8mn-beacon-kit.dtb: hdmi@3d: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7533.yaml#

---
 .../devicetree/bindings/display/bridge/adi,adv7533.yaml        | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml +3 -0
index 987aa83c2649..e15ae072922e 100644
@@ -89,6 +89,9 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [ 1, 2, 3, 4 ]
 
+  '#sound-dai-cells':
+    const: 0
+
   ports:
     description:
       The ADV7533/35 has two video ports and one audio port.
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Re: [PATCH] dt-bindings: display: adi, adv75xx: Document #sound-dai-cells

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

When using audio from ADV7533 or ADV7535 and describing the audio card via simple-audio-card, the '#sound-dai-cells' needs to be passed.

Document the '#sound-dai-cells' property to fix the following dt-schema warning:

Thanks for doing that.

Quoted 3 lines

imx8mn-beacon-kit.dtb: hdmi@3d: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7533.yaml#

Quoted 22 lines
---
 .../devicetree/bindings/display/bridge/adi,adv7533.yaml        | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml +3 -1
index 987aa83c2649..e15ae072922e 100644
@@ -89,6 +89,9 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [ 1, 2, 3, 4 ]
 
+  '#sound-dai-cells':
+    const: 0
+
   ports:
     description:
       The ADV7533/35 has two video ports and one audio port.
--

2.34.1

#2 lore raw
In reply to Fabio Estevam
Quoted 21 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

When using audio from ADV7533 or ADV7535 and describing the audio card via simple-audio-card, the '#sound-dai-cells' needs to be passed.

Document the '#sound-dai-cells' property to fix the following dt-schema warning:

imx8mn-beacon-kit.dtb: hdmi@3d: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7533.yaml#

---
 .../devicetree/bindings/display/bridge/adi,adv7533.yaml        | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml +0 -0
index 987aa83c2649..e15ae072922e 100644

Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml properties: · line 91

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml +0 -0
@@ -89,6 +89,9 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [ 1, 2, 3, 4 ]
 

Then please also reference /schemas/sound/dai-common.yaml

Best regards,
Krzysztof