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

Dmitry Torokhov
2021-05-25T03:46:17Z

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@pengutronix.de>
> > ---
> > .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 3 +++
> > 1 file changed, 3 insertions(+)
> >
>
> Acked-by: Rob Herring <robh@kernel.org>

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