devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ziping Chen <techping.chan@gmail.com>
To: maxime.ripard@free-electrons.com, wens@csie.org,
	robh+dt@kernel.org, mark.rutland@arm.com
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
	Ziping Chen <techping.chan@gmail.com>
Subject: [PATCH v2 3/3] ARM: dts: sunxi: add R_LRADC support for A83T
Date: Tue, 20 Jun 2017 21:44:45 +0800	[thread overview]
Message-ID: <20170620134445.23097-4-techping.chan@gmail.com> (raw)
In-Reply-To: <20170620134445.23097-1-techping.chan@gmail.com>

From: Ziping Chen <techping.chan@gmail.com>

Allwinner A83T SoC has a low res adc like the one
in Allwinner A10 SoC. Now the driver has been
modified to support it.

Add support for it.

Signed-off-by: Ziping Chen <techping.chan@gmail.com>
---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
index 8923ba625b76..ccee83cc0610 100644
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
@@ -301,5 +301,12 @@
 			interrupt-controller;
 			#interrupt-cells = <3>;
 		};
+
+		r_lradc: lradc@01f03c00 {
+			compatible = "allwinner,sun8i-a83t-r-lradc-keys";
+			reg = <0x01f03c00 0x100>;
+			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.11.0

      parent reply	other threads:[~2017-06-20 13:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 13:44 [PATCH v2 0/3] Allwinner A83T R_LRADC support Ziping Chen
2017-06-20 13:44 ` [PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T Ziping Chen
     [not found]   ` <20170620134445.23097-2-techping.chan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-20 15:39     ` Ziping Chen
2017-06-21 20:35     ` Maxime Ripard
     [not found]       ` <20170621203502.ng7auh6vfmibobwo-ZC1Zs529Oq4@public.gmane.org>
2017-06-22  4:50         ` Ziping Chen
     [not found]           ` <CAAST=9zK8CjpEwy1rSjwnaSrpoQor-NkjWcX8kFSM-o=qP8OWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-23 14:46             ` Maxime Ripard
     [not found]               ` <20170623144622.zn6ecwl2dwkc63w2-ZC1Zs529Oq4@public.gmane.org>
2017-06-23 15:12                 ` Ziping Chen
2017-06-22  5:44         ` Ziping Chen
2017-06-20 13:44 ` [PATCH v2 2/3] dt-bindings: input: Add DT bindings documentation for Allwinner A83T R_LRADC Ziping Chen
     [not found]   ` <20170620134445.23097-3-techping.chan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-23 21:51     ` Rob Herring
2017-06-24  2:12       ` Ziping Chen
2017-06-20 13:44 ` Ziping Chen [this message]

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=20170620134445.23097-4-techping.chan@gmail.com \
    --to=techping.chan@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.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).