The 13.8-inch Surface Laptop 7 has an ITCH MSHW0468 touchscreen
connected to QUP1 SE0 at I2C address 0x34. Describe the controller,
interrupt, reset GPIO, and HID descriptor register so i2c-hid can
enumerate the touchscreen.
The HID descriptor is located at register 0x0000 rather than the default
0x0020.
Tested-by: fQwQf <redacted>
Signed-off-by: fQwQf <redacted>
---
.../dts/qcom/x1e80100-microsoft-romulus13.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts b/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts
index eb7580dd9..76d143943 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus13.dts
@@ -11,3 +11,18 @@ / {
model = "Microsoft Surface Laptop 7 (13.8 inch)";
compatible = "microsoft,romulus13", "qcom,x1e80100";
};
+
+&i2c8 {
+ clock-frequency = <400000>;
+
+ status = "okay";
+
+ touchscreen@34 {
+ compatible = "hid-over-i2c";
+ reg = <0x34>;
+ hid-descr-addr = <0x0000>;
+
+ interrupts-extended = <&tlmm 38 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
+ };
+};--
2.53.0