summaryrefslogtreecommitdiff
path: root/drivers/power/regulator
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-04 11:26:15 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2019-04-12 16:09:13 +0200
commit9772125130546115206d25b2dcd221f22355bad3 (patch)
tree7a0b8a5a185b5087712d2b4224e32fff4cc2b4c5 /drivers/power/regulator
parent17f1f9b17672bf6d3c9ce37f7cb370cd8b6132d1 (diff)
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 <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/power/regulator')
-rw-r--r--drivers/power/regulator/stpmu1.c5
1 files changed, 3 insertions, 2 deletions
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[] = {