Adds a simple-card sound node for HDMI audio, the associated
hdmi-codec node, and sound-dai-cells propeties to the DAI nodes.

Signed-off-by: Jyri Sarha <[email protected]>
---
 arch/arm/boot/dts/omap5-uevm.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index f625a87..42d625b 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -561,6 +561,24 @@
                        };
                };
        };
+
+       sound@0 {
+               compatible = "simple-audio-card";
+
+               simple-audio-card,cpu {
+                       sound-dai = <&hdmi>;
+               };
+
+               simple-audio-card,codec {
+                       sound-dai = <&hdmi_audio>;
+               };
+       };
+
+       hdmi_audio: hdmi_audio@0 {
+               #sound-dai-cells = <0>;
+               compatible = "linux,hdmi-audio";
+               status = "okay";
+       };
 };
 
 &dss {
@@ -568,6 +586,7 @@
 };
 
 &hdmi {
+       #sound-dai-cells = <0>;
        status = "ok";
        vdda-supply = <&ldo4_reg>;
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to