Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp846903rdb; Sun, 20 Aug 2023 05:45:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFE5023eFvWkMwhRrpCi/LfcmmqyRFo28381oHvamUbBP1Bbm3dBIiUlTWvazJPspy+RKCr X-Received: by 2002:a17:90a:b017:b0:268:ee6:6bdf with SMTP id x23-20020a17090ab01700b002680ee66bdfmr2015606pjq.47.1692535532387; Sun, 20 Aug 2023 05:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692535532; cv=none; d=google.com; s=arc-20160816; b=BEhV7x0ybP4EluT1BYV8/6tfayUzkLH3mAiQ+qfo5tHpOu1WaW+oe2zPQjBAnaqjNf n1gdJ9n8vEQBz2/AWDxaGd0FwFq/eGTF1Ndsm6PciNKsu8SwfWMRoaKj/8RjBlKOruap ZW2zLMv5Yax+DZEB2dhelM/I7W+6Frb+cP+Epq0MfrDfawsH+8Byf0LOxGxOZ3nr52Xq cfck2BBDTjFi991hoNWuf6MBxXduUk4dOC9R4xD2+HF0mdHh1cGYv5OxH8OiSbQaL06B VgWMHN4bt4onnN4+yuRq77zXmCqYvlOwdBMpCgqbMDZKLgcUtomsxOxBtSPjiEHhnrmw v3Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mc+45VKn7ITYNsWd+O+GJcdpDgNhGZzpK7GUJ0AKKRM=; fh=5MSDDKp7WJe2b4PAYucExreWaF2rCzuMGRXwxnZa4pk=; b=Au3MbVK/mH45DCvcAhOxkZU4b39uEqk0OQXI0d+ORsL/BX7YAjGw7MuYl5v+wNSeZL SGaWp/NtgK5Y7Q+/CN/0aJykmWQFHTZwA2kokBby/NAp3RdME7SMNGo9i3Gy9QQU2gD1 1kFbHTXBQl9Eh/498SFThPlu9YQQ5dQE0/blnBDR0+dLthdCTGE4tdlBjkCRpqgBEgSe VUG8A6JHya6Tvp0II+fUXbw9gExlnST7OFzgDya9Cu1q3GZSAf5feiVoYHvoAx5nCRWr wff6O0qGpw4yFGy/6zj1pimhFOAtwwEORLGTrOuc+ZEz2ePk/79f5gNfeJrDuvt19bOr TKig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hHi+1jKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b9-20020a17090a6e0900b0025be132d177si7102397pjk.60.2023.08.20.05.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 05:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hHi+1jKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1994B2E0AC0; Sat, 19 Aug 2023 11:52:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343687AbjHPOwk (ORCPT + 99 others); Wed, 16 Aug 2023 10:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343832AbjHPOw0 (ORCPT ); Wed, 16 Aug 2023 10:52:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15449269F; Wed, 16 Aug 2023 07:52:24 -0700 (PDT) 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 503B66446C; 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XuJizLR0HvgWZrq8" Content-Disposition: inline In-Reply-To: <20230815182948.212575-2-andreas@kemnade.info> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--