From: Peter Griffin <peter.griffin@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel@stlinux.com,
vinod.koul@intel.com, patrice.chotard@st.com, ohad@wizery.com,
bjorn.andersson@linaro.org
Cc: peter.griffin@linaro.org, lee.jones@linaro.org,
dmaengine@vger.kernel.org, devicetree@vger.kernel.org,
linux-remoteproc@vger.kernel.org,
Arnaud Pouliquen <arnaud.pouliquen@st.com>
Subject: [PATCH v7 16/16] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card
Date: Mon, 1 Aug 2016 18:10:53 +0100 [thread overview]
Message-ID: <1470071453-10730-17-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1470071453-10730-1-git-send-email-peter.griffin@linaro.org>
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: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stihxxx-b2120.dtsi | 45 ++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
index 722c63f..1f64bb6 100644
--- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
+++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
@@ -131,5 +131,50 @@
dvb-card = <STV0367_TDA18212_NIMA_1>;
};
};
+
+ sti_uni_player2: sti-uni-player@2 {
+ status = "okay";
+ };
+
+ sti_uni_player3: sti-uni-player@3 {
+ status = "okay";
+ };
+
+ sti_sasg_codec: sti-sasg-codec {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spdif_out>;
+ };
+
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "sti audio card";
+ status = "okay";
+
+ simple-audio-card,dai-link@0 {
+ /* DAC */
+ format = "i2s";
+ 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>;
+ };
+ };
+ };
};
};
--
1.9.1
prev parent reply other threads:[~2016-08-01 17:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-01 17:10 [PATCH v7 00/16] Add support for FDMA DMA controller and slim core rproc found on STi chipsets Peter Griffin
2016-08-01 17:10 ` [PATCH v7 01/16] remoteproc: st_slim_rproc: add a slimcore rproc driver Peter Griffin
2016-08-10 19:29 ` Bjorn Andersson
2016-08-25 16:41 ` Peter Griffin
2016-08-01 17:10 ` [PATCH v7 02/16] MAINTAINERS: Add st slim core rproc driver to STi section Peter Griffin
2016-08-01 17:10 ` [PATCH v7 03/16] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation Peter Griffin
2016-08-01 17:10 ` [PATCH v7 04/16] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Peter Griffin
2016-08-01 17:10 ` [PATCH v7 05/16] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Peter Griffin
2016-08-01 17:10 ` [PATCH v7 06/16] ARM: STi: DT: STiH407: Add FDMA driver dt nodes Peter Griffin
2016-08-01 17:10 ` [PATCH v7 07/16] MAINTAINERS: Add FDMA driver files to STi section Peter Griffin
2016-08-01 17:10 ` [PATCH v7 08/16] ARM: multi_v7_defconfig: Enable STi FDMA driver Peter Griffin
2016-08-01 17:10 ` [PATCH v7 09/16] ARM: multi_v7_defconfig: Enable STi and simple-card drivers Peter Griffin
2016-08-01 17:10 ` [PATCH v7 10/16] ARM: DT: STiH407: Add i2s_out pinctrl configuration Peter Griffin
2016-08-01 17:10 ` [PATCH v7 11/16] ARM: DT: STiH407: Add i2s_in " Peter Griffin
2016-08-01 17:10 ` [PATCH v7 12/16] ARM: DT: STiH407: Add spdif_out pinctrl config Peter Griffin
2016-08-01 17:10 ` [PATCH v7 13/16] ARM: STi: DT: STiH407: Add sti-sasg-codec dt node Peter Griffin
2016-08-01 17:10 ` [PATCH v7 14/16] ARM: STi: DT: STiH407: Add uniperif player dt nodes Peter Griffin
2016-08-01 17:10 ` [PATCH v7 15/16] ARM: STi: DT: STiH407: Add uniperif reader " Peter Griffin
2016-08-01 17:10 ` Peter Griffin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470071453-10730-17-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=arnaud.pouliquen@st.com \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=kernel@stlinux.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=patrice.chotard@st.com \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox