]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: rockchip: vdd_gpu off in suspend for rk3288-veyron
authorDouglas Anderson <dianders@chromium.org>
Thu, 11 Apr 2019 23:21:57 +0000 (16:21 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 12 Apr 2019 20:28:38 +0000 (22:28 +0200)
At some point long long ago the downstream GPU driver would crash if
we turned the GPU off during suspend.  For some context you can see:

https://chromium-review.googlesource.com/#/c/215780/5..6/arch/arm/boot/dts/rk3288-pinky-rev2.dts

At some point in time not too long after that got fixed.

It's unclear why the GPU is left enabled during suspend on the
mainline kernel.  Everything seems fine if I turn this off, so let's
do it.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron.dtsi

index 35755870bf6626daa5a0df9dd00ee8726c3a10b2..758fe225c702c828a4809c366d317727401075da 100644 (file)
                                regulator-max-microvolt = <1250000>;
                                regulator-ramp-delay = <6001>;
                                regulator-state-mem {
-                                       regulator-on-in-suspend;
-                                       regulator-suspend-microvolt = <1000000>;
+                                       regulator-off-in-suspend;
                                };
                        };