[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170618130018.10684-1-techping.chan@gmail.com>
Date: Sun, 18 Jun 2017 21:00:16 +0800
From: Ziping Chen <techping.chan@...il.com>
To: maxime.ripard@...e-electrons.com, wens@...e.org,
robh+dt@...nel.org, mark.rutland@....com
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com,
Ziping Chen <techping.chan@...il.com>
Subject: [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T
From: Ziping Chen <techping.chan@...il.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@...il.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@...03c00 {
+ compatible = "allwinner,sun4i-a10-lradc-keys";
+ reg = <0x01f03c00 0x100>;
+ interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
};
};
--
2.11.0
Powered by blists - more mailing lists