summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Paunovic <royalnet026@gmail.com>2026-07-21 08:41:12 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-09 13:18:15 +0200
commitee6a964dca657dc23fc5c34e80a0133b80cce3ed (patch)
tree7fe65302b17a7f7812e101ac1863ff36acd47e92
parentae8a4b51df30e39c07704efd5500361d8138c4d0 (diff)
downloadlinux-next-ee6a964dca657dc23fc5c34e80a0133b80cce3ed.tar.gz
linux-next-ee6a964dca657dc23fc5c34e80a0133b80cce3ed.zip
dt-bindings: media: snps,dw-hdmi-rx: add #sound-dai-cells
The HDMI RX controller can expose the audio embedded in the incoming HDMI stream as an ALSA capture device. Document the #sound-dai-cells property so that a sound card can reference the HDMI RX audio DAI. Signed-off-by: Igor Paunovic <royalnet026@gmail.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml
index b7f6c87d0e06..b80660da1050 100644
--- a/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml
+++ b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml
@@ -78,6 +78,13 @@ properties:
The phandle of the syscon node for the Video Output GRF register
to enable EDID transfer through SDAIN and SCLIN.
+ "#sound-dai-cells":
+ const: 1
+ description:
+ The HDMI RX controller has two digital audio interfaces, one for
+ I2S and one for S/PDIF. The DAI cell selects the interface, 0 for
+ I2S and 1 for S/PDIF.
+
required:
- compatible
- reg
@@ -90,7 +97,10 @@ required:
- pinctrl-0
- hpd-gpios
-additionalProperties: false
+allOf:
+ - $ref: /schemas/sound/dai-common.yaml#
+
+unevaluatedProperties: false
examples:
- |
@@ -129,4 +139,5 @@ examples:
pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_5v_detection>;
pinctrl-names = "default";
hpd-gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+ #sound-dai-cells = <1>;
};