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>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.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>
Subject: [PATCH 06/12] dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: fix matching pin config
Date: Thu, 22 Sep 2022 21:56:45 +0200 [thread overview]
Message-ID: <20220922195651.345369-7-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20220922195651.345369-1-krzysztof.kozlowski@linaro.org>
The LPASS pin controller follows generic pin-controller bindings, so
just like TLMM, should have subnodes with '-state' and '-pins'.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../qcom,sm8450-lpass-lpi-pinctrl.yaml | 36 +++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml
index c17cdff6174f..0e0769a7751c 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml
@@ -43,9 +43,17 @@ properties:
gpio-ranges:
maxItems: 1
-#PIN CONFIGURATION NODES
patternProperties:
- '-pins$':
+ "-state$":
+ oneOf:
+ - $ref: "#/$defs/qcom-sm8450-lpass-tlmm-state"
+ - patternProperties:
+ "-pins$":
+ $ref: "#/$defs/qcom-sm8450-lpass-tlmm-state"
+ additionalProperties: false
+
+$defs:
+ qcom-sm8450-lpass-tlmm-state:
type: object
description:
Pinctrl node's client devices use subnodes for desired pin configuration.
@@ -132,4 +140,28 @@ examples:
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&lpi_tlmm 0 0 23>;
+
+ wsa-swr-active-state {
+ clk-pins {
+ pins = "gpio10";
+ function = "wsa_swr_clk";
+ drive-strength = <2>;
+ slew-rate = <1>;
+ bias-disable;
+ };
+
+ data-pins {
+ pins = "gpio11";
+ function = "wsa_swr_data";
+ drive-strength = <2>;
+ slew-rate = <1>;
+ };
+ };
+
+ tx-swr-sleep-clk-state {
+ pins = "gpio0";
+ function = "swr_tx_clk";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
};
--
2.34.1
next prev parent reply other threads:[~2022-09-22 19:57 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 19:56 [PATCH 00/12] pinctrl/arm64: qcom: continued - fix Qualcomm LPASS pinctrl schema warnings Krzysztof Kozlowski
2022-09-22 19:56 ` [PATCH 01/12] dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: fix gpio pattern Krzysztof Kozlowski
2022-09-26 20:33 ` Rob Herring
2022-09-26 20:40 ` Rob Herring
2022-09-27 11:34 ` Krzysztof Kozlowski
2022-09-22 19:56 ` [PATCH 02/12] dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: " Krzysztof Kozlowski
2022-09-26 20:41 ` Rob Herring
2022-09-22 19:56 ` [PATCH 03/12] dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: fix matching pin config Krzysztof Kozlowski
2022-09-26 20:37 ` Rob Herring
2022-09-22 19:56 ` [PATCH 04/12] dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: " Krzysztof Kozlowski
2022-09-26 20:37 ` Rob Herring
2022-09-22 19:56 ` [PATCH 05/12] dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: " Krzysztof Kozlowski
2022-09-26 20:38 ` Rob Herring
2022-09-22 19:56 ` Krzysztof Kozlowski [this message]
2022-09-26 20:38 ` [PATCH 06/12] dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: " Rob Herring
2022-09-22 19:56 ` [PATCH 07/12] dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: add bias-bus-hold Krzysztof Kozlowski
2022-09-26 20:38 ` Rob Herring
2022-09-22 19:56 ` [PATCH 08/12] dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: add bias-bus-hold and input-enable Krzysztof Kozlowski
2022-09-23 9:31 ` Krzysztof Kozlowski
2022-09-23 10:31 ` Krzysztof Kozlowski
2022-09-26 20:41 ` Rob Herring
2022-09-22 19:56 ` [PATCH 09/12] arm64: dts: qcom: sc7280: drop clock-cells from LPASS TLMM Krzysztof Kozlowski
2022-09-22 19:56 ` [PATCH 10/12] arm64: dts: qcom: sc7280: align LPASS pin configuration with DT schema Krzysztof Kozlowski
2022-09-22 19:56 ` [PATCH 11/12] arm64: dts: qcom: sm8250: correct LPASS pin pull down Krzysztof Kozlowski
2022-09-22 19:56 ` [PATCH 12/12] arm64: dts: qcom: sm8250: align LPASS pin configuration with DT schema Krzysztof Kozlowski
2022-10-03 21:59 ` [PATCH 00/12] pinctrl/arm64: qcom: continued - fix Qualcomm LPASS pinctrl schema warnings Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220922195651.345369-7-krzysztof.kozlowski@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).