]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ad7879 - allow exporting AUX/VBAT/GPIO pin via device property
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 17 Feb 2017 18:45:59 +0000 (10:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Feb 2017 17:21:27 +0000 (09:21 -0800)
commitb0441d3bd58a4251e5f7628b70e2e85d5e5e40f0
tree2eede0fa0a0e5a381b7c959cba11271ff4aaf4e0
parent20daed245be02a8312b7d75e0497b318093435e0
Input: ad7879 - allow exporting AUX/VBAT/GPIO pin via device property

Up until now only platforms using legacy platform data were able to switch
AUX/VBAT/GPIO pin in GPIO mode and use it as regular GPIO line. Let's
allow platforms using generic device properties to do the same.

Reviewed-by: Michael Hennerich <michael.hennerich@analog.com>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/ad7879.txt
drivers/input/touchscreen/ad7879.c