[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160711223958.GB6053@hector.attlocal.net>
Date: Mon, 11 Jul 2016 17:39:58 -0500
From: Andy Gross <andy.gross@...aro.org>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Bjorn Andersson <bjorn.andersson@...aro.org>
Subject: Re: [PATCH 3/3] regulator: qcom_smd: Avoid overlapping linear
voltage ranges
On Mon, Jul 11, 2016 at 02:50:09PM -0700, Stephen Boyd wrote:
> The pm8x41_hfsmps ranges overlap. The first range is from 375000
> to 1562500:
>
> 375000 + (95 * 12500) == 1562500
>
> and the second range starts at 1550000. Interestingly, the second
> range ends at the correct value when it's set to be the
> appropriate start value, 1575000:
>
> 1575000 + ((158 - 96) * 25000) == 3125000
>
> Cc: Andy Gross <andy.gross@...aro.org>
> Cc: Bjorn Andersson <bjorn.andersson@...aro.org>
> Fixes: da65e367b67e ("regulator: Regulator driver for the Qualcomm RPM")
> Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
> ---
Reviewed-by: Andy Gross <andy.gross@...aro.org>
Powered by blists - more mailing lists