]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: rk3399_dmc: Block PMU during transitions
authorBrian Norris <briannorris@chromium.org>
Wed, 6 Apr 2022 01:48:42 +0000 (18:48 -0700)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 8 May 2022 18:38:07 +0000 (03:38 +0900)
commit7bf29541798755911ef1dc0c1ef01ea825ef123a
treeb3a244ec01e25c91a720d4a33a70476fdac2ef8b
parent11f59a66a26bf4399364b993d9607891febddb70
PM / devfreq: rk3399_dmc: Block PMU during transitions

See the previous patch ("soc: rockchip: power-domain: Manage resource
conflicts with firmware") for a thorough explanation of the conflicts.
While ARM Trusted Firmware may be modifying memory controller and
power-domain states, we need to block the kernel's power-domain driver.

If the power-domain driver is disabled, there is no resource conflict
and this becomes a no-op.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/rk3399_dmc.c