Re: [PATCH v6 2/6] power-domain: allow domains only handling idle requests

From: Heiko Stübner
Date: Mon Mar 28 2016 - 06:09:52 EST


Am Donnerstag, 10. März 2016, 05:22:54 schrieb Elaine Zhang:
> On some Rockchip SoC there exist child-domains only handling their
> idle state with the actual power-state handled by a parent-domain.
>
> So allow such types of domains. For them, we can determine their
> state (on/of) by checking the inverse idle-state instead.
>
> There exist one special case if both idle as well power handling
> were set as not present, but as the domain-data is defined in the
> code itself, we can expect the reasonable developer to define them
>
> So allow such types of domains. For them, we can determine their
> state (on/of) by checking the inverse idle-state instead.
>
> There exist one special case if both idle as well power handling
> were set as not present, but as the domain-data is defined in the
> code itself, we can expect the reasonable developer to define them
> in a correct, without adding more checks.
>
> Signed-off-by: Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>

applied to my armsoc/drivers branch for 4.7


Thanks
Heiko