]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver
authorHsin-Te Yuan <yuanhsinte@chromium.org>
Mon, 20 Jan 2025 03:35:29 +0000 (03:35 +0000)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 25 Feb 2025 08:57:35 +0000 (09:57 +0100)
After commit 2be404486c05 ("HID: i2c-hid-of: Add reset GPIO support to
i2c-hid-of"), the i2c-hid-of driver used by some mt8183 devices resets
the touchscreen without having enough post-reset delay. This makes those
touchscreen fail to get probed.

Switch to Elan touchscreen driver, which has enough post-reset delay.

Fixes: 2be404486c05 ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of")
Signed-off-by: Hsin-Te Yuan <yuanhsinte@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts

index 3935d83a047e0827b6feddceb3e4dcb4fc3407cc..7bc7c2687d6f6bcd47c4d151c1e72bebef6f98d5 100644 (file)
 };
 
 &touchscreen {
-       status = "okay";
+       compatible = "elan,ekth6a12nay";
 
-       compatible = "hid-over-i2c";
-       reg = <0x10>;
-       interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&touchscreen_pins>;
 
-       post-power-on-delay-ms = <10>;
-       hid-descr-addr = <0x0001>;
+       vcc33-supply = <&pp3300_alw>;
+       vccio-supply = <&pp1800_alw>;
 };
 
 &mt6358codec {
index 72852b7600383972d98d9b0edd40b6e99e34a85b..863f3e403de8577da41b17b144cdb17c578b2027 100644 (file)
 };
 
 &touchscreen {
-       status = "okay";
+       compatible = "elan,ekth6a12nay";
 
-       compatible = "hid-over-i2c";
-       reg = <0x10>;
-       interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&touchscreen_pins>;
 
-       post-power-on-delay-ms = <10>;
-       hid-descr-addr = <0x0001>;
+       vcc33-supply = <&pp3300_alw>;
 };
 
 &qca_wifi {
index 757d0afd14fb064fc1de4608e65eb1a561c4dfa6..e0a583ce4a0bb18095a77d23ab8409bb80898979 100644 (file)
 };
 
 &touchscreen {
-       status = "okay";
+       compatible = "elan,ekth6a12nay";
 
-       compatible = "hid-over-i2c";
-       reg = <0x10>;
-       interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&touchscreen_pins>;
 
-       post-power-on-delay-ms = <10>;
-       hid-descr-addr = <0x0001>;
+       vcc33-supply = <&pp3300_alw>;
 };
 
 
index 6641b087e7c5f3a957e43ac985137dfd84ac7878..7874c9a20e124c65ace3f90e2ec5bcaf59b69c40 100644 (file)
 };
 
 &touchscreen {
-       status = "okay";
+       compatible = "elan,ekth6a12nay";
 
-       compatible = "hid-over-i2c";
-       reg = <0x10>;
-       interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&touchscreen_pins>;
 
-       post-power-on-delay-ms = <10>;
-       hid-descr-addr = <0x0001>;
+       vcc33-supply = <&pp3300_alw>;
 };