linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support
@ 2020-12-31  8:20 Yassine Oudjana
  2021-01-08  9:11 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Yassine Oudjana @ 2020-12-31  8:20 UTC (permalink / raw)
  To: mripard, wens, linux-arm-kernel

From: Yassine Oudjana <y.oudjana@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@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@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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support
  2020-12-31  8:20 [PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support Yassine Oudjana
@ 2021-01-08  9:11 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2021-01-08  9:11 UTC (permalink / raw)
  To: Yassine Oudjana; +Cc: Hans de Goede, wens, linux-arm-kernel


Hi,

Adding Hans in Cc

On Thu, Dec 31, 2020 at 08:20:46AM +0000, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana@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@protonmail.com>

I think I recall that not all Q8 tablets had the same touchscreen
controller.

Do all the A13 tablets feature the silead touchscreen?

Maxime

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-08  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-31  8:20 [PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support Yassine Oudjana
2021-01-08  9:11 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).