Re: [PATCH v6 04/13] power: regulator: Add driver voltage clamp callback
Linus Walleij <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <CAD++jLnMUwRQdt23C-9YuWYrNWjX66F0gqnnj1hs0FHyC3B4VQ@mail.gmail.com> |
On Tue, Aug 25, 2026 at 9:04 PM Linus Walleij <[email protected]> wrote: > The regulator core can clamp a requested voltage against device tree > constraints, but it cannot account for discrete values supported by the > hardware. > > Add an optional set_value_clamp() driver callback. Apply the regulator > constraints in the core before asking the driver to select the closest > supported voltage in the resulting range. Drivers without the callback > retain the existing behavior. > > Signed-off-by: Linus Walleij <[email protected]> As Stephan mentioned, I forgot to actually use get_maintainers.pl :( CC the power maintainers to bring them in, will fix in next patch iteration, mea culpa. Yours, Linus Walleij