[PATCH 0/2] regulator: selector stepping for voltage regulators

From: Bartosz Golaszewski
Date: Wed Jul 03 2019 - 12:10:44 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Hi Mark, Liam,

I know this won't make it for v5.3, but I thought I'd send it already
for you to take a look. Some time ago we discussed implementing the
voltage stepping in the regulator core. Here's a first go at that.
The first user is the max77650 driver which actually uses it. I think
there are more drivers that could reuse it later if accepted.

Bartosz Golaszewski (2):
regulator: implement selector stepping
regulator: max77650: use vsel_step

drivers/regulator/core.c | 63 ++++++++++++++++++++++
drivers/regulator/max77650-regulator.c | 73 ++++----------------------
include/linux/regulator/driver.h | 6 +++
3 files changed, 78 insertions(+), 64 deletions(-)

--
2.21.0