Message ID | 20221016170035.35014-32-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1089921wrs; Sun, 16 Oct 2022 10:05:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7iI9Q5QmiSa7eGOAXzKfj85ICL6cCXOUskG+G0p1aTBQz7WPhwrMxErx3w7O4emRree21p X-Received: by 2002:a17:902:d484:b0:17f:7437:565d with SMTP id c4-20020a170902d48400b0017f7437565dmr7827089plg.154.1665939949515; Sun, 16 Oct 2022 10:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665939949; cv=none; d=google.com; s=arc-20160816; b=xKseVUZXcd9pqT+YNmm5WMzCe+dwH+sEI1sLFGXYwOAE/NUuVox6/J+uqmJAGUez1k EJ1r19ik79PKdlqgBoTxnfKZ6VQ3ua8kgOCtJpOdw0GSiCWF0Z7zW81Zp2xcJMukoZ5h 8xMNyZXMX4wsivQ/snAzOT9Hp6VSlWlkzCHWYaJoSacac3tl61sJxMuv5Ra1Awa/yQ4N So5THkldzbEQAL9edUGQAE0iRVJpXEzjGPkcI1qLOZx9of4Bj4yN1FulIVmu1o1dXydv LhHixk+SwDutOH3UXLAdNQnt7HYA/RjTgwrcEtuSy7vdwki+50rMSJsdQjH3euyKA13W MeIg== 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=HNiSWV2VxXEdkuG7e2gn4iH2YDOfZ9NQP7wbUi5CEr+MAi8BUaKqNibIawVXOlMSIq dXRYSuy5IXoOJ/GG7mjiFajxucCxZmAeVcmJ1qz9YQvjghbdn3dqdfU7f9+EhPWIvEi5 9Oq1/7T3YLimvYJel8D5yMaM4UOrSqM1MiTOJ2aYvH82E1CU2lPHTLyzUQQRtJ4MeGTs tIUNDEx/CN4DjdH+erlL0UYIysqMZgWcSIDtWmApxfvIa/3wDu16PglViNmm5LFCqGq7 KhH0nfVbdIR0k5KDaaT8r27MO4iiDtn1HKDpTmZSUHCYqugPMT74kfSK8sNsW7hXZd0T z28g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xfVQjZU6; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u13-20020a17090341cd00b00178a33f8bb4si11367720ple.328.2022.10.16.10.05.37; Sun, 16 Oct 2022 10:05:49 -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=xfVQjZU6; 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 S230158AbiJPRE4 (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Sun, 16 Oct 2022 13:04:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbiJPREX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 16 Oct 2022 13:04:23 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D166A37F91 for <linux-kernel@vger.kernel.org>; Sun, 16 Oct 2022 10:03:02 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id 8so5448377qka.1 for <linux-kernel@vger.kernel.org>; Sun, 16 Oct 2022 10:03:02 -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 :message-id:reply-to; bh=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=xfVQjZU6bub+aj3q24K31f0HUe13QWSpmKZoEvahnkh6nevTasmX/qWL8N9W1gUiWq skO8EfDMYQBPAu63GtKNqxki2OJ5Fq0S9ZZfPsn1eNREEUxwO0QpkbuxBjAUajuGalL7 Z3fmBey/38G2Smkz+ngsA5z0WAif/Y4FJ0ClnEcPww/BKB5soqGm+XgiPMa95sJU1FZR gV9ZRKcJTRCxsfxCNawusZE5iqkub1xNZkzyqVa3OwrKAen4gTcKR1R7Ndl6JXjQigkG 4h0JBvsG66Q7EedO7oo5hCKbaW1L/o8hqmpndOadyTu5ewoMe/HrKmdLn0hhojKgZS0F uxzA== 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:message-id:reply-to; bh=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=0Hwa4ODgbH/9SE4p+eeHeK81n5Sh0uUseceD3kZVHBjyOmtZceUjpgJjo7Jrz1zGRZ 94Y66mZLuMqb+/eErBGdI9LAgxN4ekpNEtwCxJeQ/2NFzjRCTRqx4iCENqrtGtV75amd Qhyp1DhkFqRqt1Hxz3fOEaIxv4jX7hXQLW9gzxXViGa+HEWrshs2kgsjTYpcK6th3WiB RIWk9ZUMJ0GwrtxqpcliLiBn0wJptwVdRHwhJwKeNluvS/e8Hp7glOV7X7vBSCIyPIDT DTp4iR5pW4VwiNwYCglHOapEB3Y6Qi7U378NLxpmhTI1LW3qdUq4Sj0ds9RvUk1YLOuH DNGg== X-Gm-Message-State: ACrzQf3XrwS0sDdSF6cVCKErxnwWi5qn6wAxmCUZLof18bJo0yyqn/9W FCgEooW3GYvwYO5qxgz+ojbVNA== X-Received: by 2002:a37:bec5:0:b0:6ed:4eea:410b with SMTP id o188-20020a37bec5000000b006ed4eea410bmr5229498qkf.653.1665939771625; Sun, 16 Oct 2022 10:02:51 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:9b13:d679:7b5b:6921]) by smtp.gmail.com with ESMTPSA id q6-20020a05620a0d8600b006ce7bb8518bsm7539967qkl.5.2022.10.16.10.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 10:02:50 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Stephan Gerhold <stephan@gerhold.net>, Shawn Guo <shawn.guo@linaro.org>, Vinod Koul <vkoul@kernel.org>, krishna Lanka <quic_vamslank@quicinc.com>, Sivaprakash Murugesan <sivaprak@codeaurora.org>, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org> Subject: [PATCH v5 31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Sun, 16 Oct 2022 13:00:32 -0400 Message-Id: <20221016170035.35014-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221016170035.35014-1-krzysztof.kozlowski@linaro.org> References: <20221016170035.35014-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746864648429627491?= X-GMAIL-MSGID: =?utf-8?q?1746864648429627491?= |
Series |
pinctrl/arm64: qcom: continued - fix Qualcomm TLMM pinctrl schema warnings (third set)
|
|
Commit Message
Krzysztof Kozlowski
Oct. 16, 2022, 5 p.m. UTC
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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> --- .../devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Comments
On Sun, 16 Oct 2022 13:00:32 -0400, 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. > > Applied, thanks! [31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config https://git.kernel.org/krzk/linux-dt/c/c535fe66f4a5df69c57faca1fc04a6c1b50240b9 Best regards,
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;