[U-Boot] [PATCH 1/8] regulator: stpmu1: update buck1 range

Patrick Delaunay patrick.delaunay at st.com
Mon Feb 4 10:26:15 UTC 2019


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 at st.com>
---

 drivers/power/regulator/stpmu1.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/power/regulator/stpmu1.c b/drivers/power/regulator/stpmu1.c
index 6eb2420..2e64051 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[] = {
-- 
2.7.4



More information about the U-Boot mailing list