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

From: Viresh Kumar
Date: Wed Jun 02 2021 - 06:56:44 EST


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.

--
viresh