From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B241AC04A6A for ; Wed, 16 Aug 2023 14:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SkkE/S2c087xwJLVXOUIdL7V0BQq/k+j9U00IkUN2hw=; b=OSBcTprzqt6np688VMtJJeQnc6 otXewazFIINHeXHrsOn0IR2zv6/Wwqxt83xEo9XTEnOq4Bco3mbtNiOt6QPdQLFsUzkXbecevF/60 tZQLz/JaTXvZbfzg2aTgtCv6KVa7neHZQj2h4x4lM9wbMSJsBlexH3I2kfej/6TKn3fBAxAswQ5jg rFzTYkLmE9QZR6N4B3B2SIgXcOvUcyR79S5ChJFHc0Glo1n3lBsYkPGyJcW7SD3yH51sLmrNmzL7W UiDIovTO6utyBt1mOXb9t0vp6tMTJRlrlUEylZe1924cxSpVMbtocmybgHCzlbqpi3hXc0jadkBDP kdi9pDEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWHsq-004Q4p-0r; Wed, 16 Aug 2023 14:52:28 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWHsm-004Q3z-0L for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 14:52:25 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4542A64583; Wed, 16 Aug 2023 14:52:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E7B4C433C8; Wed, 16 Aug 2023 14:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692197542; bh=fat3YRkJ698LrzyB//w21t8rmRjCywBbXiHxRzGdUno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hHi+1jKDwMfZwE/SevvBX8z46X1OOUyX1rEe6JiZAzCqNYUtLMHaoZ4C8kv6wnTvK iPl2RGLRTSrFXUK2TYh/POo3hdhb49WH3Dy9DMzMZJ0Dkc722ZR8PJ8dVSrrH9GYG4 zhI3aDKjii38dm4Dn6kq4dojT3OtU+h40ZLlmBebVRQkiC3OllVoykGbBN+nawlrIp Op+KM4APObfQg4+jF50msCWIQ0OM+7Z+Gaep4VsaJ7EDkglv1PGaZdQN2KeCFipEHl TCiUy0yd7dXvmUYQagsvxOu8tAe5Uf7Jwfy7epAGRkjDEnO8ldgY1bpKO7Lm66Rnyo R15mlfHN7fxMA== Date: Wed, 16 Aug 2023 15:52:16 +0100 From: Conor Dooley To: Andreas Kemnade 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, heiko@sntech.de Subject: Re: [PATCH 1/4] dt-bindings: touchscreen: convert neonode,zforce to json-schema Message-ID: <20230816-customary-service-8d9c5e5dbf1b@spud> References: <20230815182948.212575-1-andreas@kemnade.info> <20230815182948.212575-2-andreas@kemnade.info> MIME-Version: 1.0 In-Reply-To: <20230815182948.212575-2-andreas@kemnade.info> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_075224_255837_C356EAFB X-CRM114-Status: GOOD ( 22.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1166273410073953666==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1166273410073953666== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XuJizLR0HvgWZrq8" Content-Disposition: inline --XuJizLR0HvgWZrq8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 15, 2023 at 08:29:45PM +0200, Andreas Kemnade wrote: > Convert Neonode infrared touchscreen controller binding to DT schema. >=20 > Signed-off-by: Andreas Kemnade > --- > .../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/n= eonode,zforce.yaml > delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/z= force_ts.txt >=20 > diff --git a/Documentation/devicetree/bindings/input/touchscreen/neonode,= zforce.yaml b/Documentation/devicetree/bindings/input/touchscreen/neonode,z= force.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 It;d be good to CC the person you're volunteering! I've done so. > + > +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 > + > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + touchscreen@50 { > + compatible =3D "neonode,zforce"; > + reg =3D <0x50>; > + interrupts =3D <2 0>; > + vdd-supply =3D <®_zforce_vdd>; > + > + reset-gpios =3D <&gpio5 9 0>; /* RST */ > + irq-gpios =3D <&gpio5 6 0>; /* IRQ, optional */ > + > + x-size =3D <800>; > + y-size =3D <600>; > + }; > + }; > +... > diff --git a/Documentation/devicetree/bindings/input/touchscreen/zforce_t= s.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 =3D "neonode,zforce"; > - reg =3D <0x50>; > - interrupts =3D <2 0>; > - vdd-supply =3D <®_zforce_vdd>; > - > - reset-gpios =3D <&gpio5 9 0>; /* RST */ > - irq-gpios =3D <&gpio5 6 0>; /* IRQ, optional */ > - > - x-size =3D <800>; > - y-size =3D <600>; > - }; > - > - /* ... */ > - }; > --=20 > 2.39.2 >=20 --XuJizLR0HvgWZrq8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNzioAAKCRB4tDGHoIJi 0ngPAP0XNuegxE0/FAnGqyyDeOPFvc4WqIxAUmXfZsG7b1zB1AEAy+5fvdsKnJnN tEXK/o8iAYOJgrCP6oA6Pdsqh+XIyAQ= =WkCD -----END PGP SIGNATURE----- --XuJizLR0HvgWZrq8-- --===============1166273410073953666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1166273410073953666==--