From: Patrick Delaunay Date: Mon, 4 Feb 2019 10:26:15 +0000 (+0100) Subject: regulator: stpmu1: update buck1 range X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9772125130546115206d25b2dcd221f22355bad3;p=u-boot.git regulator: stpmu1: update buck1 range SW impact for Rev 1.2 of STPMIC1 in U-Boot: Buck converters output voltage change for Buck1 => Vdd min 0,725 to max 1,5V instead of 0.6V to 1.35V (see STPMIC1 datasheet / chapter 5.3 Buck converters) Signed-off-by: Patrick Delaunay --- diff --git a/drivers/power/regulator/stpmu1.c b/drivers/power/regulator/stpmu1.c index 6eb2420b6b..2e64051ac0 100644 --- a/drivers/power/regulator/stpmu1.c +++ b/drivers/power/regulator/stpmu1.c @@ -83,8 +83,9 @@ static int stpmu1_output_find_sel(int uv, */ static const struct stpmu1_range buck1_ranges[] = { - STPMU1_RANGE(600000, 0, 30, 25000), - STPMU1_RANGE(1350000, 31, 63, 0), + STPMU1_RANGE(725000, 0, 4, 0), + STPMU1_RANGE(725000, 5, 36, 25000), + STPMU1_RANGE(1500000, 37, 63, 0), }; static const struct stpmu1_range buck2_ranges[] = {