ARM: dts: STiH410-B2260: enable sound card
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Fri, 4 Nov 2016 10:12:00 +0000 (11:12 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 10 Nov 2016 08:52:48 +0000 (09:52 +0100)
Enable simple card with HDMI device.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
arch/arm/boot/dts/stih410-b2260.dts

index 511a109..d50242e 100644 (file)
                        status = "okay";
                };
 
+               sti_uni_player0: sti-uni-player@8d80000 {
+                       status = "okay";
+               };
                /* SSC11 to HDMI */
                hdmiddc: i2c@9541000 {
                        /* HDMI V1.3a supports Standard mode only */
                        status = "okay";
                };
 
+               sound {
+                       compatible = "simple-audio-card";
+                       simple-audio-card,name = "STI-B2260";
+                       status = "okay";
+
+                       simple-audio-card,dai-link@0 {
+                               /* DAC */
+                               format = "i2s";
+                               mclk-fs = <128>;
+                               cpu {
+                                       sound-dai = <&sti_uni_player0>;
+                               };
+
+                               codec {
+                                       sound-dai = <&sti_hdmi>;
+                               };
+                       };
+               };
+
                miphy28lp_phy: miphy28lp@9b22000 {
 
                        phy_port1: port@9b2a000 {