OpenCloudOS-Kernel/drivers/soc/amlogic
Neil Armstrong 339cd0ea08 soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader
In the case the VPU power domain has been powered on by the bootloader
and no driver are attached to this power domain, the genpd will power it
off after a certain amount of time, but the clocks hasn't been enabled
by the kernel itself and the power-off will trigger some faults.
This patch enable the clocks to have a coherent state for an eventual
poweroff and switches to the pm_domain_always_on_gov governor.

Fixes: 75fcb5ca4b ("soc: amlogic: add Meson GX VPU Domains driver")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-11-09 11:42:17 +01:00
..
Kconfig soc: amlogic: gx pm domain: add PM and OF dependencies 2017-11-02 23:43:55 +01:00
Makefile soc: amlogic: add Meson GX VPU Domains driver 2017-10-29 07:25:53 -07:00
meson-gx-pwrc-vpu.c soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader 2017-11-09 11:42:17 +01:00
meson-gx-socinfo.c
meson-mx-socinfo.c soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information driver 2017-10-06 15:36:17 -07:00