Message ID | 20190430185859.24015-2-nsaenzjulienne@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] input: edt-ft5x06 - add polled input support | expand |
On Tue, 30 Apr 2019 20:58:59 +0200, Nicolas Saenz Julienne wrote: > Some devices might not provide an interrupt line for the touchscreen. > In that case the driver defaults to using a polled interface. > > Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> > --- > .../devicetree/bindings/input/touchscreen/edt-ft5x06.txt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt index 870b8c5cce9b..2605994a1257 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt @@ -24,10 +24,14 @@ Required properties: or: "focaltech,ft6236" - reg: I2C slave address of the chip (0x38) - - interrupts: interrupt specification for the touchdetect - interrupt Optional properties: +- interrupts: interrupt specification for the touchdetect interrupt, if not + supplied the driver will deafult to polling. + +- poll-interval: Poll interval time in milliseconds, only relevant if no + interrupt was provided. + - reset-gpios: GPIO specification for the RESET input - wake-gpios: GPIO specification for the WAKE input
Some devices might not provide an interrupt line for the touchscreen. In that case the driver defaults to using a polled interface. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> --- .../devicetree/bindings/input/touchscreen/edt-ft5x06.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)