2021-05-21 09:42:01

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v5 1/8] dt-bindings: input: touchscreen: iqs626a: chnage node name to pass validation

Change node name from iqs626a -> touchscreen to pass dt_binding_check.

Signed-off-by: Oleksij Rempel <[email protected]>
---
Documentation/devicetree/bindings/input/iqs626a.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/input/iqs626a.yaml b/Documentation/devicetree/bindings/input/iqs626a.yaml
index 0cb736c541c9..ea4f04e2d3ad 100644
--- a/Documentation/devicetree/bindings/input/iqs626a.yaml
+++ b/Documentation/devicetree/bindings/input/iqs626a.yaml
@@ -751,7 +751,7 @@ examples:
#address-cells = <1>;
#size-cells = <0>;

- iqs626a@44 {
+ touchscreen@44 {
#address-cells = <1>;
#size-cells = <0>;

--
2.29.2


2021-05-21 20:23:36

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v5 1/8] dt-bindings: input: touchscreen: iqs626a: chnage node name to pass validation

On Fri, 21 May 2021 06:45:18 +0200, Oleksij Rempel wrote:
> Change node name from iqs626a -> touchscreen to pass dt_binding_check.
>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> Documentation/devicetree/bindings/input/iqs626a.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2021-05-21 20:24:18

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v5 1/8] dt-bindings: input: touchscreen: iqs626a: chnage node name to pass validation

Change typo in title.


On Fri, 21 May 2021 06:45:18 +0200
Oleksij Rempel <[email protected]> wrote:

> Change node name from iqs626a -> touchscreen to pass dt_binding_check.
>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> Documentation/devicetree/bindings/input/iqs626a.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/input/iqs626a.yaml b/Documentation/devicetree/bindings/input/iqs626a.yaml
> index 0cb736c541c9..ea4f04e2d3ad 100644
> --- a/Documentation/devicetree/bindings/input/iqs626a.yaml
> +++ b/Documentation/devicetree/bindings/input/iqs626a.yaml
> @@ -751,7 +751,7 @@ examples:
> #address-cells = <1>;
> #size-cells = <0>;
>
> - iqs626a@44 {
> + touchscreen@44 {
> #address-cells = <1>;
> #size-cells = <0>;
>

2021-05-23 03:16:22

by Jeff LaBundy

[permalink] [raw]
Subject: Re: [PATCH v5 1/8] dt-bindings: input: touchscreen: iqs626a: chnage node name to pass validation

Hi Oleksij and Rob,

I disagree with this patch; the device is neither a touchscreen nor
does the example include any touchscreen properties. The end result
is confusing.

On Fri, May 21, 2021 at 12:08:30PM -0500, Rob Herring wrote:
> On Fri, 21 May 2021 06:45:18 +0200, Oleksij Rempel wrote:
> > Change node name from iqs626a -> touchscreen to pass dt_binding_check.
> >
> > Signed-off-by: Oleksij Rempel <[email protected]>
> > ---
> > Documentation/devicetree/bindings/input/iqs626a.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Acked-by: Rob Herring <[email protected]>

What is the failure returned by dt_binding_check? Is it because of
the reference to touchscreen.yaml? If so, I'd rather we update the
tool instead of appease it.

This device leverages the touchscreen helpers for axis swapping or
inversion in 'trackpad' mode, which any input device is free to do
starting with 5.13.

Kind regards,
Jeff LaBundy