OSDN Git Service

Input: sx8654 - add reset-gpio support
authorRichard Leitner <richard.leitner@skidata.com>
Mon, 28 Jan 2019 22:49:37 +0000 (14:49 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 Jan 2019 00:27:26 +0000 (16:27 -0800)
commitc3a39380a39df3750149a2f4699c1c241a0e6ea2
tree676472734936b32d4dadcd007f96c4a59d72b0c9
parent4dbb71195b34232d9ecc12c4cfbee6871688a0e3
Input: sx8654 - add reset-gpio support

The sx8654 features a NRST input which may be connected to a GPIO.
Therefore add support for hard-resetting the sx8654 via this NRST.

If the reset-gpio property is provided the sx8654 is resetted via NRST
instead of the soft-reset via I2C.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
drivers/input/touchscreen/sx8654.c