[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

touchscreen .dts variants for debian's 3.16 kernel? (Was: Re: [linux-sunxi] Backporting simplefb support to 3.16 kernel)



would it be possible to add touchscreen .dts variants to the debian
kernel source? the touchscreen variant adds:
+		rtp: rtp@01c25000 {
+			allwinner,ts-attached;
+		};

yes, it is ugly, and afair Hans de Goede proposed a different solution
on linux-sunxi (device tree overlays?) i didn't have time to understand,
yet.

But it would make it simple to support the A13‑LCD7‑TS, A13‑LCD10TS,
LCD‑OLinuXino‑7TS, LCD-OLinuXino-10TS touchscreens. But maybe I miss
something obvious here?

to make it more clear:

arch/arm/boot/dts$ diff -u sun7i-a20-olinuxino-lime2.dts sun7i-a20-olinuxino-lime2-ts.dts
--- sun7i-a20-olinuxino-lime2.dts	2015-02-26 08:58:23.835048514 +0100
+++ sun7i-a20-olinuxino-lime2-ts.dts	2015-02-26 08:58:23.831048451 +0100
@@ -107,6 +107,10 @@
 			};
 		};
 
+		rtp: rtp@01c25000 {
+			allwinner,ts-attached;
+		};
+
 		uart0: serial@01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;
arch/arm/boot/dts$ diff -u sun7i-a20-olinuxino-micro.dts sun7i-a20-olinuxino-micro-ts.dts
--- sun7i-a20-olinuxino-micro.dts	2015-02-26 08:58:23.835048514 +0100
+++ sun7i-a20-olinuxino-micro-ts.dts	2015-03-06 17:06:33.375603380 +0100
@@ -103,6 +103,10 @@
 			};
 		};
 
+		rtp: rtp@01c25000 {
+			allwinner,ts-attached;
+		};
+
 		uart0: serial@01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;


Reply to: