* [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode
@ 2013-04-18 16:53 Axel Lin
2013-04-18 17:29 ` Laxman Dewangan
2013-04-18 17:36 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-04-18 16:53 UTC (permalink / raw)
To: Mark Brown; +Cc: Laxman Dewangan, Graeme Gregory, Liam Girdwood, linux-kernel
When SMPS45 is set to off and LDO8 tracking is enabled, the output voltage can
be set from 0.45 to 1.65 V. Thus set min_uV to be 450000.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
Hi Laxman,
My understanding is based on your comment in the code.
/*
* When SMPS45 is set to off and LDO8 tracking is enabled, the LDO8
* output is defined by the LDO8_VOLTAGE.VSEL register divided by two,
* and can be set from 0.45 to 1.65 V.
*/
Can you confirm if this patch is correct or not?
Axel
drivers/regulator/palmas-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index d6efaf1..452d987 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -886,6 +886,7 @@ static int palmas_regulators_probe(struct platform_device *pdev)
if (pdata && (id == PALMAS_REG_LDO8) &&
pdata->enable_ldo8_tracking) {
palmas_enable_ldo8_track(palmas);
+ pmic->desc[id].min_uV = 450000;
pmic->desc[id].uV_step = 25000;
}
} else {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode
2013-04-18 16:53 [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode Axel Lin
@ 2013-04-18 17:29 ` Laxman Dewangan
2013-04-18 17:36 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2013-04-18 17:29 UTC (permalink / raw)
To: Axel Lin
Cc: Mark Brown, Graeme Gregory, Liam Girdwood,
linux-kernel@vger.kernel.org
On Thursday 18 April 2013 10:23 PM, Axel Lin wrote:
> When SMPS45 is set to off and LDO8 tracking is enabled, the output voltage can
> be set from 0.45 to 1.65 V. Thus set min_uV to be 450000.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> Hi Laxman,
> My understanding is based on your comment in the code.
> /*
> * When SMPS45 is set to off and LDO8 tracking is enabled, the LDO8
> * output is defined by the LDO8_VOLTAGE.VSEL register divided by two,
> * and can be set from 0.45 to 1.65 V.
> */
>
> Can you confirm if this patch is correct or not?
Yes, this is correct.
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Unfortunately the PMIC device which we have is having bug for which we
are disabling tracking before going to suspend and enabling again in
resume and hence it is not
caught. I will pull this change to my downstream also.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode
2013-04-18 16:53 [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode Axel Lin
2013-04-18 17:29 ` Laxman Dewangan
@ 2013-04-18 17:36 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2013-04-18 17:36 UTC (permalink / raw)
To: Axel Lin; +Cc: Laxman Dewangan, Graeme Gregory, Liam Girdwood, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
On Fri, Apr 19, 2013 at 12:53:52AM +0800, Axel Lin wrote:
> When SMPS45 is set to off and LDO8 tracking is enabled, the output voltage can
> be set from 0.45 to 1.65 V. Thus set min_uV to be 450000.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-18 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 16:53 [PATCH RFT] regulator: palmas: Fix min_uV for LDO8 tracking mode Axel Lin
2013-04-18 17:29 ` Laxman Dewangan
2013-04-18 17:36 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).