[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <95bb10cf-7707-43e2-931c-d0aa6431bab3@kernel.org>
Date: Fri, 3 May 2024 09:07:33 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Andreas Kemnade <andreas@...nade.info>, dmitry.torokhov@...il.com,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
hdegoede@...hat.com, andy.shevchenko@...il.com,
u.kleine-koenig@...gutronix.de, siebren.vroegindeweij@...mail.com,
linux-input@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: touchscreen: convert elan,ektf2127 to
json-schema
On 02/05/2024 20:58, Andreas Kemnade wrote:
> Convert EKTF2127 infrared touchscreen controller binding to DT schema
> and add ektf2232 compatible.
This should be two commits.
>
> Signed-off-by: Andreas Kemnade <andreas@...nade.info>
> ---
> .../bindings/input/touchscreen/ektf2127.txt | 25 --------
> .../input/touchscreen/elan,ektf2127.yaml | 59 +++++++++++++++++++
> 2 files changed, 59 insertions(+), 25 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,ektf2127.yaml
>
..
> +allOf:
> + - $ref: touchscreen.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - elan,ektf2127
> + - elan,ektf2132
> + - elan,ektf2232
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + power-gpios:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - power-gpios
> +
> +unevaluatedProperties: false
> +
> +
Just one blank line.
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
Best regards,
Krzysztof
Powered by blists - more mailing lists