Unverified Commit baa89885 authored by Hsin-Te Yuan's avatar Hsin-Te Yuan Committed by AngeloGioacchino Del Regno
Browse files

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



After commit 2be40448 ("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: 2be40448 ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of")
Signed-off-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent 76b35f59
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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 {
+2 −6
Original line number Diff line number Diff line
@@ -27,16 +27,12 @@ &cros_ec_pwm {
};

&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 {
+2 −6
Original line number Diff line number Diff line
@@ -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>;
};


+2 −6
Original line number Diff line number Diff line
@@ -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>;
};