devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Markus Reichl <m.reichl-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org>
Cc: Inha Song <ideal.song-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Kukjin Kim <kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Sylwester Nawrocki
	<s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Chanwoo Choi <cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [alsa-devel] [PATCH v2 RESEND] ARM: dts: Support audio on Exynos5422-odroidxu3 using simple-audio-card
Date: Fri, 10 Apr 2015 14:48:13 +0530	[thread overview]
Message-ID: <CANAwSgS98n0kX8oBUk5Ehk1fwU4DA_DNuAqztp3LrOBcmrtAZw@mail.gmail.com> (raw)
In-Reply-To: <552791A4.40203-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org>

Hi Inha,

Tested-by: Anand Moon <linux.amoon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

-Anand Moon

On 10 April 2015 at 14:32, Markus Reichl <m.reichl-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org> wrote:
> Hi Inha,
>
> I have tested this on XU3 (Headphone output).
>
> Tested-by: Markus Reichl <m.reichl-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org>
>
> Best Regards
> --
> Markus Reichl
>
> Am 10.04.2015 um 09:32 schrieb Inha Song:
>> Add MAX98090 audio codec, I2S interface and the sound nodes to support
>> audio on Exynos5422 SoC Based Odroid-XU3 board. Now we can support audio
>> in Odroid-XU3 board using simple-audio-card DT binding.
>>
>> Signed-off-by: Inha Song <ideal.song-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>> Reviewed-by: Sylwester Nawrocki <s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>> ---
>>  arch/arm/boot/dts/exynos5420.dtsi          |  9 +++++
>>  arch/arm/boot/dts/exynos5422-odroidxu3.dts | 59 ++++++++++++++++++++++++++++++
>>  2 files changed, 68 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
>> index ac6f860..73886d6 100644
>> --- a/arch/arm/boot/dts/exynos5420.dtsi
>> +++ b/arch/arm/boot/dts/exynos5420.dtsi
>> @@ -415,6 +415,9 @@
>>                       <&clock_audss EXYNOS_I2S_BUS>,
>>                       <&clock_audss EXYNOS_SCLK_I2S>;
>>               clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
>> +             #clock-cells = <1>;
>> +             clock-output-names = "i2s_cdclk0";
>> +             #sound-dai-cells = <1>;
>>               samsung,idma-addr = <0x03000000>;
>>               pinctrl-names = "default";
>>               pinctrl-0 = <&i2s0_bus>;
>> @@ -429,6 +432,9 @@
>>               dma-names = "tx", "rx";
>>               clocks = <&clock CLK_I2S1>, <&clock CLK_SCLK_I2S1>;
>>               clock-names = "iis", "i2s_opclk0";
>> +             #clock-cells = <1>;
>> +             clock-output-names = "i2s_cdclk1";
>> +             #sound-dai-cells = <1>;
>>               pinctrl-names = "default";
>>               pinctrl-0 = <&i2s1_bus>;
>>               status = "disabled";
>> @@ -442,6 +448,9 @@
>>               dma-names = "tx", "rx";
>>               clocks = <&clock CLK_I2S2>, <&clock CLK_SCLK_I2S2>;
>>               clock-names = "iis", "i2s_opclk0";
>> +             #clock-cells = <1>;
>> +             clock-output-names = "i2s_cdclk2";
>> +             #sound-dai-cells = <1>;
>>               pinctrl-names = "default";
>>               pinctrl-0 = <&i2s2_bus>;
>>               status = "disabled";
>> diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> index edc25cf..c038f0d 100644
>> --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> @@ -11,6 +11,7 @@
>>  */
>>
>>  /dts-v1/;
>> +#include <dt-bindings/sound/samsung-i2s.h>
>>  #include "exynos5800.dtsi"
>>
>>  / {
>> @@ -285,6 +286,64 @@
>>       rtc@101E0000 {
>>               status = "okay";
>>       };
>> +
>> +     sound: sound {
>> +             compatible = "simple-audio-card";
>> +
>> +             simple-audio-card,name = "Odroid-XU3";
>> +             simple-audio-card,widgets =
>> +                     "Headphone", "Headphone Jack",
>> +                     "Speakers", "Speakers";
>> +             simple-audio-card,routing =
>> +                     "Headphone Jack", "HPL",
>> +                     "Headphone Jack", "HPR",
>> +                     "Headphone Jack", "MICBIAS",
>> +                     "IN1", "Headphone Jack",
>> +                     "Speakers", "SPKL",
>> +                     "Speakers", "SPKR";
>> +
>> +             simple-audio-card,format = "i2s";
>> +             simple-audio-card,bitclock-master = <&link0_codec>;
>> +             simple-audio-card,frame-master = <&link0_codec>;
>> +
>> +             simple-audio-card,cpu {
>> +                     sound-dai = <&i2s0 0>;
>> +                     system-clock-frequency = <19200000>;
>> +             };
>> +
>> +             link0_codec: simple-audio-card,codec {
>> +                     sound-dai = <&max98090>;
>> +                     clocks = <&i2s0 CLK_I2S_CDCLK>;
>> +             };
>> +     };
>> +};
>> +
>> +&clock_audss {
>> +     assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
>> +                     <&clock_audss EXYNOS_MOUT_I2S>,
>> +                     <&clock_audss EXYNOS_DOUT_AUD_BUS>;
>> +     assigned-clock-parents = <&clock CLK_FIN_PLL>,
>> +                     <&clock_audss EXYNOS_MOUT_AUDSS>;
>> +     assigned-clock-rates = <0>,
>> +                     <0>,
>> +                     <19200000>;
>> +};
>> +
>> +&hsi2c_5 {
>> +     status = "okay";
>> +     max98090: max98090@10 {
>> +             compatible = "maxim,max98090";
>> +             reg = <0x10>;
>> +             interrupt-parent = <&gpx3>;
>> +             interrupts = <2 0>;
>> +             clocks = <&i2s0 CLK_I2S_CDCLK>;
>> +             clock-names = "mclk";
>> +             #sound-dai-cells = <0>;
>> +     };
>> +};
>> +
>> +&i2s0 {
>> +     status = "okay";
>>  };
>>
>>  &hdmi {
>>
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-04-10  9:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  7:32 [alsa-devel] [PATCH v2 RESEND] ARM: dts: Support audio on Exynos5422-odroidxu3 using simple-audio-card Inha Song
     [not found] ` <1428651178-18186-1-git-send-email-ideal.song-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-04-10  9:02   ` Markus Reichl
     [not found]     ` <552791A4.40203-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org>
2015-04-10  9:18       ` Anand Moon [this message]
2015-05-06  1:47         ` Inha Song
2015-05-06 13:23           ` Javier Martinez Canillas
2015-05-06 23:49             ` Krzysztof Kozlowski

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=CANAwSgS98n0kX8oBUk5Ehk1fwU4DA_DNuAqztp3LrOBcmrtAZw@mail.gmail.com \
    --to=linux.amoon-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=ideal.song-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=m.reichl-SRyzfwRm/0rPTwkrwQOX7A@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.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: 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;
as well as URLs for NNTP newsgroup(s).