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@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 v3 3/3] ARM: dts: sunxi: Add R_LRADC support for A83T
Date: Sat, 24 Jun 2017 10:45:15 +0800	[thread overview]
Message-ID: <20170624024515.4669-4-techping.chan@gmail.com> (raw)
In-Reply-To: <20170624024515.4669-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-24  2:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-24  2:45 [PATCH v3 0/3] Allwinner A83T R_LRADC support Ziping Chen
2017-06-24  2:45 ` [PATCH v3 1/3] input: sun4i-a10-lradc-keys: Add support for A83T Ziping Chen
     [not found]   ` <20170624024515.4669-2-techping.chan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-26 17:13     ` Maxime Ripard
     [not found]       ` <20170626171342.pdr7xdiaki4i5bdt-ZC1Zs529Oq4@public.gmane.org>
2019-03-26 20:26         ` 'Ondřej Jirman' via linux-sunxi
2017-06-24  2:45 ` [PATCH v3 2/3] dt-bindings: input: Add R_LRADC " Ziping Chen
     [not found]   ` <20170624024515.4669-3-techping.chan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-26 17:15     ` Maxime Ripard
     [not found]       ` <20170626171524.cqfyasetpsfr6xfg-ZC1Zs529Oq4@public.gmane.org>
2017-06-27 15:18         ` Ziping Chen
     [not found]           ` <CAAST=9x+fS41tznuJ9hQ-cQxecKN751=61YkhEt31DvpeqeEcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-27 15:29             ` icenowy-h8G6r0blFSE
     [not found]               ` <24845446a80e3542d90a1111a6141415-h8G6r0blFSE@public.gmane.org>
2017-06-27 17:36                 ` Maxime Ripard
2017-06-27 18:15                   ` [linux-sunxi] " Alexandre Belloni
2017-06-29  4:45                   ` Ziping Chen
     [not found]                     ` <CAAST=9yWEO7qdZvZJPDKhYnqSwT_fJLcyN_f3eGrLQ15EMvSzQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-29  7:53                       ` [linux-sunxi] " Maxime Ripard
2017-06-29 12:19                         ` Ziping Chen
2017-06-27 17:31             ` Maxime Ripard
2017-06-29  4:35               ` Ziping Chen
     [not found]                 ` <CAAST=9wKRA=EiU6U85N7k9mtnbkfDwa-N5DyfkF88zYk5-EDiQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-29  7:52                   ` Maxime Ripard
2017-06-24  2:45 ` 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=20170624024515.4669-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@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).