Skip to contentSkip to conversation

ARM: dts: rockchip: add devicetree node to veyron minnie

PATCH New Heiko Stübner 2 participants 2 messages Dec 2, 2015 – Dec 4, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: add devicetree node to veyron minnie

Minnie provides an elan,ekth3500 touchscreen over the display, so add the necessary node to enable it.

---
 arch/arm/boot/dts/rk3288-veyron-minnie.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/rk3288-veyron-minnie.dts +12 -0
index 85f0373..699beb0 100644
@@ -121,6 +121,18 @@
 	clock-frequency = <400000>;
 	i2c-scl-falling-time-ns = <50>;
 	i2c-scl-rising-time-ns = <300>;
+
+	touchscreen at 10 {
+		compatible = "elan,ekth3500";
+		reg = <0x10>;
+		interrupt-parent = <&gpio2>;
+		interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&touch_int &touch_rst>;
+		reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
+		vcc33-supply = <&vcc33_touch>;
+		vccio-supply = <&vcc33_touch>;
+	};
 };
 
 &rk808 {
Signature · 1 line
2.6.1
maintainer Applied
#1 lore raw

PATCH 1/1 ARM: dts: rockchip: add devicetree node to veyron minnie

Am Mittwoch, 2. Dezember 2015, 19:03:56 schrieb Heiko St?bner:

Quoted 4 lines

Minnie provides an elan,ekth3500 touchscreen over the display, so add the necessary node to enable it.

applied to my dts32 branch after doing a s/devicetree/touchscreen/ on the patch subject :-)

Quoted 27 lines
---
 arch/arm/boot/dts/rk3288-veyron-minnie.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/rk3288-veyron-minnie.dts index 85f0373..699beb0 100644

arch/arm/boot/dts/rk3288-veyron-minnie.dts +12 -0
@@ -121,6 +121,18 @@
 	clock-frequency = <400000>;
 	i2c-scl-falling-time-ns = <50>;
 	i2c-scl-rising-time-ns = <300>;
+
+	touchscreen at 10 {
+		compatible = "elan,ekth3500";
+		reg = <0x10>;
+		interrupt-parent = <&gpio2>;
+		interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&touch_int &touch_rst>;
+		reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
+		vcc33-supply = <&vcc33_touch>;
+		vccio-supply = <&vcc33_touch>;
+	};
 };
 
 &rk808 {