Message ID | xyBqcEct_640bCerHqCrArDkbVQv8Wz0UFHuRVdUN9zR_0uzUu16XxlZZxgJDwjjnKjZFrcr4MbklbI-oC4WisBQjUEXrK-WmMZxeTE1tX4=@protonmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm: dts: sun5i: q8-tablet: Add touchscreen support | expand |
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
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"; +};