ARM: dts: imx6: RDU2: enable RMI4 reduced reporting
authorLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2021 18:47:29 +0000 (19:47 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 30 Jan 2021 13:52:26 +0000 (21:52 +0800)
To use the reduced reporting mode the threshold values need to be set
explicitly. Configure the threshold to be less than 0.5% of the full
touchscreen range. This seems to be a good compromise between system
load and input accurancy.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 5632389..ba26e1b 100644 (file)
                        touchscreen-inverted-x;
                        touchscreen-swapped-x-y;
                        syna,sensor-type = <1>;
+                       syna,delta-x-threshold = <5>;
+                       syna,delta-y-threshold = <10>;
                };
 
                rmi4-f12@12 {