Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1673982

[PATCH v3 3/3] ARM: dts: sunxi: Add R_LRADC support for A83T

From Ziping Chen <techping.chan@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v3 3/3] ARM: dts: sunxi: Add R_LRADC support for A83T
Date 2017-06-24 04:50 +0200
Message-ID <tVJj3-22E-5@gated-at.bofh.it> (permalink)
References <tVJj3-22E-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 3/3] ARM: dts: sunxi: Add R_LRADC support for A83T Ziping Chen <techping.chan@gmail.com> - 2017-06-24 04:50 +0200

csiph-web