From: John Clark <inindev@gmail.com>
To: "Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
linux-rockchip@lists.infradead.org
Cc: John Clark <inindev@gmail.com>
Subject: [PATCH 1/2] arm64: dts: rockchip: support poweroff on the rock-5b
Date: Mon, 25 Dec 2023 10:20:29 +0000 [thread overview]
Message-ID: <20231225102030.10617-1-inindev@gmail.com> (raw)
In-Reply-To: <20231225090856.3890-1-inindev@gmail.com>
Allow the rock-5b to poweroff its pmic. When issuing a "shutdown -h now" on
the rock-5b it reboots instead. Using the 'system-power-controller' allows
the rk806 to power down instead.
Commit c699fbfdfd54630fc51b96da577f02e7b772eb37 similarly resolves this
issue for the nanopc-t6.
Signed-off-by: John Clark <inindev@gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 74719aaf697c..dc7b88f29172 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -426,6 +426,8 @@ pmic@0 {
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
<&rk806_dvs2_null>, <&rk806_dvs3_null>;
+ system-power-controller;
+
vcc1-supply = <&vcc5v0_sys>;
vcc2-supply = <&vcc5v0_sys>;
vcc3-supply = <&vcc5v0_sys>;
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2023-12-25 10:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-25 9:08 [PATCH 1/2] arm64: dts: rockchip: support poweroff on rock-5b John Clark
2023-12-25 9:08 ` [PATCH 2/2] arm64: dts: rockchip: correct gpio_pwrctrl1 typo John Clark
2023-12-25 9:19 ` Krzysztof Kozlowski
2023-12-25 9:19 ` [PATCH 1/2] arm64: dts: rockchip: support poweroff on rock-5b Krzysztof Kozlowski
2023-12-25 9:26 ` John Clark
2023-12-25 9:30 ` Krzysztof Kozlowski
2023-12-25 10:20 ` John Clark [this message]
2023-12-25 10:20 ` [PATCH 2/2] arm64: dts: rockchip: correct gpio_pwrctrl1 typo John Clark
2023-12-25 10:43 ` [PATCH 1/2] arm64: dts: rockchip: support poweroff on the rock-5b Krzysztof Kozlowski
2023-12-25 10:51 ` John Clark
2023-12-25 11:15 ` 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=20231225102030.10617-1-inindev@gmail.com \
--to=inindev@gmail.com \
--cc=conor+dt@kernel.org \
--cc=heiko@sntech.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-rockchip@lists.infradead.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