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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 16, 2021 at 5:30 PM Tim Harvey <tharvey@xxxxxxxxxxxxx> wrote:
>

Please CC the DT list.

> 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 <nsaenzjulienne@xxxxxxx>
> Signed-off-by: Tim Harvey <tharvey@xxxxxxxxxxxxx>
> ---
>  .../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.

> +
>    reset-gpios:
>      maxItems: 1
>
> @@ -99,7 +104,6 @@ additionalProperties: false
>  required:
>    - compatible
>    - reg
> -  - interrupts
>
>  examples:
>    - |
> --
> 2.17.1
>



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux