From: =Xianwei Zhao <xianwei.zhao@amlogic.com>
To: <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-amlogic@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: [PATCH 3/3] arm64: dts: add support for C3 power domain controller
Date: Mon, 3 Jul 2023 17:31:42 +0800 [thread overview]
Message-ID: <20230703093142.2028500-4-xianwei.zhao@amlogic.com> (raw)
In-Reply-To: <20230703093142.2028500-1-xianwei.zhao@amlogic.com>
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Enable power domain controller for Amlogic C3 SoC
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
index 60ad4f3eef9d..826c51b1aff6 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
@@ -47,6 +47,16 @@ xtal: xtal-clk {
#clock-cells = <0>;
};
+ sm: secure-monitor {
+ compatible = "amlogic,meson-gxbb-sm";
+
+ pwrc: power-controller {
+ compatible = "amlogic,c3-pwrc";
+ #power-domain-cells = <1>;
+ status = "okay";
+ };
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <2>;
--
2.37.1
next prev parent reply other threads:[~2023-07-03 9:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 9:31 [PATCH 0/3] Power: C3: add power domain driver =Xianwei Zhao
2023-07-03 9:31 ` [PATCH 1/3] dt-bindings: power: add Amlogic C3 power domains =Xianwei Zhao
2023-07-03 13:12 ` Krzysztof Kozlowski
2023-07-04 2:09 ` Xianwei Zhao
2023-07-03 9:31 ` [PATCH 2/3] soc: c3: Add support for power domains controller =Xianwei Zhao
2023-07-03 13:29 ` Neil Armstrong
2023-07-03 19:37 ` Dmitry Rokosov
2023-07-04 2:43 ` Xianwei Zhao
2023-07-04 2:20 ` Xianwei Zhao
2023-07-03 9:31 ` =Xianwei Zhao [this message]
2023-07-03 13:12 ` [PATCH 3/3] arm64: dts: add support for C3 power domain controller Krzysztof Kozlowski
2023-07-04 2:23 ` Xianwei Zhao
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=20230703093142.2028500-4-xianwei.zhao@amlogic.com \
--to=xianwei.zhao@amlogic.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@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