]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8186-tentacruel: Fix touchscreen model
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 12 Aug 2025 09:01:34 +0000 (17:01 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 07:09:26 +0000 (09:09 +0200)
The touchscreen controller used with the original Krabby design is the
Elan eKTH6918, which is in the same family as eKTH6915, but supporting
a larger screen size with more sense lines.

OTOH, the touchscreen controller that actually shipped on the Tentacruel
devices is the Elan eKTH6A12NAY. A compatible string was added for it
specifically because it has different power sequencing timings.

Fix up the touchscreen nodes for both these. This also includes adding
a previously missing reset line. Also add "no-reset-on-power-off" since
the power is always on, and putting it in reset would consume more
power.

Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20250812090135.3310374-1-wenst@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8186-corsola-krabby.dtsi
arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262144.dts

index 7c971198fa9561811c8cb6c9090ea1b09332955c..72a2a2bff0a93f41795ec5237fd25dec49c2d3df 100644 (file)
        i2c-scl-internal-delay-ns = <10000>;
 
        touchscreen: touchscreen@10 {
-               compatible = "hid-over-i2c";
+               compatible = "elan,ekth6915";
                reg = <0x10>;
                interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&touchscreen_pins>;
-               post-power-on-delay-ms = <10>;
-               hid-descr-addr = <0x0001>;
-               vdd-supply = <&pp3300_s3>;
+               reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;
+               vcc33-supply = <&pp3300_s3>;
+               no-reset-on-power-off;
        };
 };
 
index 26d3451a5e47c0a6f3f7e233a7f0b9383956c360..24d9ede63eaa21472db78bfcfceff9d09f20900d 100644 (file)
@@ -42,3 +42,7 @@
                CROS_STD_MAIN_KEYMAP
        >;
 };
+
+&touchscreen {
+       compatible = "elan,ekth6a12nay";
+};