[U-Boot] [PATCH 0/3] Introduce regulator_set_enable_if_allowed()

Lokesh Vutla lokeshvutla at ti.com
Mon Jan 7 06:13:12 UTC 2019


As per the discussion happenned here[1], introducing a new api
regulator_set_enable_if_allowed() that discards certain error
cases where consumer driver might not be intrested in. Also
using the same api for omap_hsmmc driver which fixes the boot
on dra7-evm.

[1] https://patchwork.ozlabs.org/patch/1018222/

Lokesh Vutla (3):
  Revert "power: regulator: Return success on attempt to disable an
    always-on regulator"
  power: regulator: Introduce regulator_set_enable_if_allowed api
  mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for enabling
    regulator

 drivers/mmc/omap_hsmmc.c                   | 16 ++++++++--------
 drivers/power/regulator/regulator-uclass.c | 13 ++++++++++++-
 include/power/regulator.h                  | 11 +++++++++++
 3 files changed, 31 insertions(+), 9 deletions(-)

-- 
2.19.2



More information about the U-Boot mailing list