diff options
author | Sebastian Reichel <sre@kernel.org> | 2014-05-28 23:51:53 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-29 00:05:59 -0700 |
commit | b98abe52fa8e2a3797d3cc2db3d0e109f4549c03 (patch) | |
tree | e3ffbc076e4ff36eda0564106aada80fe67d8e2a /drivers/input/touchscreen/Kconfig | |
parent | 50525cb3bf9dc7fe4cb8d4cd9b9e389257eaa8ee (diff) | |
download | op-kernel-dev-b98abe52fa8e2a3797d3cc2db3d0e109f4549c03.zip op-kernel-dev-b98abe52fa8e2a3797d3cc2db3d0e109f4549c03.tar.gz |
Input: add common DT binding for touchscreens
Add common DT binding documentation for touchscreen devices and
implement input_parse_touchscreen_of_params, which parses the common
properties and configures the input device accordingly.
The method currently does not interpret the axis inversion properties,
since there is no matching flag in the generic linux input device.
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 43389c0..8e07fe8 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -11,6 +11,10 @@ menuconfig INPUT_TOUCHSCREEN if INPUT_TOUCHSCREEN +config OF_TOUCHSCREEN + def_tristate INPUT + depends on INPUT && OF + config TOUCHSCREEN_88PM860X tristate "Marvell 88PM860x touchscreen" depends on MFD_88PM860X |