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

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

index e8241587949b2bc238ffa85f8fa6b6ca78b1d6f5..561770fcf69e66341c080687e2efaa6e98c550a8 100644 (file)
        chassis-type = "laptop";
        compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183";
 };
+
+&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>;
+       };
+};