[PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support
Yassine Oudjana
y.oudjana at protonmail.com
Thu Dec 31 03:20:46 EST 2020
From: Yassine Oudjana <y.oudjana at protonmail.com>
Date: Wed, 2 Dec 2020 11:33:25 +0400
Add support for the Silead touchscreen found on the Q8 tablet.
Signed-off-by: Yassine Oudjana <y.oudjana at protonmail.com>
---
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
index f9fc1c8b60b8..39fd9ec38300 100644
--- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
+++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
@@ -78,3 +78,13 @@ tcon0_out_lcd: endpoint at 0 {
remote-endpoint = <&panel_input>;
};
};
+
+&touchscreen {
+ compatible = "silead,gsl1680";
+ touchscreen-size-x = <480>;
+ touchscreen-size-y = <800>;
+ touchscreen-inverted-y;
+ touchscreen-swapped-x-y;
+ silead,max-fingers = <5>;
+ status = "okay";
+};
--
2.30.0
More information about the linux-arm-kernel
mailing list