From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Delaunay Date: Mon, 4 Feb 2019 11:26:15 +0100 Subject: [U-Boot] [PATCH 1/8] regulator: stpmu1: update buck1 range In-Reply-To: <1549275982-15102-1-git-send-email-patrick.delaunay@st.com> References: <1549275982-15102-1-git-send-email-patrick.delaunay@st.com> Message-ID: <1549275982-15102-2-git-send-email-patrick.delaunay@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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