diff mbox

[2/2] ARM: dts: sun6i: Add resistive touchscreen controller node to dtsi

Message ID 1422110028-30270-3-git-send-email-wens@csie.org (mailing list archive)
State New, archived
Headers show

Commit Message

Chen-Yu Tsai Jan. 24, 2015, 2:33 p.m. UTC
Now that we support the sun6i variant of the touchscreen controller,
add the device node to the dtsi so we can use it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Maxime Ripard Jan. 24, 2015, 2:37 p.m. UTC | #1
On Sat, Jan 24, 2015 at 10:33:48PM +0800, Chen-Yu Tsai wrote:
> Now that we support the sun6i variant of the touchscreen controller,
> add the device node to the dtsi so we can use it.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks,

Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 188f59e558bc..ec70454b0add 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -664,6 +664,13 @@ 
 			reg = <0x01c20ca0 0x20>;
 		};
 
+		rtp: rtp@01c25000 {
+			compatible = "allwinner,sun6i-a31-ts";
+			reg = <0x01c25000 0x100>;
+			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+			#thermal-sensor-cells = <0>;
+		};
+
 		uart0: serial@01c28000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x01c28000 0x400>;