devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Designate Turing RK1's system power controller
@ 2024-09-12 18:01 Sam Edwards
  2024-09-30 10:55 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Edwards @ 2024-09-12 18:01 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ondrej Jirman,
	Chris Morgan, Alex Zhao, Dragan Simic, FUKAUMI Naoki,
	Sebastian Reichel, Jing Luo, Kever Yang, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel,
	Daniel Kukieła, Joshua Riek, Sam Edwards

Currently, the Turing RK1 board reboots when told to power off.

Resolve this by designating the RK806 as the system power controller, so
that the relevant driver can handle system shutdown requests.

Fixes: 2806a69f3f ("arm64: dts: rockchip: Add Turing RK1 SoM support")
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
index dbaa94ca69f4..33bd1bce2eae 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
@@ -289,6 +289,7 @@ pmic@0 {
 		compatible = "rockchip,rk806";
 		spi-max-frequency = <1000000>;
 		reg = <0x0>;
+		system-power-controller;
 
 		interrupt-parent = <&gpio0>;
 		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
-- 
2.44.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: rockchip: Designate Turing RK1's system power controller
  2024-09-12 18:01 [PATCH] arm64: dts: rockchip: Designate Turing RK1's system power controller Sam Edwards
@ 2024-09-30 10:55 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2024-09-30 10:55 UTC (permalink / raw)
  To: Sam Edwards
  Cc: Heiko Stuebner, Krzysztof Kozlowski, Rob Herring,
	linux-arm-kernel, Kever Yang, Alex Zhao, Sebastian Reichel,
	linux-kernel, Daniel Kukieła, Ondrej Jirman, Dragan Simic,
	Sam Edwards, linux-rockchip, FUKAUMI Naoki, Jing Luo, devicetree,
	Chris Morgan, Joshua Riek, Conor Dooley

On Thu, 12 Sep 2024 11:01:48 -0700, Sam Edwards wrote:
> Currently, the Turing RK1 board reboots when told to power off.
> 
> Resolve this by designating the RK806 as the system power controller, so
> that the relevant driver can handle system shutdown requests.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: Designate Turing RK1's system power controller
      commit: ab3cf1ab3fdbf1d05f23c810d767a3ddde4ef177

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-30 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 18:01 [PATCH] arm64: dts: rockchip: Designate Turing RK1's system power controller Sam Edwards
2024-09-30 10:55 ` Heiko Stuebner

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).