public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* da9030: ldo11 ignores disable
@ 2009-06-25 15:39 Jonathan Cameron
  2009-06-26  9:44 ` Liam Girdwood
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2009-06-25 15:39 UTC (permalink / raw)
  To: LKML, Mark Brown, Liam Girdwood, mike.rapoport, eric miao

Hi All,

Whilst testing a regulator machine config I've run into a weird issue.

The preliminary data sheet I have suggests that there are two enable
registers
for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
their own
or both cleared together). I can change the voltage just fine, but not
actually turn it off.

Anyone come across this problem or have any idea what is going on?

Thanks,

Jonathan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: da9030: ldo11 ignores disable
  2009-06-25 15:39 da9030: ldo11 ignores disable Jonathan Cameron
@ 2009-06-26  9:44 ` Liam Girdwood
  2009-06-26 10:17   ` Jonathan Cameron
  0 siblings, 1 reply; 6+ messages in thread
From: Liam Girdwood @ 2009-06-26  9:44 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: LKML, Mark Brown, mike.rapoport, eric miao

On Thu, 2009-06-25 at 15:39 +0000, Jonathan Cameron wrote:
> Hi All,
> 
> Whilst testing a regulator machine config I've run into a weird issue.
> 
> The preliminary data sheet I have suggests that there are two enable
> registers
> for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
> their own
> or both cleared together). I can change the voltage just fine, but not
> actually turn it off.
> 
> Anyone come across this problem or have any idea what is going on?

I've come across something similar in the past with two enable bits
causing I2C register cache coherency issues. The cache bits became out
of sync with reality and stopped some I2C writes happening.

Another option is that your hardware config doesn't allow ldo11 to be
disabled ?

HTH

Liam


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: da9030: ldo11 ignores disable
  2009-06-26  9:44 ` Liam Girdwood
@ 2009-06-26 10:17   ` Jonathan Cameron
  2009-07-03  7:46     ` Eric Miao
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2009-06-26 10:17 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: LKML, Mark Brown, mike.rapoport, eric miao

Liam Girdwood wrote:
> On Thu, 2009-06-25 at 15:39 +0000, Jonathan Cameron wrote:
>> Hi All,
>>
>> Whilst testing a regulator machine config I've run into a weird issue.
>>
>> The preliminary data sheet I have suggests that there are two enable
>> registers
>> for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
>> their own
>> or both cleared together). I can change the voltage just fine, but not
>> actually turn it off.
>>
>> Anyone come across this problem or have any idea what is going on?
> 
> I've come across something similar in the past with two enable bits
> causing I2C register cache coherency issues. The cache bits became out
> of sync with reality and stopped some I2C writes happening.
Don't thing that could happen here.
> 
> Another option is that your hardware config doesn't allow ldo11 to be
> disabled ?
Other than the obvious possibility that the hardware has a bug, I can't
seem to find a reason why this shouldn't work.

Thanks,

Jonathan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: da9030: ldo11 ignores disable
  2009-06-26 10:17   ` Jonathan Cameron
@ 2009-07-03  7:46     ` Eric Miao
  2009-07-14 15:17       ` Eric Miao
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Miao @ 2009-07-03  7:46 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Liam Girdwood, LKML, Mark Brown, mike.rapoport, Paul Shen,
	Haojian Zhuang

Jonathan Cameron wrote:
> Liam Girdwood wrote:
>> On Thu, 2009-06-25 at 15:39 +0000, Jonathan Cameron wrote:
>>> Hi All,
>>>
>>> Whilst testing a regulator machine config I've run into a weird issue.
>>>
>>> The preliminary data sheet I have suggests that there are two enable
>>> registers
>>> for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
>>> their own
>>> or both cleared together). I can change the voltage just fine, but not
>>> actually turn it off.
>>>
>>> Anyone come across this problem or have any idea what is going on?
>> I've come across something similar in the past with two enable bits
>> causing I2C register cache coherency issues. The cache bits became out
>> of sync with reality and stopped some I2C writes happening.
> Don't thing that could happen here.
>> Another option is that your hardware config doesn't allow ldo11 to be
>> disabled ?
> Other than the obvious possibility that the hardware has a bug, I can't
> seem to find a reason why this shouldn't work.
> 

I didn't meet this problem, Haojian & Paul, ever had this problem before?
Or try lookup the Errata for the Arava chip.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: da9030: ldo11 ignores disable
  2009-07-03  7:46     ` Eric Miao
