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)
commitb621e30be6120f1b20c6077a3462dd261d6ecc90
tree2eede0fa0a0e5a381b7c959cba11271ff4aaf4e0
parent069b2e2cd7ef5b42e1ab8ee991347f9dbf9f51d1
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