[RFC PATCH v2 4/7] arm64: dts: mediatek: mt8173-elm-hana: Add G2touch G7500 touchscreen
Chen-Yu Tsai
wenst at chromium.org
Thu Nov 9 02:06:01 PST 2023
This introduces yet another second-source touchscreen found on Hana.
This is a G2touch G7500 touchscreen, which is compatible with HID over
I2C.
Add a device node for it. In keeping with the new scheme for second
source components, mark it as "failed-needs-probe-touchscreen".
Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
---
arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi
index 052109b0fa3b..d3f1277ac9b2 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi
@@ -31,6 +31,15 @@ touchscreen3: touchscreen at 20 {
interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
status = "fail-needs-probe-touchscreen";
};
+
+ touchscreen4: touchscreen at 40 {
+ compatible = "hid-over-i2c";
+ reg = <0x40>;
+ hid-descr-addr = <0x0001>;
+ interrupt-parent = <&pio>;
+ interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
+ status = "fail-needs-probe-touchscreen";
+ };
};
&i2c4 {
--
2.42.0.869.gea05f2083d-goog
More information about the Linux-mediatek
mailing list