Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp969447rwb; Wed, 28 Sep 2022 11:21:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rw8IX7pqnAmxvW+WVW3OtJzZjbVSsG1Js/e+BSoYg4aJ392KRDzl33n3RxN96FR0dpise X-Received: by 2002:a17:907:25c1:b0:77b:9966:ccf1 with SMTP id ae1-20020a17090725c100b0077b9966ccf1mr29021293ejc.763.1664389303986; Wed, 28 Sep 2022 11:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664389303; cv=none; d=google.com; s=arc-20160816; b=JUGW/Wwg4psY+2vU3hfxhJpgr5uZChrcqVniJJ6aeH97w1AXP72TCWPZhOPLy3MSc3 6VTrHhr+cg52GmKtNpznqeEuiiJsJDtgG3Xd15/RvOU8NMXUahNyE0b6ZgGfGFRUZKEo 7qO54xoY1E0/ZElnwsEpycltwg9Zq5TUdrptfTjUuxjrc5S8QmEn81ZEoDBwOPKQwuGY j+HkFBSRv6OuCV4A5r8bfjPOKh1rVS+W3jGLrMIeD8tHO4p9goiro4WCx1u1CyzlryVF aAyGlHmU5QIA94Uej55TCyqS+vb+Zpb1bWUuiG12fm7ByImpMA1zNOSalwr8xx7bUWpz 891Q== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VTSVj2/MnOzJogQVqPNRuV3EWW6q3oME4cKoVN1IPfA=; b=pOyV3aGnIezu6wD2xUa886gRPY94yHHll8yxG6/7sLHgaIC15J7e6haRmNclETVrRW ZUJ6w1LXoGJybcxCC0d4sIlVTurUbBssTyQQq4jb2KPpbitYR8mSC7YIhQ/2Aw6KJ2A6 tkM3keqMfd87wbbmEnHg2pWm3t7ytOPuBlbQ7vHtPYwl0vD5FyXA1Ee1OYCTldBvKOyw GiTip3n2e+1RJfc6Lva5rMJMdnYktyzJSFvQloL+FPA0atGEHuMv7lnTYJszXc8umNVl Sj7wwD0VH2/psqo1n7cBddK00ydCsWSHMdd+a6CPOpP7DvOcP0MzbuYXeqzJ2CgibsOC mGQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=HIE0nrnl; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020aa7d048000000b00451dfbbc983si43161edo.491.2022.09.28.11.21.18; Wed, 28 Sep 2022 11:21:43 -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=@gerhold.net header.s=strato-dkim-0002 header.b=HIE0nrnl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234622AbiI1SK7 (ORCPT + 99 others); Wed, 28 Sep 2022 14:10:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233244AbiI1SK4 (ORCPT ); Wed, 28 Sep 2022 14:10:56 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8BB186731; Wed, 28 Sep 2022 11:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1664388472; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=VTSVj2/MnOzJogQVqPNRuV3EWW6q3oME4cKoVN1IPfA=; b=HIE0nrnl86PcacEc+gjvo/s+CmKFJ2DK60CZI9HqR74aX5VXWA/6gfj5IE/HRcLGOt GbSjkT359x0MuY8AcAe5QETxWkV35dpn7/34UfK/t8kZq2I2PKwgkTU9LDYMVEsceSBa f652Bmv8FjrEP/EmPkQwmGfJfcSU6iLLVtUnmFqiGf5LxEb1QpZZJ1rbuAaEN8NDgwvy BvkiLJh+tCIDeW7SEF3+Wa1c+8txl1eoUyFHlglQIWPXB+wvxB5YPGF17kmUmRJPugLa f/lK8E5g2SxLTDcRw0pdBJrGvZ9olxQkZGjaURFqN/H7rxkdyxR7ZRCSJCIqqdvSMCCh sPiA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u267FZF9PwpcNKLVrK88/6Y=" X-RZG-CLASS-ID: mo00 Received: from gerhold.net by smtp.strato.de (RZmta 48.1.3 AUTH) with ESMTPSA id 06b848y8SI7p0jv (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 28 Sep 2022 20:07:51 +0200 (CEST) Date: Wed, 28 Sep 2022 20:07:50 +0200 From: Stephan Gerhold To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Vinod Koul , krishna Lanka , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 18/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config Message-ID: References: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> <20220927173702.5200-19-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927173702.5200-19-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE autolearn=ham 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 Tue, Sep 27, 2022 at 07:36:46PM +0200, 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. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Bjorn Andersson Reviewed-by: Stephan Gerhold > --- > .../devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml > index e03530091478..b1735918fa90 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml > @@ -43,8 +43,9 @@ patternProperties: > oneOf: > - $ref: "#/$defs/qcom-msm8909-tlmm-state" > - patternProperties: > - ".*": > + "-pins$": > $ref: "#/$defs/qcom-msm8909-tlmm-state" > + additionalProperties: false > > $defs: > qcom-msm8909-tlmm-state: > @@ -136,13 +137,13 @@ examples: > }; > > uart-w-subnodes-state { > - rx { > + rx-pins { > pins = "gpio4"; > function = "blsp_uart1"; > bias-pull-up; > }; > > - tx { > + tx-pins { > pins = "gpio5"; > function = "blsp_uart1"; > bias-disable; > -- > 2.34.1 >