devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Marko <robimarko@gmail.com>
To: agross@kernel.org, andersson@kernel.org,
	konrad.dybcio@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	mturquette@baylibre.com, sboyd@kernel.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Cc: Robert Marko <robimarko@gmail.com>
Subject: [PATCH 3/3] arm64: dts: qcom: ipq6018: add USB power domains
Date: Wed, 25 Oct 2023 12:44:11 +0200	[thread overview]
Message-ID: <20231025104457.628109-3-robimarko@gmail.com> (raw)
In-Reply-To: <20231025104457.628109-1-robimarko@gmail.com>

Add USB power domains provided by GCC GDSCs.
Add the required #power-domain-cells to the GCC as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
index 846cd73c7436b..720f1eeaf0443 100644
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
@@ -402,6 +402,7 @@ gcc: gcc@1800000 {
 			clocks = <&xo>, <&sleep_clk>;
 			clock-names = "xo", "sleep_clk";
 			#clock-cells = <1>;
+			#power-domain-cells = <1>;
 			#reset-cells = <1>;
 		};
 
@@ -433,6 +434,9 @@ usb2: usb@70f8800 {
 					  <&gcc GCC_USB1_MOCK_UTMI_CLK>;
 			assigned-clock-rates = <133330000>,
 					       <24000000>;
+
+			power-domains = <&gcc USB1_GDSC>;
+
 			resets = <&gcc GCC_USB1_BCR>;
 			status = "disabled";
 
@@ -581,6 +585,8 @@ usb3: usb@8af8800 {
 					       <133330000>,
 					       <20000000>;
 
+			power-domains = <&gcc USB0_GDSC>;
+
 			resets = <&gcc GCC_USB0_BCR>;
 			status = "disabled";
 
-- 
2.41.0


  parent reply	other threads:[~2023-10-25 10:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-25 10:44 [PATCH 1/3] dt-bindings: clock: qcom: ipq6018: add USB GDSCs Robert Marko
2023-10-25 10:44 ` [PATCH 2/3] clk: " Robert Marko
2023-10-26 18:42   ` Konrad Dybcio
2023-10-26 18:45     ` Konrad Dybcio
2023-10-27  8:48       ` Robert Marko
2023-10-29 11:04   ` Robert Marko
2023-10-30 19:37     ` Konrad Dybcio
2023-10-30 20:37       ` Robert Marko
2023-10-30 21:12         ` Konrad Dybcio
2023-10-31  9:01           ` Robert Marko
2023-11-07 21:51             ` Konrad Dybcio
2023-11-11 11:28               ` Robert Marko
2023-11-13 11:58                 ` Konrad Dybcio
2023-11-13 12:50                   ` Robert Marko
2023-11-15 16:22                     ` Konrad Dybcio
2023-11-28 12:25                       ` Robert Marko
2023-11-01  7:57     ` Kathiravan Thirumoorthy
2023-10-25 10:44 ` Robert Marko [this message]
2023-10-25 12:44 ` [PATCH 1/3] dt-bindings: clock: " Krzysztof Kozlowski

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=20231025104457.628109-3-robimarko@gmail.com \
    --to=robimarko@gmail.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.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).