Skip to contentSkip to conversation

ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board

PATCH In review Yannick Fertré 2 participants 2 messages Oct 4, 2019

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

PATCH 1/1 ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board

Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board.

---
 arch/arm/boot/dts/stm32mp157c-dk2.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/stm32mp157c-dk2.dts +13 -0
index 20ea601..d44a7c6 100644
@@ -61,6 +61,19 @@
 	};
 };
 
+&i2c1 {
+	touchscreen@38 {
+		compatible = "focaltech,ft6236";
+		reg = <0x38>;
+		interrupts = <2 2>;
+		interrupt-parent = <&gpiof>;
+		interrupt-controller;
+		touchscreen-size-x = <480>;
+		touchscreen-size-y = <800>;
+		status = "okay";
+	};
+};
+
 &ltdc {
 	status = "okay";
 
Signature · 1 line
2.7.4
#1 lore raw

Hi yannick

Quoted 22 lines · Yannick Fertré

Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board.

---
  arch/arm/boot/dts/stm32mp157c-dk2.dts | 13 +++++++++++++
  1 file changed, 13 insertions(+)
arch/arm/boot/dts/stm32mp157c-dk2.dts +6 -0
index 20ea601..d44a7c6 100644
@@ -61,6 +61,19 @@
  	};
  };
 
+&i2c1 {
+	touchscreen@38 {
+		compatible = "focaltech,ft6236";
+		reg = <0x38>;
+		interrupts = <2 2>;
+		interrupt-parent = <&gpiof>;

arch/arm/boot/dts/stm32mp157c-dk2.dts line 79

Quoted 10 lines
arch/arm/boot/dts/stm32mp157c-dk2.dts +7 -0
+		interrupt-controller;
+		touchscreen-size-x = <480>;
+		touchscreen-size-y = <800>;
+		status = "okay";
+	};
+};
+
  &ltdc {
  	status = "okay";
 

For the next time, please don't forget to add "PATCH-v2" as it is a second version of this patch.

Applied on stm32-next.

Thanks.
Alex