]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita320591eb4f2ad51f3a0032ace1eb1d4c6d21b71
treee3ffbc076e4ff36eda0564106aada80fe67d8e2a
parentb37af7c6e8b5bfaaad1dfcf9d02320a554b17537
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]