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 8F23CC001DF for ; Wed, 16 Aug 2023 17:19:43 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P9fz/W7arm3qAcaF/YsAc4iHYUiyiB4xFeGxYv43sgc=; b=06dKTeUcE1g8ff XG4hNM1CnIdTWSTq98jd+sp5V8QMs+5hMcMgfZwE1e9gSQOtyLO1uMGzeLyYvmcUnSGCIoQIrdUF7 Fnz+Iu4VXJSFcgIjXn44+ff2nNOdHtZB8ko6NkzS4BjFPPtm32bJ7JhHQxczO6bCNKu+j9TxH2a1q xcDjFfq5UwHSa+e2BAe0saKte7qa2hCtDbjHOHjCPoK1zkrhIjUet2TtPP4D7oU0qpwpMrqIWDSZ/ 7jh8vZpbFVtkkZTOdP0ecybEJ7hamrP95j+oZqoPKMSnif0GFeN5QhYVz3ESwQKumiqJaylesRnDO dwMzoeA/pNUtWhMU5nVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWKAs-004h6r-0p; Wed, 16 Aug 2023 17:19:14 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWKAo-004h6A-27 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 17:19:12 +0000 Received: from i53875bbf.versanet.de ([83.135.91.191] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWKAT-0006YA-LC; Wed, 16 Aug 2023 19:18:49 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Andreas Kemnade , Conor Dooley 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 Message-ID: <113333811.nniJfEyVGO@diego> In-Reply-To: <20230816-customary-service-8d9c5e5dbf1b@spud> References: <20230815182948.212575-1-andreas@kemnade.info> <20230815182948.212575-2-andreas@kemnade.info> <20230816-customary-service-8d9c5e5dbf1b@spud> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_101910_720316_B7FDCF0C X-CRM114-Status: GOOD ( 24.74 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > > --- > > .../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 > > 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 > > + > > + 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