arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver

After commit 2be404486c ("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: 2be404486c ("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>
This commit is contained in:
Hsin-Te Yuan 2025-01-20 03:35:29 +00:00 committed by AngeloGioacchino Del Regno
parent 76b35f59bb
commit baa898850f
No known key found for this signature in database
GPG key ID: 9A3604CFAD978478
4 changed files with 9 additions and 24 deletions

View file

@ -14,16 +14,13 @@
};
&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 {

View file

@ -27,16 +27,12 @@
};
&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 {

View file

@ -14,16 +14,12 @@
};
&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>;
};

View file

@ -14,16 +14,12 @@
};
&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>;
};