From: Krzysztof Kozlowski <krzk@kernel.org> To: Randy Li <ayaka@soulik.info>, devicetree@vger.kernel.org Cc: mark.rutland@arm.com, linux@armlinux.org.uk, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Subject: Re: [PATCH 4/4] ARM: dts: samsung: add analog audio codec on TOPEET iTop 4412 Elite Date: Tue, 30 Aug 2016 09:35:58 +0200 [thread overview] Message-ID: <1dbacd78-6457-0877-91a3-2e1033d06d9b@kernel.org> (raw) In-Reply-To: <1472383269-3126-5-git-send-email-ayaka@soulik.info> On 08/28/2016 01:21 PM, Randy Li wrote: > Enable the WM8960 analog audio codec on TOPEET iTop 4412 Elite board. > > Signed-off-by: Randy Li <ayaka@soulik.info> > --- > arch/arm/boot/dts/exynos4412-itop-elite.dts | 77 +++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts > index 2d11b9a..e1cda54 100644 > --- a/arch/arm/boot/dts/exynos4412-itop-elite.dts > +++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts > @@ -15,6 +15,7 @@ > > /dts-v1/; > #include "exynos4412-itop-scp-core.dtsi" > +#include <dt-bindings/sound/samsung-i2s.h> Reverse the includes and squash the patch with #2. Best regards, Krzysztof > > / { > model = "TOPEET iTop 4412 Elite board based on Exynos4412"; > @@ -75,6 +76,54 @@ > gpios = <&gpx2 0 GPIO_ACTIVE_LOW>; > }; > }; > + > + sound { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "wm-sound"; > + > + assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>, > + <&clock_audss EXYNOS_MOUT_I2S>, > + <&clock_audss EXYNOS_DOUT_SRP>, > + <&clock_audss EXYNOS_DOUT_AUD_BUS>; > + assigned-clock-parents = <&clock CLK_FOUT_EPLL>, > + <&clock_audss EXYNOS_MOUT_AUDSS>; > + assigned-clock-rates = <0>, > + <0>, > + <112896000>, > + <11289600>; > + > + simple-audio-card,format = "i2s"; > + simple-audio-card,bitclock-master = <&link0_codec>; > + simple-audio-card,frame-master = <&link0_codec>; > + > + simple-audio-card,widgets = > + "Microphone", "Mic Jack", > + "Line", "Line In", > + "Line", "Line Out", > + "Speaker", "Speaker", > + "Headphone", "Headphone Jack"; > + simple-audio-card,routing = > + "Headphone Jack", "HP_L", > + "Headphone Jack", "HP_R", > + "Speaker", "SPK_LP", > + "Speaker", "SPK_LN", > + "Speaker", "SPK_RP", > + "Speaker", "SPK_RN", > + "LINPUT1", "Mic Jack", > + "LINPUT3", "Mic Jack", > + "RINPUT1", "Mic Jack", > + "RINPUT2", "Mic Jack"; > + > + simple-audio-card,cpu { > + sound-dai = <&i2s0 0>; > + }; > + > + link0_codec: simple-audio-card,codec { > + sound-dai = <&codec>; > + clocks = <&i2s0 CLK_I2S_CDCLK>; > + system-clock-frequency = <11289600>; > + }; > + }; > > beep { > compatible = "pwm-beeper"; > @@ -143,6 +192,34 @@ > status = "okay"; > }; > > +&i2c_4 { > + samsung,i2c-sda-delay = <100>; > + samsung,i2c-slave-addr = <0x10>; > + samsung,i2c-max-bus-freq = <100000>; > + pinctrl-0 = <&i2c4_bus>; > + pinctrl-names = "default"; > + status = "okay"; > + > + codec: wm8960@1a { > + compatible = "wlf,wm8960"; > + reg = <0x1a>; > + clocks = <&pmu_system_controller 0>; > + clock-names = "MCLK1"; > + wlf,shared-lrclk; > + #sound-dai-cells = <0>; > + }; > +}; > + > +&i2s0 { > + pinctrl-0 = <&i2s0_bus>; > + pinctrl-names = "default"; > + status = "okay"; > + clocks = <&clock_audss EXYNOS_I2S_BUS>, > + <&clock_audss EXYNOS_DOUT_AUD_BUS>, > + <&clock_audss EXYNOS_SCLK_I2S>; > + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; > +}; > + > &pwm { > pinctrl-0 = <&pwm1_out>; > pinctrl-names = "default"; >
WARNING: multiple messages have this Message-ID (diff)
From: krzk@kernel.org (Krzysztof Kozlowski) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] ARM: dts: samsung: add analog audio codec on TOPEET iTop 4412 Elite Date: Tue, 30 Aug 2016 09:35:58 +0200 [thread overview] Message-ID: <1dbacd78-6457-0877-91a3-2e1033d06d9b@kernel.org> (raw) In-Reply-To: <1472383269-3126-5-git-send-email-ayaka@soulik.info> On 08/28/2016 01:21 PM, Randy Li wrote: > Enable the WM8960 analog audio codec on TOPEET iTop 4412 Elite board. > > Signed-off-by: Randy Li <ayaka@soulik.info> > --- > arch/arm/boot/dts/exynos4412-itop-elite.dts | 77 +++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts > index 2d11b9a..e1cda54 100644 > --- a/arch/arm/boot/dts/exynos4412-itop-elite.dts > +++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts > @@ -15,6 +15,7 @@ > > /dts-v1/; > #include "exynos4412-itop-scp-core.dtsi" > +#include <dt-bindings/sound/samsung-i2s.h> Reverse the includes and squash the patch with #2. Best regards, Krzysztof > > / { > model = "TOPEET iTop 4412 Elite board based on Exynos4412"; > @@ -75,6 +76,54 @@ > gpios = <&gpx2 0 GPIO_ACTIVE_LOW>; > }; > }; > + > + sound { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "wm-sound"; > + > + assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>, > + <&clock_audss EXYNOS_MOUT_I2S>, > + <&clock_audss EXYNOS_DOUT_SRP>, > + <&clock_audss EXYNOS_DOUT_AUD_BUS>; > + assigned-clock-parents = <&clock CLK_FOUT_EPLL>, > + <&clock_audss EXYNOS_MOUT_AUDSS>; > + assigned-clock-rates = <0>, > + <0>, > + <112896000>, > + <11289600>; > + > + simple-audio-card,format = "i2s"; > + simple-audio-card,bitclock-master = <&link0_codec>; > + simple-audio-card,frame-master = <&link0_codec>; > + > + simple-audio-card,widgets = > + "Microphone", "Mic Jack", > + "Line", "Line In", > + "Line", "Line Out", > + "Speaker", "Speaker", > + "Headphone", "Headphone Jack"; > + simple-audio-card,routing = > + "Headphone Jack", "HP_L", > + "Headphone Jack", "HP_R", > + "Speaker", "SPK_LP", > + "Speaker", "SPK_LN", > + "Speaker", "SPK_RP", > + "Speaker", "SPK_RN", > + "LINPUT1", "Mic Jack", > + "LINPUT3", "Mic Jack", > + "RINPUT1", "Mic Jack", > + "RINPUT2", "Mic Jack"; > + > + simple-audio-card,cpu { > + sound-dai = <&i2s0 0>; > + }; > + > + link0_codec: simple-audio-card,codec { > + sound-dai = <&codec>; > + clocks = <&i2s0 CLK_I2S_CDCLK>; > + system-clock-frequency = <11289600>; > + }; > + }; > > beep { > compatible = "pwm-beeper"; > @@ -143,6 +192,34 @@ > status = "okay"; > }; > > +&i2c_4 { > + samsung,i2c-sda-delay = <100>; > + samsung,i2c-slave-addr = <0x10>; > + samsung,i2c-max-bus-freq = <100000>; > + pinctrl-0 = <&i2c4_bus>; > + pinctrl-names = "default"; > + status = "okay"; > + > + codec: wm8960 at 1a { > + compatible = "wlf,wm8960"; > + reg = <0x1a>; > + clocks = <&pmu_system_controller 0>; > + clock-names = "MCLK1"; > + wlf,shared-lrclk; > + #sound-dai-cells = <0>; > + }; > +}; > + > +&i2s0 { > + pinctrl-0 = <&i2s0_bus>; > + pinctrl-names = "default"; > + status = "okay"; > + clocks = <&clock_audss EXYNOS_I2S_BUS>, > + <&clock_audss EXYNOS_DOUT_AUD_BUS>, > + <&clock_audss EXYNOS_SCLK_I2S>; > + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; > +}; > + > &pwm { > pinctrl-0 = <&pwm1_out>; > pinctrl-names = "default"; >
next prev parent reply other threads:[~2016-08-30 7:36 UTC|newest] Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-21 20:04 [PATCH 0/2] Add a new board for exynos 4412 Randy Li 2016-08-21 20:04 ` Randy Li 2016-08-21 20:04 ` Randy Li 2016-08-21 20:04 ` [PATCH 1/2] ARM: dts: Add TOPEET itop core board SCP package version Randy Li 2016-08-21 20:04 ` Randy Li 2016-08-22 6:50 ` Marek Szyprowski 2016-08-22 6:50 ` Marek Szyprowski 2016-08-22 8:28 ` Ayaka 2016-08-22 8:28 ` Ayaka 2016-08-22 14:45 ` Chanwoo Choi 2016-08-22 14:45 ` Chanwoo Choi 2016-08-22 14:49 ` ayaka 2016-08-22 14:49 ` ayaka 2016-08-22 14:18 ` [PATCH 0/2 v2] Add a new board TOPEET iTOP for exynos 4412 Randy Li 2016-08-22 14:18 ` Randy Li 2016-08-22 14:18 ` Randy Li 2016-08-22 14:18 ` [PATCH 1/2] ARM: dts: Add TOPEET itop core board SCP package version Randy Li 2016-08-22 14:18 ` Randy Li 2016-08-22 14:18 ` [PATCH 2/2] ARM: dts: add TOPEET itop elite based board Randy Li 2016-08-22 14:18 ` Randy Li 2016-08-22 18:59 ` kbuild test robot 2016-08-22 18:59 ` kbuild test robot 2016-08-22 18:59 ` kbuild test robot 2016-08-23 18:14 ` Rob Herring 2016-08-23 18:14 ` Rob Herring 2016-08-23 18:36 ` ayaka 2016-08-23 18:36 ` ayaka 2016-08-23 18:36 ` ayaka 2016-08-23 22:38 ` Rob Herring 2016-08-23 22:38 ` Rob Herring 2016-08-23 22:38 ` Rob Herring 2016-08-24 8:29 ` Ayaka 2016-08-24 8:29 ` Ayaka 2016-08-24 8:29 ` Ayaka 2016-08-28 11:21 ` [PATCH 0/4 v3] Add a new board TOPEET iTOP for exynos 4412 Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-28 11:21 ` [PATCH 1/4] ARM: dts: Add TOPEET itop core board SCP package version Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-28 21:13 ` Rask Ingemann Lambertsen 2016-08-28 21:13 ` Rask Ingemann Lambertsen 2016-08-28 21:13 ` Rask Ingemann Lambertsen 2016-08-30 7:16 ` Krzysztof Kozlowski 2016-08-30 7:16 ` Krzysztof Kozlowski 2016-08-31 12:58 ` [RESEND PATCH 1/3] " Randy Li 2016-08-31 12:58 ` Randy Li 2016-08-31 18:42 ` Krzysztof Kozlowski 2016-08-31 18:42 ` Krzysztof Kozlowski 2016-08-31 18:42 ` Krzysztof Kozlowski 2016-08-31 19:49 ` Ayaka 2016-08-31 19:49 ` Ayaka 2016-08-31 19:49 ` Ayaka 2016-09-01 13:03 ` Bartlomiej Zolnierkiewicz 2016-09-01 13:03 ` Bartlomiej Zolnierkiewicz 2016-09-01 13:03 ` Bartlomiej Zolnierkiewicz 2016-09-01 16:12 ` Krzysztof Kozlowski 2016-09-01 16:12 ` Krzysztof Kozlowski 2016-09-01 16:12 ` Krzysztof Kozlowski 2016-08-28 11:21 ` [PATCH 2/4] ARM: dts: add TOPEET itop elite based board Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-30 7:32 ` Krzysztof Kozlowski 2016-08-30 7:32 ` Krzysztof Kozlowski 2016-08-31 12:59 ` [RESEND PATCH 2/3] " Randy Li 2016-08-31 12:59 ` Randy Li 2016-09-01 13:07 ` Bartlomiej Zolnierkiewicz 2016-09-01 13:07 ` Bartlomiej Zolnierkiewicz 2016-08-28 11:21 ` [PATCH 3/4] ARM: dts: add fimc support in exynos4412 TOPEET iTop Elite board Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-30 7:33 ` Krzysztof Kozlowski 2016-08-30 7:33 ` Krzysztof Kozlowski 2016-08-31 13:00 ` [PATCH 3/3 v3] devicetree: bindings: Add vendor prefix for Topeet Randy Li 2016-08-31 13:00 ` Randy Li 2016-08-31 13:00 ` Randy Li 2016-08-28 11:21 ` [PATCH 4/4] ARM: dts: samsung: add analog audio codec on TOPEET iTop 4412 Elite Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-28 11:21 ` Randy Li 2016-08-30 7:35 ` Krzysztof Kozlowski [this message] 2016-08-30 7:35 ` Krzysztof Kozlowski 2016-08-30 7:04 ` [PATCH 0/4 v3] Add a new board TOPEET iTOP for exynos 4412 Krzysztof Kozlowski 2016-08-30 7:04 ` Krzysztof Kozlowski 2016-08-30 7:04 ` Krzysztof Kozlowski 2016-08-21 20:04 ` [PATCH 2/2] ARM: dts: add TOPEET itop elite based board Randy Li 2016-08-21 20:04 ` Randy Li 2016-08-21 20:04 ` Randy Li 2016-08-21 20:12 ` [PATCH 2/2 v2] " Randy Li 2016-08-21 20:12 ` Randy Li
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=1dbacd78-6457-0877-91a3-2e1033d06d9b@kernel.org \ --to=krzk@kernel.org \ --cc=ayaka@soulik.info \ --cc=devicetree@vger.kernel.org \ --cc=kgene@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=mark.rutland@arm.com \ --cc=robh@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.