All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: display: adi, adv75xx: Document #sound-dai-cells
@ 2023-12-06  9:36 ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2023-12-06  9:36 UTC (permalink / raw)
  To: Laurent.pinchart
  Cc: devicetree, conor+dt, Fabio Estevam, dri-devel, robh+dt,
	krzysztof.kozlowski+dt, aford173

From: Fabio Estevam <festevam@denx.de>

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#
	
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Adam Ford <aford173@gmail.com>
---
Changes since v1:
- Also pass '$ref: /schemas/sound/dai-common.yaml#' (Krzysztof).

 .../devicetree/bindings/display/bridge/adi,adv7533.yaml     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
index 987aa83c2649..df20a3c9c744 100644
--- a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
@@ -9,6 +9,9 @@ title: Analog Devices ADV7533/35 HDMI Encoders
 maintainers:
   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 
+allOf:
+  - $ref: /schemas/sound/dai-common.yaml#
+
 description: |
   The ADV7533 and ADV7535 are HDMI audio and video transmitters
   compatible with HDMI 1.4 and DVI 1.0. They support color space
@@ -89,6 +92,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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2] dt-bindings: display: adi,adv75xx: Document #sound-dai-cells
@ 2023-12-06  9:36 ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2023-12-06  9:36 UTC (permalink / raw)
  To: Laurent.pinchart
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, dri-devel,
	aford173, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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#
	
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Adam Ford <aford173@gmail.com>
---
Changes since v1:
- Also pass '$ref: /schemas/sound/dai-common.yaml#' (Krzysztof).

 .../devicetree/bindings/display/bridge/adi,adv7533.yaml     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
index 987aa83c2649..df20a3c9c744 100644
--- a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
@@ -9,6 +9,9 @@ title: Analog Devices ADV7533/35 HDMI Encoders
 maintainers:
   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 
+allOf:
+  - $ref: /schemas/sound/dai-common.yaml#
+
 description: |
   The ADV7533 and ADV7535 are HDMI audio and video transmitters
   compatible with HDMI 1.4 and DVI 1.0. They support color space
@@ -89,6 +92,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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: display: adi,adv75xx: Document #sound-dai-cells
  2023-12-06  9:36 ` [PATCH v2] dt-bindings: display: adi,adv75xx: " Fabio Estevam
@ 2023-12-06 22:09   ` Rob Herring
  -1 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-12-06 22:09 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: devicetree, conor+dt, Fabio Estevam, dri-devel, robh+dt,
	Laurent.pinchart, krzysztof.kozlowski+dt, aford173


On Wed, 06 Dec 2023 06:36:43 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> Acked-by: Adam Ford <aford173@gmail.com>
> ---
> Changes since v1:
> - Also pass '$ref: /schemas/sound/dai-common.yaml#' (Krzysztof).
> 
>  .../devicetree/bindings/display/bridge/adi,adv7533.yaml     | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: display: adi,adv75xx: Document #sound-dai-cells
@ 2023-12-06 22:09   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-12-06 22:09 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: dri-devel, robh+dt, Fabio Estevam, Laurent.pinchart,
	krzysztof.kozlowski+dt, conor+dt, devicetree, aford173


On Wed, 06 Dec 2023 06:36:43 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> Acked-by: Adam Ford <aford173@gmail.com>
> ---
> Changes since v1:
> - Also pass '$ref: /schemas/sound/dai-common.yaml#' (Krzysztof).
> 
>  .../devicetree/bindings/display/bridge/adi,adv7533.yaml     | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-06 22:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06  9:36 [PATCH v2] dt-bindings: display: adi, adv75xx: Document #sound-dai-cells Fabio Estevam
2023-12-06  9:36 ` [PATCH v2] dt-bindings: display: adi,adv75xx: " Fabio Estevam
2023-12-06 22:09 ` Rob Herring
2023-12-06 22:09   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.