From 486d379cc3740f9f882b9035035a4d1616ec30f6 Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Fri, 4 Nov 2016 11:12:00 +0100 Subject: [PATCH] ARM: dts: STiH410-B2260: enable sound card Enable simple card with HDMI device. Signed-off-by: Arnaud Pouliquen --- arch/arm/boot/dts/stih410-b2260.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts index 511a1098741e..d50242eabae8 100644 --- a/arch/arm/boot/dts/stih410-b2260.dts +++ b/arch/arm/boot/dts/stih410-b2260.dts @@ -165,6 +165,9 @@ status = "okay"; }; + sti_uni_player0: sti-uni-player@8d80000 { + status = "okay"; + }; /* SSC11 to HDMI */ hdmiddc: i2c@9541000 { /* HDMI V1.3a supports Standard mode only */ @@ -174,6 +177,25 @@ 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 {