Input: imx6ul_tsc - add support for sample averaging
authorGuy Shapiro <guy.shapiro@mobi-wize.com>
Mon, 28 Nov 2016 04:40:39 +0000 (20:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Nov 2016 04:45:14 +0000 (20:45 -0800)
commit031bfed2aba8a727fe5a6c2169d5e4e0751a1bf0
tree79a362173ee0e737015938b4fedd8724b080cf56
parentae3b4469dbcd3b842a9fd20940946e4d092d8731
Input: imx6ul_tsc - add support for sample averaging

The i.MX6UL internal touchscreen controller contains an option to
average upon samples. This feature reduces noise from the produced
touch locations.

This patch adds sample averaging support to the imx6ul_tsc device
driver.

Signed-off-by: Guy Shapiro <guy.shapiro@mobi-wize.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt
drivers/input/touchscreen/imx6ul_tsc.c