mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shawn Guo <shawn.guo@linaro.org>
To: Xiubo Li <Li.Xiubo@freescale.com>
Cc: <linux-arm-kernel@lists.infradead.org>, <robh+dt@kernel.org>,
	<pawel.moll@arm.com>, <mark.rutland@arm.com>,
	<ijc+devicetree@hellion.org.uk>, <galak@codeaurora.org>,
	<linux@arm.linux.org.uk>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/4] ARM: dts: Enable SGTL5000 codec based audio driver node for VF610 TOWER.
Date: Wed, 19 Feb 2014 15:13:51 +0800	[thread overview]
Message-ID: <20140219071349.GH3010@S2101-09.ap.freescale.net> (raw)
In-Reply-To: <1392788323-6092-4-git-send-email-Li.Xiubo@freescale.com>

On Wed, Feb 19, 2014 at 01:38:42PM +0800, Xiubo Li wrote:
> This patch adds and enables SGTL5000 codec support.
> 
> Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
> ---
>  arch/arm/boot/dts/vf610-twr.dts | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
> index 8217854..29790c9 100644
> --- a/arch/arm/boot/dts/vf610-twr.dts
> +++ b/arch/arm/boot/dts/vf610-twr.dts
> @@ -34,6 +34,17 @@
>  		};
>  	};
>  
> +	regulators {
> +		compatible = "simple-bus";

		#address-cells = <1>;
		#size-cells = <0>;

> +
> +		reg_3p3v: 3p3v {

		reg_3p3v: regulator@0 {

> +			compatible = "regulator-fixed";

			reg = <0>;

Shawn

> +			regulator-name = "3P3V";
> +			regulator-min-microvolt = <3300000>;
> +			regulator-max-microvolt = <3300000>;
> +			regulator-always-on;
> +		};
> +	};
>  };
>  
>  &dspi0 {
> @@ -72,6 +83,14 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_i2c0>;
>  	status = "okay";
> +
> +	codec: sgtl5000@0a {
> +	       compatible = "fsl,sgtl5000";
> +	       reg = <0x0a>;
> +	       VDDA-supply = <&reg_3p3v>;
> +	       VDDIO-supply = <&reg_3p3v>;
> +	       clocks = <&clks VF610_CLK_SAI2>;
> +       };
>  };
>  
>  &iomuxc {
> -- 
> 1.8.4
> 
> 


  reply	other threads:[~2014-02-19  7:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19  5:38 [PATCH 0/4] Add audio card support for Vybird-TWR board Xiubo Li
2014-02-19  5:38 ` [PATCH 1/4] ARM: dts: Add Freescale SAI ALSA SoC Digital Audio Interface node for VF610 Xiubo Li
2014-02-19  7:07   ` Shawn Guo
2014-02-19  7:26     ` Li.Xiubo
2014-02-19  5:38 ` [PATCH 2/4] ARM: dts: Enable SAI ALSA SoC DAI device for Vybrid VF610 TOWER board Xiubo Li
2014-02-19  7:06   ` Shawn Guo
2014-02-19  7:25     ` Li.Xiubo
2014-02-19  7:11   ` Shawn Guo
2014-02-19  7:28     ` Li.Xiubo
2014-02-19  5:38 ` [PATCH 3/4] ARM: dts: Enable SGTL5000 codec based audio driver node for VF610 TOWER Xiubo Li
2014-02-19  7:13   ` Shawn Guo [this message]
2014-02-19  5:38 ` [PATCH 4/4] ARM: dts: Add simple-card support for Vybird-TWR board Xiubo 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=20140219071349.GH3010@S2101-09.ap.freescale.net \
    --to=shawn.guo@linaro.org \
    --cc=Li.Xiubo@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@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: 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

all inboxes | Powered by JetHome®