]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller
authorStefano Radaelli <stefano.r@variscite.com>
Fri, 5 Dec 2025 18:22:55 +0000 (19:22 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 30 Dec 2025 02:57:07 +0000 (10:57 +0800)
The Symphony carrier board exposes a capacitive touch interface through an
FFC/FPC connector. This interface is wired to an FT5x06 touch controller
on the I2C bus when using Variscite’s 7-inch capacitive touch display.

This patch adds the FT5x06 device node to describe the actual hardware
connection and enables touch functionality on the Symphony board

Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts

index 00bdd3b91fdca22b7eb196a80c27f0907ac90ad9..39bfbd0428a938303eaed4a835cd2bf1bc6baf7e 100644 (file)
        sda-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
+       /* Capacitive touch controller */
+       ft5x06_ts: touchscreen@38 {
+               compatible = "edt,edt-ft5206";
+               reg = <0x38>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_captouch>;
+               interrupt-parent = <&gpio2>;
+               interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+               touchscreen-size-x = <800>;
+               touchscreen-size-y = <480>;
+               touchscreen-inverted-x;
+               touchscreen-inverted-y;
+               wakeup-source;
+       };
+
        /* DS1337 RTC module */
        rtc@68 {
                compatible = "dallas,ds1337";
 };
 
 &iomuxc {
+       pinctrl_captouch: captouchgrp {
+               fsl,pins = <
+                       MX93_PAD_GPIO_IO25__GPIO2_IO25                  0x31e
+               >;
+       };
+
        pinctrl_fec: fecgrp {
                fsl,pins = <
                        MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0             0x57e