Re: [PATCH v2 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property
From: Ulf Hansson <hidden>
Date: 2021-06-02 12:51:21
Also in:
linux-arm-msm, linux-devicetree, lkml
From: Ulf Hansson <hidden>
Date: 2021-06-02 12:51:21
Also in:
linux-arm-msm, linux-devicetree, lkml
On Wed, 2 Jun 2021 at 12:55, Viresh Kumar [off-list ref] wrote:
On 02-06-21, 12:45, Ulf Hansson wrote:quoted
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