Thread (9 messages) 9 messages, 4 authors, 2021-08-16

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

flat view

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-08-16 16:47:53
Also in: linux-arm-msm, linux-pm, lkml

On Thu, Aug 12, 2021 at 1:46 PM Ulf Hansson [off-list ref] wrote:
On Thu, 12 Aug 2021 at 13:28, Rajendra Nayak [off-list ref] wrote:
quoted
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 <redacted>
Reviewed-by: Ulf Hansson <redacted>
All three patches applied as 5.15 material, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help