Thread (7 messages) 7 messages, 2 authors, 2022-01-21

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

From: Rob Herring <robh+dt@kernel.org>
Date: 2021-12-17 14:53:58

On Thu, Dec 16, 2021 at 5:30 PM Tim Harvey [off-list ref] wrote:
Please CC the DT list.
quoted hunk ↗ jump to hunk
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
Reference input.yaml so we aren't redefining this property.
quoted hunk ↗ jump to hunk
+
   reset-gpios:
     maxItems: 1
@@ -99,7 +104,6 @@ additionalProperties: false
 required:
   - compatible
   - reg
-  - interrupts

 examples:
   - |
--
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help