Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1954725rdb; Mon, 9 Oct 2023 08:05:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRBR6PLyov6Jqlf8aYjuUDRAkjwEd2KIyI/grdB+f8r68O7PPolEYW3T4LPcSxuYuVKIN5 X-Received: by 2002:a17:902:788a:b0:1c5:c23c:a9ff with SMTP id q10-20020a170902788a00b001c5c23ca9ffmr12793031pll.58.1696863948891; Mon, 09 Oct 2023 08:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696863948; cv=none; d=google.com; s=arc-20160816; b=Jmc0GexIA3WMevZpgR/0+j8HyzRdsk3xc6JUfd/0wYsxBn1jk+mAaRo/qGXIuucehE Ye6i/SVHn6wGlOz5Mih2sQ5JLGxf6mE5je5d3yqqLauIz7UVQXzGguiIEFndtaHfsvQD W2jpKZ7m1gBXC2t83JVC1ZE/aNV1CMMG3rkfeu9hUEpWRdOu6IzpgkR48yBAuehMFU4g vw4yKcAhiYqCt/PRHF42Nsvx+nPFkxV1ErHA9bPpWgFHfdkDIjePstwEk5Lyqe4pI56N PJzHQqvW5o2PervcYxVSwy7aAOyUGymtldEtSvHsEU1/7Ga1JBJxAb0JCwI2NeBAfr6k ZYwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=aYFlpDUBNVKYSWU0PsLSPqfktkJzIj4ysgwl93ZN8aM=; fh=qae4/w0R8/Msw1aLiH2xMbLjPlZTEViMqD1wU/nxBRc=; b=PbFww5lCo/hrNwumcjZEuaMX8/jE6qcZeD+6at0S+Ah5wboB8bIeyWwW/DyZXYwy2V ER/Fg4fiTsSkeJe14rVO6LqJ1ahcImi6xcILbpi8wkj6ZO4eIJzhTVcXdYVeK/KBPLFw jS6F3DWBp0n2HjheF1FD2wF81twLkhZTnwQFxJPbInw6ul+3G8X9ztyxPszUL3LfAFx/ D8sQ01m1v6CKvk157hSMNj++pqG2MRnUsMEKgmG1Xmlpr7553E/nOTqb23ETidBVn8fA XfsBayP+wo2zrPKwFnqpb6M2zBRm9NNlEyR7tRg7eLr4KjtnP88MBNwVgnPyHfkuK9oQ ObRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WrVAI2G6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ix20-20020a170902f81400b001c589ba4a04si9400666plb.24.2023.10.09.08.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WrVAI2G6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 259A18046BF8; Mon, 9 Oct 2023 08:05:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346560AbjJIPFe (ORCPT + 99 others); Mon, 9 Oct 2023 11:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346587AbjJIPFa (ORCPT ); Mon, 9 Oct 2023 11:05:30 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 031DED6 for ; Mon, 9 Oct 2023 08:05:28 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40675f06f1fso33496475e9.1 for ; Mon, 09 Oct 2023 08:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696863927; x=1697468727; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=aYFlpDUBNVKYSWU0PsLSPqfktkJzIj4ysgwl93ZN8aM=; b=WrVAI2G65vk772GK3mmO8SPiVbSV0Ug+xfIs8b18NqAQeWYay/6eBlQQk4COkVeeVD j6b+PYw9jYvAsbqOjTbDI5WcqQ7aJ3ZyhwpTJkkzNfNI8xJQJtP2RBMCxuDjLO8y+NEG 7JeWRsVXFMpTm+V704yhR6ouYWJ0chQ5iZXOe5SEwhiWAMFUQLaa4youFrz6nct7xVOS czprPfAa5L81uc01ti7+/R48nnUg4iTlDqCuqdFtygTn1ij7tpH+71AEVDp50TRGH2vx 9m2EYHB9YnZzzAtecr3MgDq8Sd2FhzVRIwDUfOwL97wdA3E8nGI4WGRhysvjywV8eZDE 4ymQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696863927; x=1697468727; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aYFlpDUBNVKYSWU0PsLSPqfktkJzIj4ysgwl93ZN8aM=; b=C/dsNSEDqr1k55qhfMNKpBQWeYbX81eMDN54CfEWfEX3OzH+2Mi0cUv9o/8evY3G1U owms4YTcWlY7/+rLbgLf4Z5J1zLSgrZc0hGd5rn9mWqMU57jPdddfcB16Zx7g9gGyUjv yuDxxuFSw/RSxDCtceW/qolvkVHys1WCOaVLZfX/0Sc6rC2JXo/I8EbXOjEHKrkvuTRy hIz9iEGTnX0ZZ59B3598Erxg7la4MrlIylhAJ/ELnBUa4B34pltqtkemWgK6znqhX2gW 7hw4TxpOd6AMCAYBETGCnmDq3sp35G0Hi8b/S4q//5nHmnMUXrFekC08aEHBWIqOvw7A 0CYg== X-Gm-Message-State: AOJu0YzqISvNZsZWMrpKKC9opSzwFUX+YTVV/LpUyRt2bFSQ7cRCNy7e emR+VGAmHFxRCcBL7TrLs+KThuOuarUV3v0OWbc= X-Received: by 2002:a5d:4e46:0:b0:31f:ebfa:54eb with SMTP id r6-20020a5d4e46000000b0031febfa54ebmr9619202wrt.3.1696863926522; Mon, 09 Oct 2023 08:05:26 -0700 (PDT) Received: from [192.168.1.197] (5-157-101-10.dyn.eolo.it. [5.157.101.10]) by smtp.gmail.com with ESMTPSA id n10-20020a5d4c4a000000b00323287186aasm9886528wrt.32.2023.10.09.08.05.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 08:05:26 -0700 (PDT) Message-ID: <1c92f6ef-3bf1-46e6-9948-fcfddef748f5@linaro.org> Date: Mon, 9 Oct 2023 17:05:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] dt-bindings: input: Add bindings for TouchNetix axiom touchscreen Content-Language: en-US To: Kamel Bouhara , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mark.satterthwaite@touchnetix.com, pedro.torruella@touchnetix.com, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com References: <20231009134435.36311-1-kamel.bouhara@bootlin.com> <20231009134435.36311-3-kamel.bouhara@bootlin.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoO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x2dEFh+/Q== In-Reply-To: <20231009134435.36311-3-kamel.bouhara@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 09 Oct 2023 08:05:46 -0700 (PDT) X-Spam-Level: ** On 09/10/2023 15:44, Kamel Bouhara wrote: > Add the TouchNetix axiom I2C touchscreen device tree bindings > documentation. A nit, subject: drop second/last, redundant "bindings for". The "dt-bindings" prefix is already stating that these are bindings. > > Signed-off-by: Kamel Bouhara > --- > .../touchscreen/touchnetix,axiom-ax54a.yaml | 51 +++++++++++++++++++ > MAINTAINERS | 6 +++ > 2 files changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchnetix,axiom-ax54a.yaml > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchnetix,axiom-ax54a.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,axiom-ax54a.yaml > new file mode 100644 > index 000000000000..41201d7112a6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,axiom-ax54a.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/input/touchscreen/touchnetix,axiom-ax54a.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TouchNetix Axiom series touchscreen controller > + > +maintainers: > + - Kamel Bouhara > + > +properties: > + compatible: > + const: touchnetix,axiom-ax54a > + > + reg: > + const: 0x66 > + > + interrupts: > + maxItems: 1 > + > + irq-gpios: > + maxItems: 1 Why these are GPIOs? Interrupts are usually just interrupts... You need to clearly describe this. > + > + reset-gpios: > + maxItems: 1 > + > +additionalProperties: false This goes after required: block. > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + #include > + #include > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + axiom@66 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "touchnetix,axiom-ax54a"; > + reg = <0x66>; > + interrupt-parent = <&gpio2>; > + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > + irq-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; Eh? This looks really wrong. Best regards, Krzysztof