Re: [PATCH v5 4/8] dt-bindings: touchscreen: validate nodename

From: Dmitry Torokhov
Date: Mon May 24 2021 - 23:46:17 EST


On Fri, May 21, 2021 at 12:18:23PM -0500, Rob Herring wrote:
> On Fri, 21 May 2021 06:45:21 +0200, Oleksij Rempel wrote:
> > Validate touchscreen nodes. Make sure it is named touchscreen*.
> >
> > Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> > ---
> > .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 3 +++
> > 1 file changed, 3 insertions(+)
> >
>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>

These bindings are used for devices other than touchscreens (touchpads
and other touch controllers that are not touchscreens), so forcing them
to be named "touchscreen*" is wrong. In fact, I'd like to allow using
"touch-*" property names as aliases for "touchscreen-*" properties.

Thanks.

--
Dmitry