]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator...
authorSam Edwards <cfsworks@gmail.com>
Sun, 8 Jun 2025 18:48:55 +0000 (11:48 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 10 Jun 2025 11:15:53 +0000 (13:15 +0200)
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
Link: https://lore.kernel.org/r/20250608184855.130206-1-CFSworks@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi

index 60ad272982ad512d611f4eec0b4ef6d52322eb78..6daea8961fdd651584932e6309b13ddaca908de2 100644 (file)
 
                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>;