Re: [PATCH v2 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property

From: Ulf Hansson
Date: Wed Jun 02 2021 - 08:51:21 EST


On Wed, 2 Jun 2021 at 12:55, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 02-06-21, 12:45, Ulf Hansson wrote:
> > Alright, so it looks like we already have the DT binding that we need for this.
> >
> > That leaves us with the question, at what place should we parse it
> > (call of_get_required_opp_performance_state()) and set the performance
> > state for the device?
> >
> > Does it still make sense to do it while attaching the device to the
> > genpd, you think?
>
> For parsing, yes this is the right place. For getting that into
> effect, whenever the device is supposed to work, i.e. with runtime PM
> somehow.

Okay, thanks for confirming. That would be along the lines of what
Rajendra did in patch2.

Kind regards
Uffe