diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2016-04-14 12:48:53 +0100 |
---|---|---|
committer | Peter Griffin <peter.griffin@linaro.org> | 2016-05-25 16:52:24 +0100 |
commit | 2e3c4eddc0a3bd3b38c59bff5325b57a922bd376 (patch) | |
tree | b9c548a68ab7f441857b24b0e7da3f70f6581650 | |
parent | 1c855382a4ccd7bcb3b9943733ae063db345b974 (diff) |
ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio cardv4.6-rc3-fdma-v4-with-asoc-rebase
This patch enables the uniperif players 2 & 3 for b2120 boards
and also adds the "simple-audio-card" device node to interconnect
the SoC sound device and the codec.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/stihxxx-b2120.dtsi | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 722c63f47a71..5297f216e314 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -131,5 +131,45 @@ dvb-card = <STV0367_TDA18212_NIMA_1>; }; }; + + sti_uni_player2: sti-uni-player@2 { + status = "okay"; + }; + + sti_uni_player3: sti-uni-player@3 { + status = "okay"; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "sti audio card"; + status = "okay"; + + simple-audio-card,dai-link@0 { + /* DAC */ + format = "i2s"; + dai-tdm-slot-width = <32>; + mclk-fs = <256>; + cpu { + sound-dai = <&sti_uni_player2>; + }; + + codec { + sound-dai = <&sti_sasg_codec 1>; + }; + }; + simple-audio-card,dai-link@1 { + /* SPDIF */ + format = "left_j"; + mclk-fs = <128>; + cpu { + sound-dai = <&sti_uni_player3>; + }; + + codec { + sound-dai = <&sti_sasg_codec 0>; + }; + }; + }; }; }; |