ARM: dts: STiHxxx-b2120: Add support of HDMI audio
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Tue, 4 Oct 2016 16:11:00 +0000 (18:11 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 20 Oct 2016 13:48:45 +0000 (15:48 +0200)
Add new dai link in sound card to support HDMI output

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stihxxx-b2120.dtsi

index ed2b7a99ecffc4739cd81100494f34c2e387288c..313c1f8686d46a18211741e3b3b396affdf59a85 100644 (file)
                        };
                };
 
+               sti_uni_player0: sti-uni-player@8d80000 {
+                       status = "okay";
+               };
+
                sti_uni_player2: sti-uni-player@8d82000 {
                        status = "okay";
                };
                        status = "okay";
 
                        simple-audio-card,dai-link@0 {
+                               /* HDMI */
+                               format = "i2s";
+                               mclk-fs = <128>;
+                               cpu {
+                                       sound-dai = <&sti_uni_player0>;
+                               };
+
+                               codec {
+                                       sound-dai = <&sti_hdmi>;
+                               };
+                       };
+                       simple-audio-card,dai-link@1 {
                                /* DAC */
                                format = "i2s";
                                mclk-fs = <256>;
+                               frame-inversion = <1>;
                                cpu {
                                        sound-dai = <&sti_uni_player2>;
                                };
                                        sound-dai = <&sti_sasg_codec 1>;
                                };
                        };
-                       simple-audio-card,dai-link@1 {
+                       simple-audio-card,dai-link@2 {
                                /* SPDIF */
                                format = "left_j";
                                mclk-fs = <128>;