Input: add common DT binding for touchscreens
authorSebastian Reichel <sre@kernel.org>
Thu, 29 May 2014 06:51:53 +0000 (23:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 May 2014 07:05:59 +0000 (00:05 -0700)
commitb98abe52fa8e2a3797d3cc2db3d0e109f4549c03
treee3ffbc076e4ff36eda0564106aada80fe67d8e2a
parent50525cb3bf9dc7fe4cb8d4cd9b9e389257eaa8ee
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>
Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt [new file with mode: 0644]
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/of_touchscreen.c [new file with mode: 0644]
include/linux/input/touchscreen.h [new file with mode: 0644]