# \[RFC PATCH 1/4\] dt-bindings: input: touchscreen: edt-ft5x06: add poll-interval

- From: Tim Harvey \<tharvey@gateworks.com\>
- Date: 2021-12-16 23:37:25 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/12/8933704
- Thread: https://ratatoskr.run/linux-input/2021/12/8933702/t.md

```text
Some devices might not provide an interrupt line for the touchscreen.
In that case the driver defaults to using a polled interface.

Cc: Nicolas Saenz Julienne <redacted>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
index 2e8da7470513..a0d4dabf03b8 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
@@ -47,6 +47,11 @@ properties:
   interrupts:
     maxItems: 1
 
+  poll-interval:
+    description: Poll interval time in milliseconds, only relevant if no
+                 interrupt was provided.
+    $ref: /schemas/types.yaml#/definitions/uint32
+
   reset-gpios:
     maxItems: 1
 
@@ -99,7 +104,6 @@ additionalProperties: false
 required:
   - compatible
   - reg
-  - interrupts
 
 examples:
   - |
-- 
2.17.1

```
