linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Alexandre Courbot
	<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 6/7] arm64: tegra: Add the various audio devices for Tegra210 Smaug
Date: Tue, 16 Aug 2016 15:15:37 +0200	[thread overview]
Message-ID: <20160816131537.GD4133@ulmo.ba.sec> (raw)
In-Reply-To: <1470756082-19099-7-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2112 bytes --]

On Tue, Aug 09, 2016 at 04:21:21PM +0100, Jon Hunter wrote:
> The Tegra210 Smaug includes the Realtek RT5677 audio codec, Nuvoton
> NAU8825 headset codec and the Maxim MAX98357a audio amplifier. Add
> the nodes for these devices for the Tegra210 Smaug.
> 
> Signed-off-by: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 44 +++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> index 2c4672527d75..8cdd71f4d9ba 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> @@ -1562,6 +1562,45 @@
>  		};
>  	};
>  
> +	i2c@7000d100 {
> +		status = "okay";
> +		clock-frequency = <400000>;
> +
> +		nau8825@1a {
> +			compatible = "nuvoton,nau8825";
> +			reg = <0x1a>;
> +			interrupt-parent = <&gpio>;
> +			interrupts = <TEGRA_GPIO(E, 6) IRQ_TYPE_LEVEL_LOW>;

Any reason why this uses the interrupt-parent and interrupts properties,
whereas...

> +			clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_2>;
> +			clock-names = "mclk";
> +
> +			nuvoton,jkdet-enable;
> +			nuvoton,jkdet-polarity = <GPIO_ACTIVE_LOW>;
> +			nuvoton,vref-impedance = <2>;
> +			nuvoton,micbias-voltage = <6>;
> +			nuvoton,sar-threshold-num = <4>;
> +			nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
> +			nuvoton,sar-hysteresis = <1>;
> +			nuvoton,sar-voltage = <0>;
> +			nuvoton,sar-compare-time = <0>;
> +			nuvoton,sar-sampling-time = <0>;
> +			nuvoton,short-key-debounce = <2>;
> +			nuvoton,jack-insert-debounce = <7>;
> +			nuvoton,jack-eject-debounce = <7>;
> +			status = "okay";
> +		};
> +
> +		audio-codec@2d {
> +			compatible = "realtek,rt5677";
> +			reg = <0x2d>;
> +			interrupts-extended = <&gpio TEGRA_GPIO(X, 0) IRQ_TYPE_LEVEL_HIGH>;

... this uses interrupts-extended? I'd like these to be consistent, and
I'm slightly leaning towards the former. Any objections if I change that
while applying?

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-08-16 13:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 15:21 [PATCH 0/7] Tegra210 Smaug DT Updates Jon Hunter
     [not found] ` <1470756082-19099-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-09 15:21   ` [PATCH 1/7] arm64: tegra: Add AGIC node for Tegra210 Jon Hunter
     [not found]     ` <1470756082-19099-2-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:48       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 2/7] arm64: tegra: Add ADMA " Jon Hunter
     [not found]     ` <1470756082-19099-3-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:50       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 3/7] arm64: tegra: Add SOR power-domain " Jon Hunter
     [not found]     ` <1470756082-19099-4-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:52       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 4/7] arm64: tegra: Add ACONNECT, ADMA and AGIC nodes Tegra210 Smaug Jon Hunter
     [not found]     ` <1470756082-19099-5-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:53       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 5/7] arm64: tegra: Enable DPAUX for " Jon Hunter
     [not found]     ` <1470756082-19099-6-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:53       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 6/7] arm64: tegra: Add the various audio devices " Jon Hunter
     [not found]     ` <1470756082-19099-7-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-16 13:15       ` Thierry Reding [this message]
     [not found]         ` <20160816131537.GD4133-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-08-16 13:38           ` Jon Hunter
2016-08-24 14:56       ` Thierry Reding
2016-08-09 15:21   ` [PATCH 7/7] arm64: tegra: Enable XUSB controller on " Jon Hunter
     [not found]     ` <1470756082-19099-8-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-24 14:57       ` Thierry Reding

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=20160816131537.GD4133@ulmo.ba.sec \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@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).