From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v9 16/19] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card References: <1473081421-16555-1-git-send-email-peter.griffin@linaro.org> <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> From: Patrice Chotard Message-ID: <27eec291-dde4-846a-995a-fab6a2c76110@st.com> Date: Wed, 14 Sep 2016 14:01:46 +0200 MIME-Version: 1.0 In-Reply-To: <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit To: Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, vinod.koul@intel.com, dan.j.williams@intel.com, airlied@linux.ie, kraxel@redhat.com, ohad@wizery.com, bjorn.andersson@linaro.org Cc: lee.jones@linaro.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-remoteproc@vger.kernel.org, virtualization@lists.linux-foundation.org, Arnaud Pouliquen List-ID: Hi Peter On 09/05/2016 03:16 PM, Peter Griffin wrote: > 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 > Signed-off-by: Peter Griffin > --- > 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..4939501 100644 > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi > @@ -131,5 +131,50 @@ > dvb-card = ; > }; > }; > + > + sti_uni_player2: sti-uni-player@8d82000 { > + status = "okay"; > + }; > + > + sti_uni_player3: sti-uni-player@8d85000 { > + 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>; > + }; > + }; > + }; > }; > }; > Applied for STi next Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762173AbcINMCk (ORCPT ); Wed, 14 Sep 2016 08:02:40 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:41143 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756302AbcINMCg (ORCPT ); Wed, 14 Sep 2016 08:02:36 -0400 Subject: Re: [PATCH v9 16/19] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card To: Peter Griffin , , , , , , , , , References: <1473081421-16555-1-git-send-email-peter.griffin@linaro.org> <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> CC: , , , , , , Arnaud Pouliquen From: Patrice Chotard Message-ID: <27eec291-dde4-846a-995a-fab6a2c76110@st.com> Date: Wed, 14 Sep 2016 14:01:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.1.66] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-14_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter On 09/05/2016 03:16 PM, Peter Griffin wrote: > 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 > Signed-off-by: Peter Griffin > --- > 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..4939501 100644 > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi > @@ -131,5 +131,50 @@ > dvb-card = ; > }; > }; > + > + sti_uni_player2: sti-uni-player@8d82000 { > + status = "okay"; > + }; > + > + sti_uni_player3: sti-uni-player@8d85000 { > + 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>; > + }; > + }; > + }; > }; > }; > Applied for STi next Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrice.chotard@st.com (Patrice Chotard) Date: Wed, 14 Sep 2016 14:01:46 +0200 Subject: [PATCH v9 16/19] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card In-Reply-To: <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> References: <1473081421-16555-1-git-send-email-peter.griffin@linaro.org> <1473081421-16555-17-git-send-email-peter.griffin@linaro.org> Message-ID: <27eec291-dde4-846a-995a-fab6a2c76110@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Peter On 09/05/2016 03:16 PM, Peter Griffin wrote: > 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 > Signed-off-by: Peter Griffin > --- > 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..4939501 100644 > --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi > +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi > @@ -131,5 +131,50 @@ > dvb-card = ; > }; > }; > + > + sti_uni_player2: sti-uni-player at 8d82000 { > + status = "okay"; > + }; > + > + sti_uni_player3: sti-uni-player at 8d85000 { > + 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 at 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 at 1 { > + /* SPDIF */ > + format = "left_j"; > + mclk-fs = <128>; > + cpu { > + sound-dai = <&sti_uni_player3>; > + }; > + > + codec { > + sound-dai = <&sti_sasg_codec 0>; > + }; > + }; > + }; > }; > }; > Applied for STi next Thanks