Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp156215rdb; Tue, 5 Dec 2023 01:18:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ+uR9AGcANy84cX6ZekQYfrcuba5RaNNK+kokRsRRpxPk5ggOdfozeeIU7JKypfCu4Qnu X-Received: by 2002:a05:6a00:1150:b0:6ce:2731:e864 with SMTP id b16-20020a056a00115000b006ce2731e864mr1186736pfm.43.1701767894716; Tue, 05 Dec 2023 01:18:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701767894; cv=none; d=google.com; s=arc-20160816; b=l2wLsOo/CxLj2Al1TmoPke20O633K+9aIEVqYjxR/oV1bFgXNdrXvQYyiivro6xu7B H1tmdbCQmAKwP5g1XRTETtG4vzueiyxThStrFTmPIE6fRgZpkBEBPa4j8zyGQmEJWAWt XW2914pB+xE5fzGzurLhZH45XjWYc3hS6v4jkcdMvMP1uOEkUTaUr+vnIqXYQPGFaDVQ lq1ZzU4j2e4KOfHXtV841aAqLJhh1ntz2HmfDrYJcf/WgvrS0/epx27fUFu5N2DaqphL t+wSENYsTFdZdO0nf58IMR075ttTKCWx3bfta0Rf0sZZBnafTiptK8ulvP5iSIvnDFJG va7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :message-id:references:in-reply-to:subject:cc:to:from:date :mime-version:dkim-signature; bh=p0q/m5JZa+81MKMuwCNwp5xuzKunJSbVF6gjFLpmzVo=; fh=mcsYLQ+LoR74Dj17RLjCzubQjYBDSGm8sx3wN2nQlIA=; b=fsVmjNnVvSzcwktXMf/5PZ1nfk3Ak53l5k95Pynupn5a36FsRDT3oo4dhtvFj+b+bw DbziwbpJR9eVTMX5jxUgE0rinX3OyelU/ZbZLi0hTHeX1aisXglf0RcPiHAyZ8ZYyp88 oDOJvJ3v9zRTMsSOjhG4MLX1IuckcTZrOEcWWsiRhtA0Iq3kau1rO/U6F8y9tjGGeuU3 ul/MZDVtmBMa6zGrCsKqfQicgIx3fJsrykKvuDHDqa+2gG8D+m44JsZhv2YTAMF+Q062 bSEyN0zcuJfhldo3fzkj0qNBzFw8JHod/bJwZ1Ldh/32FRzAhWFGywJNaF/HKyTfHiCP OZRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LNe765YM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j4-20020aa783c4000000b006cd8454cbb4si9139970pfn.337.2023.12.05.01.18.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 01:18:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LNe765YM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 3D6F8801B661; Tue, 5 Dec 2023 01:18:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231852AbjLEJRx (ORCPT + 99 others); Tue, 5 Dec 2023 04:17:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjLEJRw (ORCPT ); Tue, 5 Dec 2023 04:17:52 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F93C6; Tue, 5 Dec 2023 01:17:58 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPA id 271311BF209; Tue, 5 Dec 2023 09:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701767877; 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=p0q/m5JZa+81MKMuwCNwp5xuzKunJSbVF6gjFLpmzVo=; b=LNe765YMnux7MK8ddMiwBbFZzHoejAofsMPr0uArVIAYHr2Cxap2phCX1VeQLy5sQP7xrs 3DIeVhqfUvbI9ReUDqM26HB1PYgJZ0AfmdCtXieDDV6Q/+/76xwdiaBkxxroBFdk8qJJ4F NXpI7+IVz256/sbnBcKJZSwIcmDXPtEtEzVuSfUZMS04O4J7SpkPsqaM1P5fXgeR1/D8lz ptnC8RLtGWnpAR77qBKHakk/woRu4nOoMs90ubbK+MPHBdPvEWr4fPLM39qfFR2QNOJntx NiKqCotiBVfm8YfYUTqzqF6OA31nIAiuQSOCYH810/jxqIvke/4Pis9x1x36oQ== MIME-Version: 1.0 Date: Tue, 05 Dec 2023 10:17:56 +0100 From: Kamel BOUHARA To: Krzysztof Kozlowski 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 v4 2/3] dt-bindings: input: Add TouchNetix axiom touchscreen In-Reply-To: <3ce65c3a-e781-4ba3-8436-8379e8e94d6b@linaro.org> References: <20231204140505.2838916-1-kamel.bouhara@bootlin.com> <20231204140505.2838916-3-kamel.bouhara@bootlin.com> <3ce65c3a-e781-4ba3-8436-8379e8e94d6b@linaro.org> Message-ID: <8ac4a9924e1d3b98c9f74dcb07b044b2@bootlin.com> X-Sender: kamel.bouhara@bootlin.com Organization: Bootlin Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 01:18:11 -0800 (PST) Le 2023-12-05 09:15, Krzysztof Kozlowski a écrit : > On 04/12/2023 15:05, Kamel Bouhara wrote: >> Add the TouchNetix axiom I2C touchscreen device tree bindings >> documentation. >> >> Signed-off-by: Kamel Bouhara > >> +$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 >> + > > Why you do not have ref to touchscreen? Is it not a touchscreen? The common properties are not used or applicable here, should I still ref touchscreen ? > > >> +properties: >> + compatible: >> + const: touchnetix,ax54a >> + >> + reg: >> + const: 0x66 >> + >> + interrupts: >> + maxItems: 1 >> + >> + reset-gpios: >> + maxItems: 1 >> + >> + poll-interval: >> + description: Poll interval time in milliseconds. > > Missing type or missing ref to input. It seems you want to use existing > property thus no type, but you did not reference input.yaml > Ok is this the right way to do it : allOf: - $ref: input.yaml# properties: poll-interval: true >> + >> + VDDA-supply: > > lowercase > >> + description: Analog power supply regulator on VDDA pin >> + >> + VDDI-supply: > > lowercase > Ack. >> + description: I/O power supply regulator on VDDI pin >> + >> +required: >> + - compatible >> + - reg > > Supplies are usually required. Devices rarely can operate without > power. Indeed, can I still have them optional in the driver ? I have fixed regulators and Im testing on x86 hence I would like to avoid having extra acpi code to supply them. > >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + i2c { >> + #address-cells = <1>; >> + #size-cells = <0>; > > Blank line Ack. > >> + touchscreen@66 { >> + compatible = "touchnetix,ax54a"; >> + reg = <0x66>; >> + interrupt-parent = <&gpio2>; >> + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; >> + reset-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; >> + }; > > Best regards, > Krzysztof Thanks -- Kamel Bouhara, Bootlin Embedded Linux and kernel engineering https://bootlin.com