* [RESEND PATCH] arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control
@ 2025-06-08 18:48 Sam Edwards
2025-06-09 11:11 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Sam Edwards @ 2025-06-08 18:48 UTC (permalink / raw)
To: Heiko Stuebner, Mark Brown, Ulf Hansson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sebastian Reichel
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, linux-pm,
devicetree, Liam Girdwood, Elaine Zhang,
Adrián Martínez Larumbe, Boris Brezillon, Peter Geis,
Tomeu Vizoso, Vignesh Raman, Daniel Kukieła, Sven Rademakers,
Joshua Riek, Sam Edwards, stable
The RK3588 GPU power domain cannot be activated unless the external
power regulator is already on. When GPU support was added to this DT,
we had no way to represent this requirement, so `regulator-always-on`
was added to the `vdd_gpu_s0` regulator in order to ensure stability.
A later patch series (see "Fixes:" commit) resolved this shortcoming,
but that commit left the workaround -- and rendered the comment above
it no longer correct.
Remove the workaround to allow the GPU power regulator to power off, now
that the DT includes the necessary information to power it back on
correctly.
Fixes: f94500eb7328b ("arm64: dts: rockchip: Add GPU power domain regulator dependency for RK3588")
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Cc: <stable@vger.kernel.org>
---
Hi friends,
This is a patch from about two weeks ago that I failed to address to all
relevant recipients, so I'm resending it with the recipients of the "Fixes:"
commit included, as I should have done originally.
The original thread had no discussion.
Well wishes,
Sam
---
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
index 60ad272982ad..6daea8961fdd 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
@@ -398,17 +398,6 @@ rk806_dvs3_null: dvs3-null-pins {
regulators {
vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
- /*
- * RK3588's GPU power domain cannot be enabled
- * without this regulator active, but it
- * doesn't have to be on when the GPU PD is
- * disabled. Because the PD binding does not
- * currently allow us to express this
- * relationship, we have no choice but to do
- * this instead:
- */
- regulator-always-on;
-
regulator-boot-on;
regulator-min-microvolt = <550000>;
regulator-max-microvolt = <950000>;
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RESEND PATCH] arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control
2025-06-08 18:48 [RESEND PATCH] arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control Sam Edwards
@ 2025-06-09 11:11 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2025-06-09 11:11 UTC (permalink / raw)
To: Mark Brown, Ulf Hansson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Sebastian Reichel, Sam Edwards
Cc: Heiko Stuebner, linux-rockchip, linux-arm-kernel, linux-kernel,
linux-pm, devicetree, Liam Girdwood, Elaine Zhang,
Adrián Martínez Larumbe, Boris Brezillon, Peter Geis,
Tomeu Vizoso, Vignesh Raman, Daniel Kukieła, Sven Rademakers,
Joshua Riek, Sam Edwards, stable
On Sun, 08 Jun 2025 11:48:55 -0700, Sam Edwards wrote:
> The RK3588 GPU power domain cannot be activated unless the external
> power regulator is already on. When GPU support was added to this DT,
> we had no way to represent this requirement, so `regulator-always-on`
> was added to the `vdd_gpu_s0` regulator in order to ensure stability.
> A later patch series (see "Fixes:" commit) resolved this shortcoming,
> but that commit left the workaround -- and rendered the comment above
> it no longer correct.
>
> [...]
Applied, thanks!
[1/1] arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control
commit: 5952996d5303c96702ef30ad30ec0a01acda46d4
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-09 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 18:48 [RESEND PATCH] arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control Sam Edwards
2025-06-09 11:11 ` 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).