Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp915330rwb; Thu, 6 Oct 2022 06:16:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xnf8TDPmulZccGkV0ccViANr0g4HzoSMGJd4j85UhPPXYR9aPRr2o3slyZ0qvs9D1J6Rp X-Received: by 2002:a17:907:3e10:b0:78a:9ece:2a8 with SMTP id hp16-20020a1709073e1000b0078a9ece02a8mr3958236ejc.459.1665062188425; Thu, 06 Oct 2022 06:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665062188; cv=none; d=google.com; s=arc-20160816; b=DHD5ib663dZNlrEEBgUc3rvCMsZsOjYCVAyZnOP1UuBZF0W+JD2CnSJIC/It11GQrF 1LGJflx/0evm3A0Fu8BW8Tvc+KnTh0Muz8U1GgCbSrP26lRlwar4FSzUtlCB0P8+jBf3 HJUNBv/mPNu60AVQ2vKl/TbV+fR/WXF/aSEP4rJiSVkxlsuEPOgLMTmiroFCEruI9dkt Ef/G6WEtQWOsWxJQ3wymPVpx8pR1ikDYuvjhSkJXBxbCKnImDIypsaebyIyz4+LZ+3Nk li9biMw8O5Ygw/DamQkPI7dbiyqEOxBciGJdvE0cA+J1VmDLvJqNk4xNG3ADmoEEa05u a7bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=uOgcV1hb79lX57T0cRzpmkKVUn1qkzjcWcsdbmtagl4pCnd/iWP8uQnWDycs8SAd1b pOzxBU/zjzLsRQFTaGAg1Xl0Gn+pqZN1Gm1oCRX+bCXstEhF9hikF1au8Yq5vGqdOutp uFmJdyVrxbBp/54v7qnhpeJzzwcUWo0jpAzVq9Dze8ddpRRaLydLKbXrsrVlxx1CvG2u 293FlEolwSdtvcWv/1A+SBSLoNhsF/JtslHCOZwklT+Pk3m5xifnNC3Mf6i9EwpWgpqY I97o3G3kjScVc+6WsDpPrEKY37SYY9pPzO7nO8VtkBG0OrKuokMYvk1cPFnzR3NMY89g b6Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RDR9OpPg; 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 y15-20020aa7c24f000000b0043be542b956si16059656edo.262.2022.10.06.06.16.02; Thu, 06 Oct 2022 06:16:28 -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=RDR9OpPg; 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 S231679AbiJFMuy (ORCPT + 99 others); Thu, 6 Oct 2022 08:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231622AbiJFMuS (ORCPT ); Thu, 6 Oct 2022 08:50:18 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2FC8A50D3 for ; Thu, 6 Oct 2022 05:48:11 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id t16so2112904ljh.3 for ; Thu, 06 Oct 2022 05:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=RDR9OpPgvastLJKKWTE/chUZe7uXRSg+FzziEdZhMaGPZC+5hceCocjfbTPJDdZ6Wt j819AwjwgE7ST7BO0j3LWzMcakhgZQGEL5F6DXDG3LZU7Y35ov9/2agPJy+9UpFU0QbI qpPV+EkE0xJqYGZu9v9Oprg+P/a1iglYsDcCrDHBigDQNEiezuW9NaVhNaulsB8tq27u 6Oi6v+nhsayfFhSUkCpAIyoKJWOXzwp6cXfctuR7H9tyKSd3EUo0TH5PjiWNrdueiUhE 74Rs278Fo+2rcjt13qAX9yAVgsjj5tRnax9fZpE9xRWzER9rqwjbFLyvntP5CPIFIjOD 092w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=QU7BnRuSn+Hf8dCTogaMBp+WDTPN3SVHqnrXfAC+D3srQT0Oq/MToOIoyefsHEbJ/e 2h+rGipGjWaqfAdBFTb8ObwM13Z5k7+07vtVFBOZRVZ1kqW/+Cd++iVwdNMyRdn2nH55 loZeWBuJWZTC5OZC+UGHGxZV6HFufbdSTFRMVqAv5moMxLdCeXyxI1aOcBPBT1sg0bTo Wi9ODM67mvlzaxTPcduE+MR8gv49y6ijF2Y/+FKi+aoSNnzYEiy9IPlE1P1yBK6aAf6k SHi29zb0TwTSDPZBCxhqclEMPvUmFmfGG0bmSlUn9BuAnT4uDREYEeCx2Jefyg0fBaii B6dA== X-Gm-Message-State: ACrzQf0tuS8ne8r0LoYq0o0bIjjpaMiuP1MPkW8oNEQH+nTwwy/6bT+Q Vkzkp7LjHX1puo3fX/eWCAhwyw== X-Received: by 2002:a05:651c:505:b0:26c:5815:5519 with SMTP id o5-20020a05651c050500b0026c58155519mr1722907ljp.316.1665060458025; Thu, 06 Oct 2022 05:47:38 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:37 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v4 31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Thu, 6 Oct 2022 14:46:56 +0200 Message-Id: <20221006124659.217540-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_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 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: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index cdfcf29dffee..0f796f1f0104 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -49,8 +49,10 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-sdx65-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-sdx65-tlmm-state" + additionalProperties: false + '$defs': qcom-sdx65-tlmm-state: type: object @@ -175,13 +177,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