[WIP]: PM: domains: Keep domains enabled/unknown at boot enabled until sync state

Expand the is_off from pm_genpd_init to allow unknown state for
providers that do not have a way to read the actual state. Add the boot
status to the genpd struct to keep track of how it was left of at boot
stage and use it to determine if we should power off a domain that is in
on/unknown state.

NOTE: This does not solve yet the problem of disabling unused from late
initcall if the sync_state callback is not assign in the provider.
I'm still working on that.

Not-signed-off-by: Abel Vesa <abel.vesa@linaro.org>
2 files changed