Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1410081
| From | Arnaud Pouliquen <arnaud.pouliquen@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card |
| Date | 2016-05-31 12:20 +0200 |
| Message-ID | <rEOWe-1nn-21@gated-at.bofh.it> (permalink) |
| References | <rCJxD-32M-5@gated-at.bofh.it> <rCJxE-32M-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 05/25/2016 06:06 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: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stihxxx-b2120.dtsi | 40 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> index 722c63f..5297f21 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";
> + };
enable sti-sasg-codec with spdif pinctrl
> +
> + 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>;
clean dai-tdm-slot-width, not used.
Regards,
Arnaud
> + 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>;
> + };
> + };
> + };
> };
> };
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/18] Add support for FDMA DMA controller and xp70 rproc found on STi chipsets Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:10 +0200
[PATCH v4 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:10 +0200
Re: [PATCH v4 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Arnaud Pouliquen <arnaud.pouliquen@st.com> - 2016-05-31 12:20 +0200
Re: [PATCH v4 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Peter Griffin <peter.griffin@linaro.org> - 2016-06-03 14:50 +0200
[PATCH v4 17/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:10 +0200
Re: [PATCH v4 17/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes Arnaud Pouliquen <arnaud.pouliquen@st.com> - 2016-05-31 11:20 +0200
Re: [PATCH v4 17/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes Peter Griffin <peter.griffin@linaro.org> - 2016-06-03 15:00 +0200
[PATCH v4 09/18] ARM: multi_v7_defconfig: Enable STi FDMA driver Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
[PATCH v4 04/18] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
Re: [PATCH v4 04/18] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation Rob Herring <robh@kernel.org> - 2016-05-27 17:50 +0200
[PATCH v4 08/18] MAINTAINERS: Add FDMA driver files to STi section. Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
[PATCH v4 06/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
Re: [PATCH v4 06/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-05-25 19:30 +0200
Re: [PATCH v4 06/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Vinod Koul <vinod.koul@intel.com> - 2016-06-06 06:50 +0200
Re: [PATCH v4 06/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Peter Griffin <peter.griffin@linaro.org> - 2016-06-06 19:40 +0200
[PATCH v4 10/18] ASoC: sti: Update DT example to match the driver code Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
Re: [PATCH v4 10/18] ASoC: sti: Update DT example to match the driver code Rob Herring <robh@kernel.org> - 2016-05-27 17:50 +0200
Re: [PATCH v4 10/18] ASoC: sti: Update DT example to match the driver code Mark Brown <broonie@kernel.org> - 2016-05-27 19:20 +0200
Re: [PATCH v4 10/18] ASoC: sti: Update DT example to match the driver code Peter Griffin <peter.griffin@linaro.org> - 2016-06-03 15:10 +0200
[PATCH v4 02/18] ARM: multi_v7_defconfig: enable st xp70 rproc driver. Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
[PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
Re: [PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Vinod Koul <vinod.koul@intel.com> - 2016-06-06 06:30 +0200
Re: [PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Peter Griffin <peter.griffin@linaro.org> - 2016-06-06 19:50 +0200
[PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver Peter Griffin <peter.griffin@linaro.org> - 2016-05-25 18:20 +0200
Re: [PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-05-25 19:20 +0200
Re: [PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver Peter Griffin <peter.griffin@linaro.org> - 2016-06-06 09:30 +0200
Re: [PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver Patrice Chotard <patrice.chotard@st.com> - 2016-05-27 15:20 +0200
Re: [PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver Peter Griffin <peter.griffin@linaro.org> - 2016-05-27 18:20 +0200
Re: [PATCH 00/18] Add support for FDMA DMA controller and xp70 rproc found on STi chipsets Vinod Koul <vinod.koul@intel.com> - 2016-06-06 07:00 +0200
Re: [PATCH 00/18] Add support for FDMA DMA controller and xp70 rproc found on STi chipsets Peter Griffin <peter.griffin@linaro.org> - 2016-06-06 17:10 +0200
csiph-web