summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stihxxx-b2120.dtsi
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@st.com>2016-10-04 19:11:00 +0300
committerPatrice Chotard <patrice.chotard@st.com>2016-10-20 16:48:45 +0300
commit800b1388300a0c4d150aee920c7b024bdca9a890 (patch)
tree2a80c759fccd9162f3c29b5e97f3b1f637919489 /arch/arm/boot/dts/stihxxx-b2120.dtsi
parent24595472ff96e13d06798087bf4f377a2c164702 (diff)
downloadlinux-800b1388300a0c4d150aee920c7b024bdca9a890.tar.xz
ARM: dts: STiHxxx-b2120: Add support of HDMI audio
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>
Diffstat (limited to 'arch/arm/boot/dts/stihxxx-b2120.dtsi')
-rw-r--r--arch/arm/boot/dts/stihxxx-b2120.dtsi19
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
index ed2b7a99ecff..313c1f8686d4 100644
--- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
+++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
@@ -135,6 +135,10 @@
};
};
+ sti_uni_player0: sti-uni-player@8d80000 {
+ status = "okay";
+ };
+
sti_uni_player2: sti-uni-player@8d82000 {
status = "okay";
};
@@ -155,9 +159,22 @@
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>;
};
@@ -166,7 +183,7 @@
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>;