]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mediatek: mt8183: willow: Support second source touchscreen
authorHsin-Te Yuan <yuanhsinte@chromium.org>
Fri, 13 Dec 2024 05:27:48 +0000 (05:27 +0000)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 19 Dec 2024 11:41:47 +0000 (12:41 +0100)
Some willow devices use second source touchscreen.

Fixes: f006bcf1c972 ("arm64: dts: mt8183: Add kukui-jacuzzi-willow board")
Signed-off-by: Hsin-Te Yuan <yuanhsinte@chromium.org>
Link: https://lore.kernel.org/r/20241213-touchscreen-v3-2-7c1f670913f9@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi

index 76d33540166f900c99c419c4f97ca0a56cf658f5..c942e461a177efe1e711a978c3bfb9f852f1b0ee 100644 (file)
@@ -6,6 +6,21 @@
 /dts-v1/;
 #include "mt8183-kukui-jacuzzi.dtsi"
 
+&i2c0 {
+       touchscreen@40 {
+               compatible = "hid-over-i2c";
+               reg = <0x40>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&touchscreen_pins>;
+
+               interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
+
+               post-power-on-delay-ms = <70>;
+               hid-descr-addr = <0x0001>;
+       };
+};
+
 &i2c2 {
        trackpad@2c {
                compatible = "hid-over-i2c";