Input: ili210x - implement pressure reporting for ILI251x
authorMarek Vasut <marex@denx.de>
Mon, 4 Jan 2021 01:43:04 +0000 (17:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 4 Jan 2021 02:03:39 +0000 (18:03 -0800)
commit60159e9e7bc7e528c103b6b6d47dfd83af29669c
tree4e17220d5ef3d19c6e2cc3a62675ac60794dd3f7
parenta3a9060ecad030e2c7903b2b258383d2c716b56c
Input: ili210x - implement pressure reporting for ILI251x

The ILI251x seems to report pressure information in the 5th byte of
each per-finger touch data element. On the available hardware, this
information has the values ranging from 0x0 to 0xa, which is also
matching the downstream example code. Report pressure information
on the ILI251x.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20201224071238.160098-1-marex@denx.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c