Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5167383rdb; Wed, 13 Dec 2023 00:16:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFU4BWWX3gRe4CaqEbVfRCo7GHYJ796KlR0CVZ4u5vh9Ng/7GziQOT+MXxXrf5koPce3KN X-Received: by 2002:a05:6a20:3504:b0:191:60c0:7cfd with SMTP id d4-20020a056a20350400b0019160c07cfdmr1630265pze.29.1702455362815; Wed, 13 Dec 2023 00:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702455362; cv=none; d=google.com; s=arc-20160816; b=C5iI+vwTCdsl8cV5tFFfA8SiRV0SVZ/bmAETOUoLEfs0MhWF/PlPab6U6lLMGIk5jd hSPGK+vgMBFuroN0eASSRMdesj8FhrPnfjGoPJwiDZ17mYPhzR4EKmDVr7+OKIj7z5da WtYcc9K+nI6qgSsvhB5b0NQxUMXLuZuhF1a4/LDsJe+maScuqtb1lqWUS5GvdxpX7/+S ltMDPklv35dqeIdBvpZ3z4+SbDeOiSWCvFaNkgXhqqXt8diboGCWkDSw2/ZsZFL9bOVB 4c00QqzVbeIf287UuLiOrWUVozUQtZSkes+9110N0FH5xG0bFhH6aFtPeXgZdWyR5+e8 V9rw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+1xZ55Re/XaWJu/6O/u6KwyAQvOMJC2685sQVInQ3lQ=; fh=3wET6t0ntRRpRYHU6WKL5b7g+pvR1SrSJ3RPkQFFMFY=; b=pC4Rpt7QF7OVE+3reF1BCbKn2rutNmD7+FilDWtuNmWpQXSjfi9hBlzuY9/vKQvZIA jV4gWSTMUPFF0v7pK/VKL9Z0zVuXJssxSSSFx7OhDe3VaBGfELYHK2ASt5zqr7FIMX/H VvrN0HXqPXYQ5ZsOeErOTebfTPXKSfLstkshtf53px2xBdomzZtMjB+S8HgUoSAo9Ikx UhUtL9E1oexwJjhx6wlVSDMWWyT3Ma9gATiEuDDAQkuwyuEcqteGhdMtOEiR2XmghkR+ 5Sh2PT5esZSJChi7T+4NSt0KP7rcxlfAS0EpAoCdZXPymaXIQI9s0K9SKfhpLiR8QIX3 LAKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OgqMQ97s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z15-20020a170903018f00b001d0a47b70a2si9362678plg.137.2023.12.13.00.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 00:16:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OgqMQ97s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D4480807F643; Wed, 13 Dec 2023 00:15:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231685AbjLMIOu (ORCPT + 99 others); Wed, 13 Dec 2023 03:14:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbjLMIOt (ORCPT ); Wed, 13 Dec 2023 03:14:49 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A77F9F; Wed, 13 Dec 2023 00:14:52 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 058AEC000A; Wed, 13 Dec 2023 08:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702455291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+1xZ55Re/XaWJu/6O/u6KwyAQvOMJC2685sQVInQ3lQ=; b=OgqMQ97sPZzaTEOdDy0/SufyB8Kvy1xDsLLNRmc+qGiR4GAB+7bcyXwjA/rksD9yxIQ4zB Z+1sTj34dmiAoByOZM5rhhqs0jL4TCZlNR7IZrqZchwgsZ20kj7N8T9S7GJW5bKzCs4gF0 z8z0xstQ847nq5PmI3qzV7c/FwIeflf/gXJYO6ANAVtnr5euzAtD4iD3/iXL+iJ2wygk2t sSub8XlGrTxNtTxs3imQpjrjGAVOFFRBZvXv41cLZCDG6re82l7DSqKYXu+Ex0ZbR365uV Iwcz4rGfuomTdOX/7T/oLtNWvIJ3Tft11a4K05h5HKtGAQsEfcN0buVyKFatrg== Date: Wed, 13 Dec 2023 09:14:48 +0100 From: Kamel Bouhara To: Conor Dooley Cc: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Marco Felsch , Jeff LaBundy , catalin.popescu@leica-geosystems.com, mark.satterthwaite@touchnetix.com, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com Subject: Re: [PATCH v5 2/3] dt-bindings: input: Add TouchNetix axiom touchscreen Message-ID: <20231213081448.GA2340704@kb-xps> References: <20231211121430.1689139-1-kamel.bouhara@bootlin.com> <20231211121430.1689139-3-kamel.bouhara@bootlin.com> <20231212-rework-bounce-f4d9d12362a4@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231212-rework-bounce-f4d9d12362a4@spud> X-GND-Sasl: kamel.bouhara@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 00:15:07 -0800 (PST) Hi, Le Tue, Dec 12, 2023 at 04:57:11PM +0000, Conor Dooley a ?crit : > On Mon, Dec 11, 2023 at 01:14:28PM +0100, Kamel Bouhara wrote: > > Add the TouchNetix axiom I2C touchscreen device tree bindings > > documentation. > > > > Signed-off-by: Kamel Bouhara > > --- > > .../input/touchscreen/touchnetix,ax54a.yaml | 64 +++++++++++++++++++ > > MAINTAINERS | 6 ++ > > 2 files changed, 70 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml > > new file mode 100644 > > index 000000000000..cbdf48fc538b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml > > @@ -0,0 +1,64 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/input/touchscreen/touchnetix,ax54a.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: TouchNetix Axiom series touchscreen controller > > + > > +maintainers: > > + - Kamel Bouhara > > + > > +allOf: > > + - $ref: /schemas/input/touchscreen/touchscreen.yaml# > > Weird, you add this ref here but do not actually allow any properties > from it since you have "additionalProperties: false" below. > > What's the point of its inclusion? Currently the driver doesn't use thoses properties but still some are valid for this device. Greetings, Kamel > > Cheers, > Conor. > > > + - $ref: /schemas/input/input.yaml# > > + > > +properties: > > + compatible: > > + const: touchnetix,ax54a > > + > > + reg: > > + const: 0x66 > > + > > + interrupts: > > + maxItems: 1 > > + > > + reset-gpios: > > + maxItems: 1 > > + > > + vdda-supply: > > + description: Analog power supply regulator on VDDA pin > > + > > + vddi-supply: > > + description: I/O power supply regulator on VDDI pin > > + > > + poll-interval: true > > + > > +required: > > + - compatible > > + - reg > > + - vdda-supply > > + - vddi-supply > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + #include > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + touchscreen@66 { > > + compatible = "touchnetix,ax54a"; > > + reg = <0x66>; > > + interrupt-parent = <&gpio2>; > > + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > > + reset-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; > > + vdda-supply = <&vdda_reg>; > > + vddi-supply = <&vddi_reg>; > > + poll-interval = <20>; > > + }; > > + }; > > +... > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 7608b714653f..4752d8436dbb 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -21431,6 +21431,12 @@ S: Maintained > > F: Documentation/ABI/testing/sysfs-class-firmware-attributes > > F: drivers/platform/x86/think-lmi.? > > > > +TOUCHNETIX AXIOM I2C TOUCHSCREEN DRIVER > > +M: Kamel Bouhara > > +L: linux-input@vger.kernel.org > > +S: Maintained > > +F: Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml > > + > > THUNDERBOLT DMA TRAFFIC TEST DRIVER > > M: Isaac Hazan > > L: linux-usb@vger.kernel.org > > -- > > 2.25.1 > > -- Kamel Bouhara, Bootlin Embedded Linux and kernel engineering https://bootlin.com