[PATCH] soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader

Arnd Bergmann arnd at arndb.de
Thu Nov 9 02:42:46 PST 2017


On Thu, Nov 9, 2017 at 1:50 AM, Kevin Hilman <khilman at baylibre.com> wrote:
> Arnd, Olof,
>
> Neil Armstrong <narmstrong at baylibre.com> writes:
>
>> 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: 75fcb5ca4b46 ("soc: amlogic: add Meson GX VPU Domains driver")
>> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
>
> Tested-by: Kevin Hilman <khilman at baylibre.com>
>
> This fixes a patch that's currently in arm-soc next/drivers (or
> amlogic/drivers-2 to be precise.)
>
> If it's not too late, please feel free to apply directly.  If not, I
> will queue up for v4.15-rc fixes cycle.

Applied to next/drivers, thanks!

      Arnd



More information about the linux-arm-kernel mailing list