]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx8mm-kontron: Add Sitronix touch controller in DL devicetree
authorOualid Derouiche <oualid.derouiche@kontron.de>
Mon, 21 Jul 2025 10:05:38 +0000 (12:05 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 03:04:19 +0000 (11:04 +0800)
Some new panels have the Sitronix touch instead of Goodix. Support them
by adding a node for the new controller. The bootloader needs to detect
the correct controller and enable/disable the nodes accordingly. To make
this easier add labels for both nodes.

Signed-off-by: Oualid Derouiche <oualid.derouiche@kontron.de>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-kontron-dl.dtso

index 1db27731b581cefd7ecc9a9a43844965d94a31f4..57d0739fcce32dee6fc8c668d976a60197b64bc3 100644 (file)
        #size-cells = <0>;
        status = "okay";
 
-       touchscreen@5d {
+       gt911: touchscreen@5d {
                compatible = "goodix,gt928";
                reg = <0x5d>;
                pinctrl-names = "default";
                reset-gpios = <&gpio3 23 0>;
                irq-gpios = <&gpio3 22 0>;
        };
+
+       st1633: touchscreen@55 {
+               compatible = "sitronix,st1633";
+               reg = <0x55>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_touch>;
+               interrupts = <22 8>;
+               interrupt-parent = <&gpio3>;
+               gpios = <&gpio3 22 0>;
+               status = "disabled";
+       };
 };
 
 &lvds {