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 <[email protected]>
---

 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

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to