From: Jonathan Cameron <jic23@kernel.org>
To: Zhiyong Tao <zhiyong.tao@mediatek.com>
Cc: <robh+dt@kernel.org>, <knaack.h@gmx.de>, <lars@metafoo.de>,
<pmeerw@pmeerw.net>, <srv_heupstream@mediatek.com>,
<liguo.zhang@mediatek.com>, <yingjoe.chen@mediatek.com>,
<sean.wang@mediatek.com>, <yt.shen@mediatek.com>,
<matthias.bgg@gmail.com>, <s.hauer@pengutronix.de>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-iio@vger.kernel.org>, <linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH 3/3] arm64: dts: mt2712: Add auxadc device node.
Date: Sun, 24 Sep 2017 16:47:05 +0100 [thread overview]
Message-ID: <20170924164705.78cbb856@archlinux> (raw)
In-Reply-To: <1505957212-13402-4-git-send-email-zhiyong.tao@mediatek.com>
On Thu, 21 Sep 2017 09:26:52 +0800
Zhiyong Tao <zhiyong.tao@mediatek.com> wrote:
> Add auxadc device node for MT2712.
>
> Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
I've applied the IIO patches to make this work, so assume this will get
picked up in due course.
Jonathan
> ---
> This patch dependents on "Mediatek MT2712 clock and scpsys support"[1].
> Please accept this patch together with [1].
> [1]http://lists.infradead.org/pipermail/linux-mediatek/2017-September/010461.html
> ---
> arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 4 ++++
> arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 9 +++++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts
> index 14163b9..76cbf4a 100644
> --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts
> @@ -28,6 +28,10 @@
> };
> };
>
> +&auxadc {
> + status = "okay";
> +};
> +
> &uart0 {
> status = "okay";
> };
> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> index 3232e4e..bf65c92 100644
> --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> @@ -225,6 +225,15 @@
> (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_HIGH)>;
> };
>
> + auxadc: adc@11001000 {
> + compatible = "mediatek,mt2712-auxadc";
> + reg = <0 0x11001000 0 0x1000>;
> + clocks = <&pericfg CLK_PERI_AUXADC>;
> + clock-names = "main";
> + #io-channel-cells = <1>;
> + status = "disabled";
> + };
> +
> uart0: serial@11002000 {
> compatible = "mediatek,mt2712-uart",
> "mediatek,mt6577-uart";
next prev parent reply other threads:[~2017-09-24 15:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 1:26 [PATCH 0/3] AUXADC: Mediatek auxadc driver for mt2712 Zhiyong Tao
2017-09-21 1:26 ` [PATCH 1/3] dt-bindings: adc: mt2712: add binding document Zhiyong Tao
2017-09-24 15:45 ` Jonathan Cameron
2017-09-21 1:26 ` [PATCH 2/3] iio: adc: mt2712: Add compatible node for mt2712 Zhiyong Tao
2017-09-24 15:46 ` Jonathan Cameron
2017-09-21 1:26 ` [PATCH 3/3] arm64: dts: mt2712: Add auxadc device node Zhiyong Tao
2017-09-24 15:47 ` Jonathan Cameron [this message]
2017-10-13 15:11 ` Matthias Brugger
2017-10-16 15:09 ` Matthias Brugger
2018-03-19 1:51 ` Matthias Brugger
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=20170924164705.78cbb856@archlinux \
--to=jic23@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=liguo.zhang@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sean.wang@mediatek.com \
--cc=srv_heupstream@mediatek.com \
--cc=yingjoe.chen@mediatek.com \
--cc=yt.shen@mediatek.com \
--cc=zhiyong.tao@mediatek.com \
/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).