mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver
After commit2be404486c
("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:
parent
76b35f59bb
commit
baa898850f
4 changed files with 9 additions and 24 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue