public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T
@ 2017-06-18 13:00 Ziping Chen
  2017-06-18 13:00 ` [PATCH 2/3] ARM: dts: sunxi: add MMC " Ziping Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ziping Chen @ 2017-06-18 13:00 UTC (permalink / raw)
  To: maxime.ripard, wens, robh+dt, mark.rutland
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi,
	Ziping Chen

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

The Allwinner A83T's R_LRADC is similiar with the
Allwinner A10's LRADC, they can use the same driver.

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..ecc75bf6780e 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,sun4i-a10-lradc-keys";
+			reg = <0x01f03c00 0x100>;
+			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-20  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-18 13:00 [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T Ziping Chen
2017-06-18 13:00 ` [PATCH 2/3] ARM: dts: sunxi: add MMC " Ziping Chen
2017-06-20  9:49   ` Maxime Ripard
2017-06-18 13:00 ` [PATCH 3/3] ARM: dts: sunxi: Add support for Sinlinx SinA83T board Ziping Chen
2017-06-20  8:57 ` [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox