Re: [PATCH V8 0/3] OPP: Allow OPP table to be used for power-domains

From: Viresh Kumar
Date: Wed Jan 03 2018 - 02:21:05 EST


On 18-12-17, 15:51, Viresh Kumar wrote:
> Hi,
>
> Now that the performance state of PM domains are supported by the kernel
> (merged in linux-next), I am trying once again to define the bindings
> which we dropped until the code is merged first.
>
> Summary:
>
> Power-domains can also have their active states and this patchset
> enhances the OPP binding to define those.
>
> The power domains can use the OPP bindings mostly as is. Though there
> are some changes required to support special cases:
>
> - Allow "operating-points-v2" to contain multiple phandles for power
> domain providers providing multiple domains.
>
> - A new property "required-opp" is added for the devices to specify the
> minimum required OPP of the master domain or any other type of device.
>
> - Allow some of the OPP properties to accept magic values (firmware
> dependent) as the OS doesn't know the real freq/voltage values.
>
> V7->V8:
> - V7 1/2 divided into two patches. 1/3 is unchanged from V7.
> - 2/3 renamed the property from "power-domain-opp" to "required-opp", as
> suggested by Rob.
> - Added Ulf's reviewed-by for 1/3 and 3/3.
>
> --
> viresh
>
> Viresh Kumar (3):
> OPP: Allow OPP table to be used for power-domains
> OPP: Introduce "required-opp" property

> OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values

Discussions are still going on for the last commit, though the first
two are already Acked by Rob and Ulf and are quite independent of the
third one.

Any objections to getting the first two merged for 4.16-rc1 ? I will
send them to Rafael on Friday if no one objects.

--
viresh