Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp528913rwb; Mon, 26 Sep 2022 02:18:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yEdht4NAY+97HAjMipWyWeDAey0buWy/9aX1ElUYD22LFqEWQjnFdo3vIcr8tvuHE/MvN X-Received: by 2002:a17:90b:1bc4:b0:202:fbd0:8e86 with SMTP id oa4-20020a17090b1bc400b00202fbd08e86mr23853970pjb.52.1664183889011; Mon, 26 Sep 2022 02:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664183889; cv=none; d=google.com; s=arc-20160816; b=setKH/naIVukqsRty7NXq4is42AJtNZAIlRsUwhfdyRFz6q9ZRB0jvgHio9NqdvFWE b8b/vEbMZHr8yh5XF9h/uO87rAJj36DVRTNVhpY+HgKrbvdreZXlz9HDec362WdXTscd 3o0Lcvt77j7SM2F+2XxoYVshuGrwNj/npwplbLR7i5OejRBCHYwLYmcbk2cKOvR7EZWI udmiy1Xk/O7UOrHscTkvXQa/OOb4nvxdTntla42D+N1GacVygu0Yj5dZbCW7vM8yyD5T oHlY7QjzCMF6CZw3fzojHicc5I2AzY8cWVX97VyikZpLp6R4gqEiWsOCcgzXJkl74UvJ cFMQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=vrv065D+ctkztUjNUa3Jmz1/DXnw7DhEXSuZPsqfZUM=; b=USdUeuLzr4AMZ9/sZpmuchYL8EZGWKYlVLm8DHnrn49PXh6KVpvOZkaooSFjypLWhk o2PmEWDVMKB9OJCzaurlwpyDK9AeunpbFPD43zeHMdZuommQ4QkCz9DcAJTdLPz+X0S1 p1Jz1TnmWaGI+XIoLLiF74349Qx4ak74E3bv1L4AGvyLskIwt7UKzUWNzteI+x+UwbeL 1Ffjx3cAPflp4it6T6OPd/Jwk4kRlGgEQhyJ7IYgQEaAbBuGGZq0VelkL1z4F+mGkoC3 38lmQvDcLEYjH+KL7hGI8Il/VuZCvVrL874XqqALW9tkptXD7N8f3xF794d9LDE4R65B 3iRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J071zhv/"; 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 r27-20020a635d1b000000b0042ad04f3686si18257874pgb.616.2022.09.26.02.17.57; Mon, 26 Sep 2022 02:18:09 -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="J071zhv/"; 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 S234470AbiIZIrT (ORCPT + 99 others); Mon, 26 Sep 2022 04:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234106AbiIZIrO (ORCPT ); Mon, 26 Sep 2022 04:47:14 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C0A823BFF for ; Mon, 26 Sep 2022 01:47:05 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id t16so2588293ljh.3 for ; Mon, 26 Sep 2022 01:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=vrv065D+ctkztUjNUa3Jmz1/DXnw7DhEXSuZPsqfZUM=; b=J071zhv/iyvxBhhD3psGEI6Cg1DZGDrWbj/a2rzs1PQrBZVi1x4YFbVXd+qF8v1zeM L5LcIQmhQXg+djyOPZlWWjEH+2xODIqEOphDzDqNuV+U/0uYUKhy09ZIsGrBweC6pKJa ucZJ5Rvx0mqq7jjlw4fcxWPltrTPib8k3vLvTPGV/DukWFB+dhhjprSk5yGd/ggRY6TA skkp+RGujF6/85kzXHXolxPh0l4y9aTeTn2KdGvufQoCQOyBXW0M+gIWNpUqERTg++UJ iwtcvRRvx+9130yMOkp9pG77Ghe9H2+TJ3G5r3QhBWKXwAQxVZefiQptIznsD90ckZT7 ppSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=vrv065D+ctkztUjNUa3Jmz1/DXnw7DhEXSuZPsqfZUM=; b=w5iSKKIioo3pB4KRWwcNfDB7PIggiFXSo1Eu3IZ9W0YUo91ZCIt+F26GQ+gOh8Ltg/ scmwvLzpCQeg7cf1CBrs8AOKyZPbp9/t9pknGoUWlG6p+1EajLrkYFhwjBDusicjL74D kTSOmgo1I3+Jmzv8gtkuGmGy+uy+4T0Z4nlPmSu9O4S/Xnt0cDP3fNcp+jQ7fnw6Kc0t Ruwy+sG9G/M49ZvjFemFlR1q8W6Gst6qc8wWjHQqLW5xJU03ATWd5nYOmJ4Pqc51dq0C KYen82HsMGlYXa42TlNf+xa6C+AzynEsB6wFN6hejoMPpCZT6rjIoiFIaQlrDqxA1/CM 27ZA== X-Gm-Message-State: ACrzQf2FqBEh+1vVyIxuQ4GhnrtVBL7xGcinGzszohCe/oEL87teCwWk hbR2YzzBlTWrud0/HG3qgkLk5A== X-Received: by 2002:a2e:b74b:0:b0:26c:5cf3:cc87 with SMTP id k11-20020a2eb74b000000b0026c5cf3cc87mr7568481ljo.75.1664182023890; Mon, 26 Sep 2022 01:47:03 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id z17-20020a05651c11d100b0026c1cbbf464sm2289057ljo.112.2022.09.26.01.47.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 01:47:03 -0700 (PDT) Message-ID: <98adff9a-e55c-1b3a-4951-e569ff25499f@linaro.org> Date: Mon, 26 Sep 2022 10:47:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 12/15] dt-bindings: pinctrl: qcom,sm8250: fix matching pin config Content-Language: en-US To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220925110608.145728-1-krzysztof.kozlowski@linaro.org> <20220925110608.145728-13-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20220925110608.145728-13-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 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 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 25/09/2022 13:06, Krzysztof Kozlowski wrote: > The TLMM pin controller follows generic pin-controller bindings, so > should have subnodes with '-state' and '-pins'. Otherwise the subnodes > (level one and two) are not properly matched. This method also unifies > the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. > > The change causes indentation decrement, so the diff-hunk looks big, but > there are no functional changes in the subnode "properties" section. > The only difference there is removal of blank lines between common GPIO > pinconf properties. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 145 +++++++++--------- > 1 file changed, 75 insertions(+), 70 deletions(-) > (...) > + > + required: > + - pins > + > + allOf: > + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" > + - if: > + properties: > + pins: > + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-7][0-9])$" > + then: > + required: > + - function In my other patchset, I moved this if:then: to common schema, therefore this patch will be later rebased. All other patches in the patchset are free to go, so far. Best regards, Krzysztof