* [PATCH 1/2] dt-bindings: input: hid-over-i2c: allow reset GPIO
[not found] <20260907054339.12409-1-fqwqf@fqwqf.xyz>
@ 2026-09-07 5:43 ` fQwQf
2026-09-07 6:07 ` Krzysztof Kozlowski
2026-09-07 5:44 ` [PATCH 2/2] arm64: dts: qcom: microsoft-romulus13: enable touchscreen fQwQf
1 sibling, 1 reply; 4+ messages in thread
From: fQwQf @ 2026-09-07 5:43 UTC (permalink / raw)
To: devicetree
Cc: linux-arm-msm, linux-input, linux-kernel, robh, krzk+dt,
conor+dt, andersson, konradybcio, bentiss, jikos
The OF implementation of the HID-over-I2C driver already obtains an
optional reset GPIO and asserts it around power sequencing. Document the
property so device trees can describe that existing capability.
Signed-off-by: fQwQf <fqwqf@fqwqf.xyz>
---
Documentation/devicetree/bindings/input/hid-over-i2c.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.yaml b/Documentation/devicetree/bindings/input/hid-over-i2c.yaml
index 138caad96..bff43f6b7 100644
--- a/Documentation/devicetree/bindings/input/hid-over-i2c.yaml
+++ b/Documentation/devicetree/bindings/input/hid-over-i2c.yaml
@@ -44,6 +44,10 @@ properties:
description: HID descriptor address
$ref: /schemas/types.yaml#/definitions/uint32
+ reset-gpios:
+ description: GPIO used to reset the HID device
+ maxItems: 1
+
panel: true
post-power-on-delay-ms:
--
2.53.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 2/2] arm64: dts: qcom: microsoft-romulus13: enable touchscreen
[not found] <20260907054339.12409-1-fqwqf@fqwqf.xyz>
2026-09-07 5:43 ` [PATCH 1/2] dt-bindings: input: hid-over-i2c: allow reset GPIO fQwQf
@ 2026-09-07 5:44 ` fQwQf
2026-09-07 6:04 ` Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: fQwQf @ 2026-09-07 5:44 UTC (permalink / raw)
To: devicetree
Cc: linux-arm-msm, linux-input, linux-kernel, robh, krzk+dt,
conor+dt, andersson, konradybcio, bentiss, jikos
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 <fqwqf@fqwqf.xyz>
Signed-off-by: fQwQf <fqwqf@fqwqf.xyz>
---
.../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
^ permalink raw reply [flat|nested] 4+ messages in thread