Re: [PATCH] OPP: Fix handling of multiple power domains

From: Stephen Boyd
Date: Wed Mar 06 2019 - 13:03:03 EST


Quoting Rajendra Nayak (2019-03-05 20:07:26)
> We seem to rely on the number of phandles specified in the
> 'required-opps' property to identify cases where a device is
> associated with multiple power domains and hence would have
> multiple virtual devices that have to be dealt with.
>
> In cases where we do have devices with multiple power domains
> but with only one of them being scalable, this logic seems to
> fail.
>
> Instead read the number of power domains from DT to identify
> such cases.
>
> Signed-off-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>