[PATCH 3/3] arm64: dts: mediatek: mt8188-geralt: Add the detachable base touchpad
From: Michał Kopeć
Date: Sat Oct 03 2026 - 15:32:54 EST
The touchpad of the detachable keyboard base is a HID over I2C device
at address 0x56 on I2C4, with its interrupt on GPIO148. Describe it as
the ChromeOS device tree does.
Signed-off-by: Michał Kopeć <michal@nozomi.space>
---
.../arm64/boot/dts/mediatek/mt8188-geralt.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
index d8edbde6ee4ac..3bc15fd132149 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
@@ -494,6 +494,16 @@ &i2c4 {
pinctrl-0 = <&i2c4_pins>;
clock-frequency = <400000>;
status = "okay";
+
+ touchpad@56 {
+ compatible = "hid-over-i2c";
+ reg = <0x56>;
+ hid-descr-addr = <0x0001>;
+ interrupts-extended = <&pio 148 IRQ_TYPE_LEVEL_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hid_int>;
+ wakeup-source;
+ };
};
&i2c5 {
@@ -959,6 +969,14 @@ pins-gsc-ap-int-odl {
};
};
+ hid_int: hid-int-pins {
+ pins-ec-ap-hid-int-odl {
+ pinmux = <PINMUX_GPIO148__FUNC_B_GPIO148>;
+ input-enable;
+ bias-disable;
+ };
+ };
+
i2c0_pins: i2c0-pins {
pins-bus {
pinmux = <PINMUX_GPIO56__FUNC_B1_SDA0>,
--
2.55.0