From: "Heiko Stübner" <heiko@sntech.de>
To: Andreas Kemnade <andreas@kemnade.info>, Conor Dooley <conor@kernel.org>
Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
rydberg@bitmath.org, u.kleine-koenig@pengutronix.de,
linus.walleij@linaro.org, Jonathan.Cameron@huawei.com,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] dt-bindings: touchscreen: convert neonode,zforce to json-schema
Date: Wed, 16 Aug 2023 19:18:48 +0200 [thread overview]
Message-ID: <113333811.nniJfEyVGO@diego> (raw)
In-Reply-To: <20230816-customary-service-8d9c5e5dbf1b@spud>
Hi,
Am Mittwoch, 16. August 2023, 16:52:16 CEST schrieb Conor Dooley:
> On Tue, Aug 15, 2023 at 08:29:45PM +0200, Andreas Kemnade wrote:
> > Convert Neonode infrared touchscreen controller binding to DT schema.
> >
> > Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> > ---
> > .../input/touchscreen/neonode,zforce.yaml | 67 +++++++++++++++++++
> > .../bindings/input/touchscreen/zforce_ts.txt | 34 ----------
> > 2 files changed, 67 insertions(+), 34 deletions(-)
> > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> >
> > diff --git a/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > new file mode 100644
> > index 000000000000..1c45adb2407a
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > @@ -0,0 +1,67 @@
> > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/input/touchscreen/neonode,zforce.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Neonode infrared touchscreen controller
> > +
> > +maintainers:
> > + - Heiko Stuebner <heiko.stuebner@bqreaders.com>
>
> It;d be good to CC the person you're volunteering! I've done so.
BQ the company is no more. So I have no issue with me being in there,
afterall I did that driver back then, but I guess my main and permanent
address of heiko@sntech.de might be more appropriate :-)
Heiko
> > +
> > +properties:
> > + compatible:
> > + const: neonode,zforce
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + reset-gpios:
> > + maxItems: 1
> > +
> > + irq-gpios:
> > + maxItems: 1
> > +
> > + x-size:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > +
> > + y-size:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > +
> > + vdd-supply: true
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - interrupts
> > + - reset-gpios
> > + - x-size
> > + - y-size
> > +
> > +unevaluatedProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/irq.h>
> > +
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + touchscreen@50 {
> > + compatible = "neonode,zforce";
> > + reg = <0x50>;
> > + interrupts = <2 0>;
> > + vdd-supply = <®_zforce_vdd>;
> > +
> > + reset-gpios = <&gpio5 9 0>; /* RST */
> > + irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
> > +
> > + x-size = <800>;
> > + y-size = <600>;
> > + };
> > + };
> > +...
> > diff --git a/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> > deleted file mode 100644
> > index e3c27c4fd9c8..000000000000
> > --- a/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> > +++ /dev/null
> > @@ -1,34 +0,0 @@
> > -* Neonode infrared touchscreen controller
> > -
> > -Required properties:
> > -- compatible: must be "neonode,zforce"
> > -- reg: I2C address of the chip
> > -- interrupts: interrupt to which the chip is connected
> > -- reset-gpios: reset gpio the chip is connected to
> > -- x-size: horizontal resolution of touchscreen
> > -- y-size: vertical resolution of touchscreen
> > -
> > -Optional properties:
> > -- irq-gpios : interrupt gpio the chip is connected to
> > -- vdd-supply: Regulator controlling the controller supply
> > -
> > -Example:
> > -
> > - i2c@00000000 {
> > - /* ... */
> > -
> > - zforce_ts@50 {
> > - compatible = "neonode,zforce";
> > - reg = <0x50>;
> > - interrupts = <2 0>;
> > - vdd-supply = <®_zforce_vdd>;
> > -
> > - reset-gpios = <&gpio5 9 0>; /* RST */
> > - irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
> > -
> > - x-size = <800>;
> > - y-size = <600>;
> > - };
> > -
> > - /* ... */
> > - };
>
WARNING: multiple messages have this Message-ID (diff)
From: "Heiko Stübner" <heiko@sntech.de>
To: Andreas Kemnade <andreas@kemnade.info>, Conor Dooley <conor@kernel.org>
Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
rydberg@bitmath.org, u.kleine-koenig@pengutronix.de,
linus.walleij@linaro.org, Jonathan.Cameron@huawei.com,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] dt-bindings: touchscreen: convert neonode,zforce to json-schema
Date: Wed, 16 Aug 2023 19:18:48 +0200 [thread overview]
Message-ID: <113333811.nniJfEyVGO@diego> (raw)
In-Reply-To: <20230816-customary-service-8d9c5e5dbf1b@spud>
Hi,
Am Mittwoch, 16. August 2023, 16:52:16 CEST schrieb Conor Dooley:
> On Tue, Aug 15, 2023 at 08:29:45PM +0200, Andreas Kemnade wrote:
> > Convert Neonode infrared touchscreen controller binding to DT schema.
> >
> > Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> > ---
> > .../input/touchscreen/neonode,zforce.yaml | 67 +++++++++++++++++++
> > .../bindings/input/touchscreen/zforce_ts.txt | 34 ----------
> > 2 files changed, 67 insertions(+), 34 deletions(-)
> > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> >
> > diff --git a/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > new file mode 100644
> > index 000000000000..1c45adb2407a
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml
> > @@ -0,0 +1,67 @@
> > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/input/touchscreen/neonode,zforce.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Neonode infrared touchscreen controller
> > +
> > +maintainers:
> > + - Heiko Stuebner <heiko.stuebner@bqreaders.com>
>
> It;d be good to CC the person you're volunteering! I've done so.
BQ the company is no more. So I have no issue with me being in there,
afterall I did that driver back then, but I guess my main and permanent
address of heiko@sntech.de might be more appropriate :-)
Heiko
> > +
> > +properties:
> > + compatible:
> > + const: neonode,zforce
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + reset-gpios:
> > + maxItems: 1
> > +
> > + irq-gpios:
> > + maxItems: 1
> > +
> > + x-size:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > +
> > + y-size:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > +
> > + vdd-supply: true
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - interrupts
> > + - reset-gpios
> > + - x-size
> > + - y-size
> > +
> > +unevaluatedProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/irq.h>
> > +
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + touchscreen@50 {
> > + compatible = "neonode,zforce";
> > + reg = <0x50>;
> > + interrupts = <2 0>;
> > + vdd-supply = <®_zforce_vdd>;
> > +
> > + reset-gpios = <&gpio5 9 0>; /* RST */
> > + irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
> > +
> > + x-size = <800>;
> > + y-size = <600>;
> > + };
> > + };
> > +...
> > diff --git a/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> > deleted file mode 100644
> > index e3c27c4fd9c8..000000000000
> > --- a/Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
> > +++ /dev/null
> > @@ -1,34 +0,0 @@
> > -* Neonode infrared touchscreen controller
> > -
> > -Required properties:
> > -- compatible: must be "neonode,zforce"
> > -- reg: I2C address of the chip
> > -- interrupts: interrupt to which the chip is connected
> > -- reset-gpios: reset gpio the chip is connected to
> > -- x-size: horizontal resolution of touchscreen
> > -- y-size: vertical resolution of touchscreen
> > -
> > -Optional properties:
> > -- irq-gpios : interrupt gpio the chip is connected to
> > -- vdd-supply: Regulator controlling the controller supply
> > -
> > -Example:
> > -
> > - i2c@00000000 {
> > - /* ... */
> > -
> > - zforce_ts@50 {
> > - compatible = "neonode,zforce";
> > - reg = <0x50>;
> > - interrupts = <2 0>;
> > - vdd-supply = <®_zforce_vdd>;
> > -
> > - reset-gpios = <&gpio5 9 0>; /* RST */
> > - irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
> > -
> > - x-size = <800>;
> > - y-size = <600>;
> > - };
> > -
> > - /* ... */
> > - };
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-08-16 17:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 18:29 [PATCH 0/4] Input: zforce_ts: standard properties Andreas Kemnade
2023-08-15 18:29 ` Andreas Kemnade
2023-08-15 18:29 ` [PATCH 1/4] dt-bindings: touchscreen: convert neonode,zforce to json-schema Andreas Kemnade
2023-08-15 18:29 ` Andreas Kemnade
2023-08-16 14:52 ` Conor Dooley
2023-08-16 14:52 ` Conor Dooley
2023-08-16 17:18 ` Heiko Stübner [this message]
2023-08-16 17:18 ` Heiko Stübner
2023-08-16 17:20 ` Andreas Kemnade
2023-08-16 17:20 ` Andreas Kemnade
2023-08-16 17:55 ` Conor Dooley
2023-08-16 17:55 ` Conor Dooley
2023-08-15 18:29 ` [PATCH 2/4] dt-bindings: touchscreen: neonode,zforce: Use standard properties Andreas Kemnade
2023-08-15 18:29 ` Andreas Kemnade
2023-08-21 19:35 ` Rob Herring
2023-08-21 19:35 ` Rob Herring
2023-08-15 18:29 ` [PATCH 3/4] Input: zforce_ts: Accept standard touchscreen properties Andreas Kemnade
2023-08-15 18:29 ` Andreas Kemnade
2023-08-15 18:29 ` [PATCH 4/4] ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation Andreas Kemnade
2023-08-15 18:29 ` Andreas Kemnade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=113333811.nniJfEyVGO@diego \
--to=heiko@sntech.de \
--cc=Jonathan.Cameron@huawei.com \
--cc=andreas@kemnade.info \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=rydberg@bitmath.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.