@ 2009-07-14 15:17       ` Eric Miao
  2009-07-14 15:34         ` Jonathan Cameron
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Miao @ 2009-07-14 15:17 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Liam Girdwood, LKML, Mark Brown, mike.rapoport, Paul Shen,
	Haojian Zhuang

Eric Miao wrote:
> Jonathan Cameron wrote:
>> Liam Girdwood wrote:
>>> On Thu, 2009-06-25 at 15:39 +0000, Jonathan Cameron wrote:
>>>> Hi All,
>>>>
>>>> Whilst testing a regulator machine config I've run into a weird issue.
>>>>
>>>> The preliminary data sheet I have suggests that there are two enable
>>>> registers
>>>> for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
>>>> their own
>>>> or both cleared together). I can change the voltage just fine, but not
>>>> actually turn it off.
>>>>
>>>> Anyone come across this problem or have any idea what is going on?
>>> I've come across something similar in the past with two enable bits
>>> causing I2C register cache coherency issues. The cache bits became out
>>> of sync with reality and stopped some I2C writes happening.
>> Don't thing that could happen here.
>>> Another option is that your hardware config doesn't allow ldo11 to be
>>> disabled ?
>> Other than the obvious possibility that the hardware has a bug, I can't
>> seem to find a reason why this shouldn't work.
>>
> 
> I didn't meet this problem, Haojian & Paul, ever had this problem before?
> Or try lookup the Errata for the Arava chip.

Hi Jonathan,

Here's a hint, check register 0x1b - which looks suspicious to me to have
some side effects to LDO11.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: da9030: ldo11 ignores disable
  2009-07-14 15:17       ` Eric Miao
@ 2009-07-14 15:34         ` Jonathan Cameron
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2009-07-14 15:34 UTC (permalink / raw)
  To: Eric Miao
  Cc: Liam Girdwood, LKML, Mark Brown, mike.rapoport, Paul Shen,
	Haojian Zhuang

Eric Miao wrote:
> Eric Miao wrote:
>> Jonathan Cameron wrote:
>>> Liam Girdwood wrote:
>>>> On Thu, 2009-06-25 at 15:39 +0000, Jonathan Cameron wrote:
>>>>> Hi All,
>>>>>
>>>>> Whilst testing a regulator machine config I've run into a weird issue.
>>>>>
>>>>> The preliminary data sheet I have suggests that there are two enable
>>>>> registers
>>>>> for ldo11 but neither rctl22 or rctl11 seems to have any effect (on
>>>>> their own
>>>>> or both cleared together). I can change the voltage just fine, but not
>>>>> actually turn it off.
>>>>>
>>>>> Anyone come across this problem or have any idea what is going on?
>>>> I've come across something similar in the past with two enable bits
>>>> causing I2C register cache coherency issues. The cache bits became out
>>>> of sync with reality and stopped some I2C writes happening.
>>> Don't thing that could happen here.
>>>> Another option is that your hardware config doesn't allow ldo11 to be
>>>> disabled ?
>>> Other than the obvious possibility that the hardware has a bug, I can't
>>> seem to find a reason why this shouldn't work.
>>>
>> I didn't meet this problem, Haojian & Paul, ever had this problem before?
>> Or try lookup the Errata for the Arava chip.
> 
> Hi Jonathan,
> 
> Here's a hint, check register 0x1b - which looks suspicious to me to have
> some side effects to LDO11.
> 
Thanks Eric,

I'll have a play and see if this reg (start up control) effects the ability
to turn it off at other points.

Jonathan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-14 15:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 15:39 da9030: ldo11 ignores disable Jonathan Cameron
2009-06-26  9:44 ` Liam Girdwood
2009-06-26 10:17   ` Jonathan Cameron
2009-07-03  7:46     ` Eric Miao
2009-07-14 15:17       ` Eric Miao
2009-07-14 15:34         ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox