Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4092640rwr; Mon, 8 May 2023 02:47:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zH5N0fU6Bf03/FUrfGRt6hHvQnh0LJL4IMowEXc3AzvjHozJFGrHVQFZdSTRiwwnHoYKi X-Received: by 2002:a05:6a00:1da9:b0:645:834c:f521 with SMTP id z41-20020a056a001da900b00645834cf521mr3552423pfw.17.1683539221694; Mon, 08 May 2023 02:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683539221; cv=none; d=google.com; s=arc-20160816; b=pnCJ7rF69I2rbP9F0McCTdjjD0qmlWO760ldMA6hOxK7DN5Er4QcuVeypCx43SpMIs 85byf/9tyzgqv5qnjlHKgALnVeyybI5hBxfw4Bn12rh1evB+Jc/zIKaojOo+l6yte3n8 aIgPUCgectx3c7IjZ6XmpkAehWYnnTUHTUXBliC4V9MNXyx6+kA7gYiIjpGaUwa/8kYV vexrUPv77y6R13P8AJXXV1+m+lhDKhFGUSHMVu0ZP4Qqpn7CRRDgTYmYkxkCvtbDN2p+ /rLOEVIIM8C85rTVCESO0rIxIwPI8zJ2WWu9oTzXdnkS7MHa0CDejG44inYApl0Q0RSW 5q1A== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Fe1Pd9sqJ/vND699Tq/zXfEZYs/5kGN53Nyynpo4z7s=; b=cPnO9x6kg8zKAeGPFbLJ/jO51wq+S5bnf629fyGDwQyRFryHwogYh6nyHZEasj03dF 7D/6UaXSLPvC8tEAfuItNVZ+U64Y5qU9qURr+Fb0vkqyW2ARkiN5XsICvwdSAw8xmMU7 xCHe4jLcMYUOQltGGFLllNS9SueGDIsUwskPiMiuKnzPBqsXaHrzE3zA1XG5P8zg48A2 uwKfo3o+Ah9HRV6goEh+/kp3aaXYLVRbG9yNfhVpuuKDrLwbf/AVBwbvYEjR/FXmxCnp 17yI4fghvqOXSA10A7usOj1ZXcp616RQh9juqTWjUKlnBTPaKot+he4/rGe86tmssaTN vt0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SQrxupFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k186-20020a6384c3000000b0051b718151a4si4094848pgd.201.2023.05.08.02.46.47; Mon, 08 May 2023 02:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SQrxupFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232887AbjEHJan (ORCPT + 99 others); Mon, 8 May 2023 05:30:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232904AbjEHJal (ORCPT ); Mon, 8 May 2023 05:30:41 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF95E658D for ; Mon, 8 May 2023 02:30:38 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9659e9bbff5so773514066b.1 for ; Mon, 08 May 2023 02:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683538237; x=1686130237; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Fe1Pd9sqJ/vND699Tq/zXfEZYs/5kGN53Nyynpo4z7s=; b=SQrxupFKOW8vs3iF6YW1jKxTlOwH5mBVHe3a2qKqaOAE+jR3jllqcDNsnbF+jvlOA7 xjhKg/64/p42mS1+pEVCVYkikWjfLeKmSO5HxnAjRIlxeutYyg/gRdFvQ+cAD8LE9leK EJ/VevIomlmsj+U+XgxJT8klp7fH9w3hA6Tbvdqve945fTc2ozQGs0GL10+3dTFdhqj7 bYQmb54Kce9sBzfjMoCiSlbg3RzcFYm5pxWrDtMAPphjvxcrMXbnIg84FzT/Z9KD3uRH nKq3qW+1Nd9JV3jmbV5ljYhUh67eXibOJnTcGvxrlHk7oSK00F8SNMdiwCl6mMSzJ6dd LhhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683538237; x=1686130237; h=content-transfer-encoding:in-reply-to: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=Fe1Pd9sqJ/vND699Tq/zXfEZYs/5kGN53Nyynpo4z7s=; b=OpWy/Jzt1Ch4HSLW+846HxK9KqwHmB47DTZv1XM5+Jh78NtPvuE2pDKOht+0Gu4I6i I73qARiLN/8R0J8wRY9V37ja0venPN4zcusHKqfsvrTv/cQ1knOfywUr6XBj0zqhUkL3 J/AD+YA4r5NBB8XGqoCKuhzI/NqVUlc0pmWN8Yb3oDLk+iXD1o9Bj/QLCbzs2xksZxgH deiLjQpp9vtEcbYU5PqdQp4qs9MXuJi10ETMY3MvoVsLjD7RkCFon+5yzjr/oDgoAIMQ dHB+sp5SY2N2b5kxbZcLPLDKxqxlUPUNjjmbU+xRa7sgS1XAzWzaY9I6tMFtgJRzU2YS YKPQ== X-Gm-Message-State: AC+VfDwTxoUVw0tRtoUNueUQ0pS1UpsL9k7ZkmuAZzxLai2g4yGLqkEg 9zLf4I3KcBLA5FfpUFhcY7fp2g== X-Received: by 2002:a17:907:7f14:b0:94f:9acc:65c9 with SMTP id qf20-20020a1709077f1400b0094f9acc65c9mr8390341ejc.66.1683538237347; Mon, 08 May 2023 02:30:37 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:50e0:ebdf:b755:b300? ([2a02:810d:15c0:828:50e0:ebdf:b755:b300]) by smtp.gmail.com with ESMTPSA id h13-20020a1709070b0d00b0094efdfe60dcsm4642563ejl.206.2023.05.08.02.30.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 May 2023 02:30:36 -0700 (PDT) Message-ID: <2f45fa08-202b-4eb8-b204-d0466df1d033@linaro.org> Date: Mon, 8 May 2023 11:30:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 1/2] dt-bindings: gpio: Add STMPE YAML DT schema Content-Language: en-US To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Dmitry Torokhov , Lee Jones , Philippe Schenker , Stefan Agner , Marek Vasut , Steffen Trumtrar Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org References: <20230426-stmpe-dt-bindings-v3-0-eac1d736e488@linaro.org> <20230426-stmpe-dt-bindings-v3-1-eac1d736e488@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230426-stmpe-dt-bindings-v3-1-eac1d736e488@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/05/2023 23:19, Linus Walleij wrote: > This adds a schema for the STMPE GPIO that while it is used a > lot in the kernel tree is anyway missing its bindings. > > Signed-off-by: Linus Walleij > --- > ChangeLog v2->v3: > - Use a compact hog node schema backed by the standard hog > schema. > ChangeLog v1->v2: > - New patch split off from the MFD patch. > --- > .../devicetree/bindings/gpio/st,stmpe-gpio.yaml | 51 ++++++++++++++++++++++ > 1 file changed, 51 insertions(+) This should be a conversion of Documentation/devicetree/bindings/gpio/gpio-stmpe.txt: 1. Expressed in subject, commit msg, 2. With changes against original binding mentioned in commit msg, 3. With removal of old file. > > diff --git a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml > new file mode 100644 > index 000000000000..41aa82b8b3eb > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectonics Port Expander (STMPE) GPIO Block > + > +description: STMicroelectronics Port Expander (STMPE) is a series of slow If there is resend/new version, put blank line after description: > + bus controllers for various expanded peripherals such as GPIO, keypad, > + touchscreen, ADC, PWM or rotator. It can contain one or several different > + peripherals connected to SPI or I2C. These bindings pertain to the > + GPIO portions of these expanders. > + > +maintainers: > + - Linus Walleij > + > +properties: > + compatible: > + const: st,stmpe-gpio > + > + "#gpio-cells": > + const: 2 > + > + "#interrupt-cells": > + const: 2 > + > + gpio-controller: true > + > + interrupt-controller: true > + > + st,norequest-mask: > + description: A bitmask of GPIO lines that cannot be requested because for > + for example not being connected to anything on the system Here as well. > + $ref: /schemas/types.yaml#/definitions/uint32 > + > +patternProperties: > + "^.+-hog(-[0-9]+)?$": > + type: object > + > + required: > + - gpio-hog > + Best regards, Krzysztof