OSDN Git Service

Input: resistive-adc-touch - add support for z1 and z2 channels
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 25 May 2021 18:55:57 +0000 (11:55 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 May 2021 20:05:28 +0000 (13:05 -0700)
commitfb082cd59afa7fbd3a610e9835050675040b1b99
tree6d1b54198ee5f8d7f2baf494ffae41759349cf4a
parent241a952f90aab8ce1d67ce7194fafbb90085b388
Input: resistive-adc-touch - add support for z1 and z2 channels

This patch adds support for the z1 and z2 channels. These are used to
calculate the applied pressure. As there is no common order of the
individual channels of a resistive touch ADC, support for
io-channel-names is added (although the DT bindings stated the driver
already supports these).

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210525054634.9134-5-o.rempel@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/resistive-adc-touch.c