lkml.org 
[lkml]   [2019]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/9] Exynos Adaptive Supply Voltage support
On 19-08-19, 13:16, Sylwester Nawrocki wrote:
> On 8/19/19 11:09, Viresh Kumar wrote:
> > Will something like this help ?
> >
> > https://lore.kernel.org/lkml/1442623929-4507-3-git-send-email-sboyd@codeaurora.org/
> >
> > This never got merged but the idea was AVS only.
>
> It's quite interesting work, it seems to be for a more advanced use case
> where OPP voltage is being adjusted at runtime.
>
> We could use it instead of removing an OPP and then adding with updated
> voltage. On Exynos there is there is just a need to update OPPs once at boot
> time, so it is more "static". However the requirements could presumably
> change in future.

The API is about changing the values after they are parsed once from DT. You can
change it once or multiple times depending on the use case.

> If that's your preference I could switch to that notifier approach.

You shouldn't be required to use the notifier. Just add the OPP table and update
the values right after that. So no one would be using the values at that time.

> AFAICS the API would still need to be extended to support multiple voltages,
> when in future we add support for the Body Bias regulator.

Right.

Will this patchset solve the problems for you and make your DT light weight ?

--
viresh

\
 
 \ /
  Last update: 2019-08-19 13:25    [W:1.016 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site