[PATCH 0/3] Regulator core fixes

From: Marco Felsch
Date: Tue Sep 17 2019 - 11:40:57 EST


Hi,

this series address several improvements I found during devel a
battery-powered device.

The first one address the usage count. IMHO it should be possible to
disable a boot-on marked regulator because the regulator can be left on
by the fw but it isn't forbidden to disable it.

The 2nd address a probe failure. I found that the only dts using
regulator-suspend-min/max-microvolt is the at91-sama5d2_xplained.dts and
this dt use the binding as described in the documentation.
Unfortunately the doc and the implementation are different.

The 3rd adds the support for EPROBE_DEFER.

Regards,
Marco

Marco Felsch (3):
regulator: core: fix boot-on regulators use_count usage
regulator: of: fix suspend-min/max-voltage parsing
regulator: core: make regulator_register() EPROBE_DEFER aware

drivers/regulator/core.c | 18 ++++++++++++++++++
drivers/regulator/of_regulator.c | 27 ++++++++++++++++++---------
2 files changed, 36 insertions(+), 9 deletions(-)

--
2.20.1