[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210521172736.00004061@Huawei.com>
Date: Fri, 21 May 2021 17:27:36 +0100
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>
CC: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>, <kernel@...gutronix.de>,
<linux-kernel@...r.kernel.org>, <linux-input@...r.kernel.org>,
David Jander <david@...tonic.nl>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH v5 4/8] dt-bindings: touchscreen: validate nodename
On Fri, 21 May 2021 06:45:21 +0200
Oleksij Rempel <o.rempel@...gutronix.de> wrote:
> Validate touchscreen nodes. Make sure it is named touchscreen*.
>
> Signed-off-by: Oleksij Rempel <o.rempel@...gutronix.de>
Feels like this should be two separate patch sets...
The node name one, and then the stuff for the resistive touch screen.
> ---
> .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> index 046ace461cc9..057e1063759c 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> @@ -10,6 +10,9 @@ maintainers:
> - Dmitry Torokhov <dmitry.torokhov@...il.com>
>
> properties:
> + $nodename:
> + pattern: "^touchscreen(@.*)?$"
> +
> touchscreen-min-x:
> description: minimum x coordinate reported
> $ref: /schemas/types.yaml#/definitions/uint32
Powered by blists - more mailing lists