Re: [PATCH v7 2/3] PM / Domains: Add support for 'required-opps' to set default perf state

From: Rafael J. Wysocki
Date: Mon Aug 16 2021 - 12:48:20 EST


On Thu, Aug 12, 2021 at 1:46 PM Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>
> On Thu, 12 Aug 2021 at 13:28, Rajendra Nayak <rnayak@xxxxxxxxxxxxxx> wrote:
> >
> > Some devices within power domains with performance states do not
> > support DVFS, but still need to vote on a default/static state
> > while they are active. They can express this using the 'required-opps'
> > property in device tree, which points to the phandle of the OPP
> > supported by the corresponding power-domains.
> >
> > Add support to parse this information from DT and then set the
> > specified performance state during attach and drop it on detach.
> > runtime suspend/resume callbacks already have logic to drop/set
> > the vote as needed and should take care of dropping the default
> > perf state vote on runtime suspend and restore it back on runtime
> > resume.
> >
> > Signed-off-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
>
> Reviewed-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>

All three patches applied as 5.15 material, thanks!