public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* PM branch updates: 3430sdp and omap3evm results
@ 2009-01-27 18:16 Kevin Hilman
  2009-01-27 19:29 ` Koen Kooi
  2009-02-01 14:05 ` Ramesh Gupta Guntha
  0 siblings, 2 replies; 18+ messages in thread
From: Kevin Hilman @ 2009-01-27 18:16 UTC (permalink / raw)
  To: linux-omap

Hello,

I've updated the PM branch with a couple of fixes that get it working
on the 3430SDP.

For it to work on the SDP, you need the latest u-boot from the
omapzoom u-boot tree[1].  This fixes the problems I was having with
the D2D clockdomain remaining active or hanging upon clock disable.

For omap3evm, it is not hitting retention because it uses the GPIO
debounce feature for the touchscreen and the GPIO debounce clocks are
not disabled in idle or suspend.  As a temporary hack, you can test
the patch below[2] which simply doesn't call the gpio debounce
functions for the touchscreen.  In the meantime, I'm working on a
patch to disable the debounce clocks on idle.

Kevin

[1] git://git.omapzoom.org/repo/u-boot.git

[2]
da7df18bc7f5648ac7fe6e674065ca5899ff8d3d
 arch/arm/mach-omap2/board-omap3evm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index 6fbbe95..18a07b5 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -176,8 +176,8 @@ static void ads7846_dev_init(void)
 
 	gpio_direction_input(OMAP3_EVM_TS_GPIO);
 
-	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1);
-	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa);
+/* 	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1); */
+/* 	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa); */
 }
 

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-01-27 18:16 PM branch updates: 3430sdp and omap3evm results Kevin Hilman
@ 2009-01-27 19:29 ` Koen Kooi
  2009-01-27 19:52   ` Kevin Hilman
  2009-02-01 14:05 ` Ramesh Gupta Guntha
  1 sibling, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2009-01-27 19:29 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]


Op 27 jan 2009, om 19:16 heeft Kevin Hilman het volgende geschreven:

> Hello,
>
> I've updated the PM branch with a couple of fixes that get it working
> on the 3430SDP.

Any chance of the beagle cpufreq patch ending up in the branch?

regards,

Koen


>
>
> For it to work on the SDP, you need the latest u-boot from the
> omapzoom u-boot tree[1].  This fixes the problems I was having with
> the D2D clockdomain remaining active or hanging upon clock disable.
>
> For omap3evm, it is not hitting retention because it uses the GPIO
> debounce feature for the touchscreen and the GPIO debounce clocks are
> not disabled in idle or suspend.  As a temporary hack, you can test
> the patch below[2] which simply doesn't call the gpio debounce
> functions for the touchscreen.  In the meantime, I'm working on a
> patch to disable the debounce clocks on idle.
>
> Kevin
>
> [1] git://git.omapzoom.org/repo/u-boot.git
>
> [2]
> da7df18bc7f5648ac7fe6e674065ca5899ff8d3d
> arch/arm/mach-omap2/board-omap3evm.c |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach- 
> omap2/board-omap3evm.c
> index 6fbbe95..18a07b5 100644
> --- a/arch/arm/mach-omap2/board-omap3evm.c
> +++ b/arch/arm/mach-omap2/board-omap3evm.c
> @@ -176,8 +176,8 @@ static void ads7846_dev_init(void)
>
> 	gpio_direction_input(OMAP3_EVM_TS_GPIO);
>
> -	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1);
> -	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa);
> +/* 	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1); */
> +/* 	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa); */
> }
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-01-27 19:29 ` Koen Kooi
@ 2009-01-27 19:52   ` Kevin Hilman
  2009-01-27 20:00     ` Koen Kooi
  0 siblings, 1 reply; 18+ messages in thread
From: Kevin Hilman @ 2009-01-27 19:52 UTC (permalink / raw)
  To: Koen Kooi; +Cc: linux-omap

Koen Kooi <k.kooi@student.utwente.nl> writes:

> Op 27 jan 2009, om 19:16 heeft Kevin Hilman het volgende geschreven:
>
>> Hello,
>>
>> I've updated the PM branch with a couple of fixes that get it working
>> on the 3430SDP.
>
> Any chance of the beagle cpufreq patch ending up in the branch?
>

Yes, a 100% chance.  :)

I reworked the version you sent me to use a common header for the
rates since it was shared between beagle and SDP.

Just pushed it to my pm branch[1].

NOTE: Tony's tree wont sync yet for while, so I recomment you pull
straight from mine.  Also, I just pushed this, so the git.kernel.org
mirrors might take some time to sync up as well.

The tip of the branch should now be:
OMAP3: PM: add common OPP definitions and use them on Beagle

Kevin

[1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary
>>
>>
>> For it to work on the SDP, you need the latest u-boot from the
>> omapzoom u-boot tree[1].  This fixes the problems I was having with
>> the D2D clockdomain remaining active or hanging upon clock disable.
>>
>> For omap3evm, it is not hitting retention because it uses the GPIO
>> debounce feature for the touchscreen and the GPIO debounce clocks are
>> not disabled in idle or suspend.  As a temporary hack, you can test
>> the patch below[2] which simply doesn't call the gpio debounce
>> functions for the touchscreen.  In the meantime, I'm working on a
>> patch to disable the debounce clocks on idle.
>>
>> Kevin
>>
>> [1] git://git.omapzoom.org/repo/u-boot.git
>>
>> [2]
>> da7df18bc7f5648ac7fe6e674065ca5899ff8d3d
>> arch/arm/mach-omap2/board-omap3evm.c |    4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach- 
>> omap2/board-omap3evm.c
>> index 6fbbe95..18a07b5 100644
>> --- a/arch/arm/mach-omap2/board-omap3evm.c
>> +++ b/arch/arm/mach-omap2/board-omap3evm.c
>> @@ -176,8 +176,8 @@ static void ads7846_dev_init(void)
>>
>> 	gpio_direction_input(OMAP3_EVM_TS_GPIO);
>>
>> -	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1);
>> -	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa);
>> +/* 	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1); */
>> +/* 	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa); */
>> }
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux- 
>> omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-01-27 19:52   ` Kevin Hilman
@ 2009-01-27 20:00     ` Koen Kooi
  0 siblings, 0 replies; 18+ messages in thread
From: Koen Kooi @ 2009-01-27 20:00 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

[-- Attachment #1: Type: text/plain, Size: 2719 bytes --]


Op 27 jan 2009, om 20:52 heeft Kevin Hilman het volgende geschreven:

> Koen Kooi <k.kooi@student.utwente.nl> writes:
>
>> Op 27 jan 2009, om 19:16 heeft Kevin Hilman het volgende geschreven:
>>
>>> Hello,
>>>
>>> I've updated the PM branch with a couple of fixes that get it  
>>> working
>>> on the 3430SDP.
>>
>> Any chance of the beagle cpufreq patch ending up in the branch?
>>
>
> Yes, a 100% chance.  :)
>
> I reworked the version you sent me to use a common header for the
> rates since it was shared between beagle and SDP.
>
> Just pushed it to my pm branch[1].

Thanks! I checked 15 minutes ago, just before you pushed it :)

regards,

Koen

>
>
> NOTE: Tony's tree wont sync yet for while, so I recomment you pull
> straight from mine.  Also, I just pushed this, so the git.kernel.org
> mirrors might take some time to sync up as well.
>
> The tip of the branch should now be:
> OMAP3: PM: add common OPP definitions and use them on Beagle
>
> Kevin
>
> [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary
>>>
>>>
>>> For it to work on the SDP, you need the latest u-boot from the
>>> omapzoom u-boot tree[1].  This fixes the problems I was having with
>>> the D2D clockdomain remaining active or hanging upon clock disable.
>>>
>>> For omap3evm, it is not hitting retention because it uses the GPIO
>>> debounce feature for the touchscreen and the GPIO debounce clocks  
>>> are
>>> not disabled in idle or suspend.  As a temporary hack, you can test
>>> the patch below[2] which simply doesn't call the gpio debounce
>>> functions for the touchscreen.  In the meantime, I'm working on a
>>> patch to disable the debounce clocks on idle.
>>>
>>> Kevin
>>>
>>> [1] git://git.omapzoom.org/repo/u-boot.git
>>>
>>> [2]
>>> da7df18bc7f5648ac7fe6e674065ca5899ff8d3d
>>> arch/arm/mach-omap2/board-omap3evm.c |    4 ++--
>>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-
>>> omap2/board-omap3evm.c
>>> index 6fbbe95..18a07b5 100644
>>> --- a/arch/arm/mach-omap2/board-omap3evm.c
>>> +++ b/arch/arm/mach-omap2/board-omap3evm.c
>>> @@ -176,8 +176,8 @@ static void ads7846_dev_init(void)
>>>
>>> 	gpio_direction_input(OMAP3_EVM_TS_GPIO);
>>>
>>> -	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1);
>>> -	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa);
>>> +/* 	omap_set_gpio_debounce(OMAP3_EVM_TS_GPIO, 1); */
>>> +/* 	omap_set_gpio_debounce_time(OMAP3_EVM_TS_GPIO, 0xa); */
>>> }
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-
>>> omap" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>


[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-01-27 18:16 PM branch updates: 3430sdp and omap3evm results Kevin Hilman
  2009-01-27 19:29 ` Koen Kooi
@ 2009-02-01 14:05 ` Ramesh Gupta Guntha
  2009-02-04  5:34   ` Ramesh Gupta Guntha
  1 sibling, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-01 14:05 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Hi Kevin,


On 1/27/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> Hello,
>
> I've updated the PM branch with a couple of fixes that get it working
> on the 3430SDP.
>
> For it to work on the SDP, you need the latest u-boot from the
> omapzoom u-boot tree[1].  This fixes the problems I was having with
> the D2D clockdomain remaining active or hanging upon clock disable.

I have tested this on my 3430SDP, I am seeing all domains hitting the off mode.

But I am seeing some issues while waking up iva domain after suspend.

There are couple of cases.

1. after booting the kernel
I run
echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/enable_off_mode

and
echo mem > /sys/power/state
# echo mem > /sys/power/state
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... done.
done.
Freezing user space processes ... Freezing user space processes ... (elapsed 0.0
0 seconds) (elapsed 0.00 seconds) done.
done.
Freezing remaining freezable tasks ... Freezing remaining freezable tasks ... (e
lapsed 0.00 seconds) (elapsed 0.00 seconds) done.done.

Suspending console(s) (use no_console_suspend to debug)
Suspending console(s) (use no_console_suspend to debug)
<6>Successfully put all powerdomains to target state
Successfully put all powerdomains to target state
Restarting tasks ... Restarting tasks ... done.
done.
#

If I install bridgedriver and enable iva2 clock I am getting below messages
clock: dpll2_ck failed transition to 'locked'

<3>clock: dpll2_ck failed transition to 'locked'
clock: dpll2_ck failed transition to 'locked'
<3>clock: dpll2_ck failed transition to 'locked'
clock: dpll2_ck failed transition to 'locked'

2. I run below commands as soon as kernel is booted.
echo 1 > /sys/power/clocks_off_while_idle
echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/enable_off_mode

installed bridge driver, loaded an dsp image(which also enables
iva2_ck, gpt6_ick/fck, mail box clocks)



I run system suspend, I am seeing all powerdomains enters into OFF
mode, but after this I am not able to wakeup iva domain, I reenabled
clocks but no use.

3. Without the option
echo 1 > /sys/power/clocks_off_while_idle every thing works fine but
perdomain is not hitting the off mode.


Please let me know any thoghts on these issues I am seeing.

-- 
Thanks
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-01 14:05 ` Ramesh Gupta Guntha
@ 2009-02-04  5:34   ` Ramesh Gupta Guntha
  2009-02-04  5:42     ` Kevin Hilman
  0 siblings, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-04  5:34 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Hi,

 I am able to resolve all other issues with this pm branch except one issue,

I am not able to enable the iva2 clock once system is suspended and
resumed, I am getting below messages.
>
> <3>clock: dpll2_ck failed transition to 'locked'
> clock: dpll2_ck failed transition to 'locked'
> <3>clock: dpll2_ck failed transition to 'locked'
> clock: dpll2_ck failed transition to 'locked'

Once after booting ( without adding bridgedriver/ installing bridgedriver)
CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.

once after system suspend the value is not restored I am seeing that as
 0x11 indicates IVA2 DPLL is low power stop mode.

Can any one please provide your inputs on the above error? I tried
reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
the same messages as above while enabling iva2 clock.

thanks & regards
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  5:34   ` Ramesh Gupta Guntha
@ 2009-02-04  5:42     ` Kevin Hilman
  2009-02-04  5:44       ` Ramesh Gupta Guntha
  0 siblings, 1 reply; 18+ messages in thread
From: Kevin Hilman @ 2009-02-04  5:42 UTC (permalink / raw)
  To: Ramesh Gupta Guntha; +Cc: linux-omap

Ramesh Gupta Guntha <grgupta77@gmail.com> writes:

> Hi,
>
>  I am able to resolve all other issues with this pm branch except one issue,
>
> I am not able to enable the iva2 clock once system is suspended and
> resumed, I am getting below messages.
>>
>> <3>clock: dpll2_ck failed transition to 'locked'
>> clock: dpll2_ck failed transition to 'locked'
>> <3>clock: dpll2_ck failed transition to 'locked'
>> clock: dpll2_ck failed transition to 'locked'
>
> Once after booting ( without adding bridgedriver/ installing bridgedriver)
> CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
>
> once after system suspend the value is not restored I am seeing that as
>  0x11 indicates IVA2 DPLL is low power stop mode.
>
> Can any one please provide your inputs on the above error? I tried
> reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
> the same messages as above while enabling iva2 clock.

Are you suspending into retention or off-mode?

Kevin


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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  5:42     ` Kevin Hilman
@ 2009-02-04  5:44       ` Ramesh Gupta Guntha
  2009-02-04  6:10         ` Kevin Hilman
  0 siblings, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-04  5:44 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Kevin,


On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>
> > Hi,
> >
> >  I am able to resolve all other issues with this pm branch except one issue,
> >
> > I am not able to enable the iva2 clock once system is suspended and
> > resumed, I am getting below messages.
> >>
> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> clock: dpll2_ck failed transition to 'locked'
> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> clock: dpll2_ck failed transition to 'locked'
> >
> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
> >
> > once after system suspend the value is not restored I am seeing that as
> >  0x11 indicates IVA2 DPLL is low power stop mode.
> >
> > Can any one please provide your inputs on the above error? I tried
> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
> > the same messages as above while enabling iva2 clock.
>
> Are you suspending into retention or off-mode?

I am suspending into Off mode.

regards
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  5:44       ` Ramesh Gupta Guntha
@ 2009-02-04  6:10         ` Kevin Hilman
  2009-02-04  6:24           ` Ramesh Gupta Guntha
  2009-02-04  6:34           ` jouni.hogander
  0 siblings, 2 replies; 18+ messages in thread
From: Kevin Hilman @ 2009-02-04  6:10 UTC (permalink / raw)
  To: Ramesh Gupta Guntha; +Cc: linux-omap

Ramesh Gupta Guntha <grgupta77@gmail.com> writes:

> Kevin,
>
>
> On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>>
>> > Hi,
>> >
>> >  I am able to resolve all other issues with this pm branch except one issue,
>> >
>> > I am not able to enable the iva2 clock once system is suspended and
>> > resumed, I am getting below messages.
>> >>
>> >> <3>clock: dpll2_ck failed transition to 'locked'
>> >> clock: dpll2_ck failed transition to 'locked'
>> >> <3>clock: dpll2_ck failed transition to 'locked'
>> >> clock: dpll2_ck failed transition to 'locked'
>> >
>> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
>> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
>> >
>> > once after system suspend the value is not restored I am seeing that as
>> >  0x11 indicates IVA2 DPLL is low power stop mode.
>> >
>> > Can any one please provide your inputs on the above error? I tried
>> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
>> > the same messages as above while enabling iva2 clock.
>>
>> Are you suspending into retention or off-mode?
>
> I am suspending into Off mode.
>

Do you see this problem when only going into retention?

If not, sounds like we're missing some registers being saved/restored
across off-mode.

Kevin

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  6:10         ` Kevin Hilman
@ 2009-02-04  6:24           ` Ramesh Gupta Guntha
  2009-02-05 14:34             ` Kevin Hilman
  2009-02-04  6:34           ` jouni.hogander
  1 sibling, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-04  6:24 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Hi Kevin,


On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>
> > Kevin,
> >
> >
> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> >>
> >> > Hi,
> >> >
> >> >  I am able to resolve all other issues with this pm branch except one issue,
> >> >
> >> > I am not able to enable the iva2 clock once system is suspended and
> >> > resumed, I am getting below messages.
> >> >>
> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> >> clock: dpll2_ck failed transition to 'locked'
> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> >> clock: dpll2_ck failed transition to 'locked'
> >> >
> >> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
> >> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
> >> >
> >> > once after system suspend the value is not restored I am seeing that as
> >> >  0x11 indicates IVA2 DPLL is low power stop mode.
> >> >
> >> > Can any one please provide your inputs on the above error? I tried
> >> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
> >> > the same messages as above while enabling iva2 clock.
> >>
> >> Are you suspending into retention or off-mode?
> >
> > I am suspending into Off mode.
> >
>
> Do you see this problem when only going into retention?
>
> If not, sounds like we're missing some registers being saved/restored
> across off-mode.

I am seeing this issue only with OFF mode , retention works fine for me,
yeah, looks like some registers are not restored properly across off mode.
please let me know your inputs on this.

-- 
Thanks
Ramesh Gupta G

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

* RE: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  6:10         ` Kevin Hilman
  2009-02-04  6:24           ` Ramesh Gupta Guntha
@ 2009-02-04  6:34           ` jouni.hogander
  1 sibling, 0 replies; 18+ messages in thread
From: jouni.hogander @ 2009-02-04  6:34 UTC (permalink / raw)
  To: khilman, grgupta77; +Cc: linux-omap

>-----Original Message-----
>From: linux-omap-owner@vger.kernel.org
>[mailto:linux-omap-owner@vger.kernel.org] On Behalf Of ext Kevin Hilman
>Sent: 04.02.2009 08:10
>To: Ramesh Gupta Guntha
>Cc: linux-omap@vger.kernel.org
>Subject: Re: PM branch updates: 3430sdp and omap3evm results
>
>Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>
>> Kevin,
>>
>>
>> On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>>> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>>>
>>> > Hi,
>>> >
>>> >  I am able to resolve all other issues with this pm branch except
>>> > one issue,
>>> >
>>> > I am not able to enable the iva2 clock once system is
>suspended and
>>> > resumed, I am getting below messages.
>>> >>
>>> >> <3>clock: dpll2_ck failed transition to 'locked'
>>> >> clock: dpll2_ck failed transition to 'locked'
>>> >> <3>clock: dpll2_ck failed transition to 'locked'
>>> >> clock: dpll2_ck failed transition to 'locked'
>>> >
>>> > Once after booting ( without adding bridgedriver/ installing
>>> > bridgedriver)
>>> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL
>in locked mode.
>>> >
>>> > once after system suspend the value is not restored I am seeing
>>> > that as
>>> >  0x11 indicates IVA2 DPLL is low power stop mode.
>>> >
>>> > Can any one please provide your inputs on the above
>error? I tried
>>> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am
>>> > seeing the same messages as above while enabling iva2 clock.
>>>
>>> Are you suspending into retention or off-mode?
>>
>> I am suspending into Off mode.
>>
>
>Do you see this problem when only going into retention?
>
>If not, sounds like we're missing some registers being
>saved/restored across off-mode.

This remids me about another issue which is with DPLL5. ROM code is not currently saving/restoring that. Maybe there is similar situation with DPLL2.

>
>Kevin
>--
>To unsubscribe from this list: send the line "unsubscribe
>linux-omap" in the body of a message to
>majordomo@vger.kernel.org More majordomo info at
>http://vger.kernel.org/majordomo-info.html
>

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-04  6:24           ` Ramesh Gupta Guntha
@ 2009-02-05 14:34             ` Kevin Hilman
  2009-02-05 14:50               ` Ramesh Gupta Guntha
  0 siblings, 1 reply; 18+ messages in thread
From: Kevin Hilman @ 2009-02-05 14:34 UTC (permalink / raw)
  To: Ramesh Gupta Guntha; +Cc: linux-omap

Ramesh Gupta Guntha <grgupta77@gmail.com> writes:

> Hi Kevin,
>
>
> On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>>
>> > Kevin,
>> >
>> >
>> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>> >>
>> >> > Hi,
>> >> >
>> >> >  I am able to resolve all other issues with this pm branch except one issue,
>> >> >
>> >> > I am not able to enable the iva2 clock once system is suspended and
>> >> > resumed, I am getting below messages.
>> >> >>
>> >> >> <3>clock: dpll2_ck failed transition to 'locked'
>> >> >> clock: dpll2_ck failed transition to 'locked'
>> >> >> <3>clock: dpll2_ck failed transition to 'locked'
>> >> >> clock: dpll2_ck failed transition to 'locked'
>> >> >
>> >> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
>> >> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
>> >> >
>> >> > once after system suspend the value is not restored I am seeing that as
>> >> >  0x11 indicates IVA2 DPLL is low power stop mode.
>> >> >
>> >> > Can any one please provide your inputs on the above error? I tried
>> >> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
>> >> > the same messages as above while enabling iva2 clock.
>> >>
>> >> Are you suspending into retention or off-mode?
>> >
>> > I am suspending into Off mode.
>> >
>>
>> Do you see this problem when only going into retention?
>>
>> If not, sounds like we're missing some registers being saved/restored
>> across off-mode.
>
> I am seeing this issue only with OFF mode , retention works fine for me,
> yeah, looks like some registers are not restored properly across off mode.
> please let me know your inputs on this.
>

I have just updated the PM branch with a fix from Jouni to
save/restore CM_CLKSEL1_PLL_IVA2.

Can you try the latest PM branch?

Thanks,

Kevin

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-05 14:34             ` Kevin Hilman
@ 2009-02-05 14:50               ` Ramesh Gupta Guntha
  2009-02-10 21:01                 ` Ramesh Gupta Guntha
  0 siblings, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-05 14:50 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Kevin,
I applied the patch maually at my end and tested, this works fine for
me. anyway I will try with pm branch .

thanks
Ramesh Gupta G
On 2/5/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>
> > Hi Kevin,
> >
> >
> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> >>
> >> > Kevin,
> >> >
> >> >
> >> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> >> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> >  I am able to resolve all other issues with this pm branch except one issue,
> >> >> >
> >> >> > I am not able to enable the iva2 clock once system is suspended and
> >> >> > resumed, I am getting below messages.
> >> >> >>
> >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> >> >> clock: dpll2_ck failed transition to 'locked'
> >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> >> >> >> clock: dpll2_ck failed transition to 'locked'
> >> >> >
> >> >> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
> >> >> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
> >> >> >
> >> >> > once after system suspend the value is not restored I am seeing that as
> >> >> >  0x11 indicates IVA2 DPLL is low power stop mode.
> >> >> >
> >> >> > Can any one please provide your inputs on the above error? I tried
> >> >> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
> >> >> > the same messages as above while enabling iva2 clock.
> >> >>
> >> >> Are you suspending into retention or off-mode?
> >> >
> >> > I am suspending into Off mode.
> >> >
> >>
> >> Do you see this problem when only going into retention?
> >>
> >> If not, sounds like we're missing some registers being saved/restored
> >> across off-mode.
> >
> > I am seeing this issue only with OFF mode , retention works fine for me,
> > yeah, looks like some registers are not restored properly across off mode.
> > please let me know your inputs on this.
> >
>
> I have just updated the PM branch with a fix from Jouni to
> save/restore CM_CLKSEL1_PLL_IVA2.
>
> Can you try the latest PM branch?
>
> Thanks,
>
> Kevin
>


-- 
Thanks
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-05 14:50               ` Ramesh Gupta Guntha
@ 2009-02-10 21:01                 ` Ramesh Gupta Guntha
  2009-02-10 22:28                   ` Kevin Hilman
  0 siblings, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-10 21:01 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap

Kevin,
I pulled git kernel today but still I am not seeing this patch in pm
branch, looks like this patch is missing in the pm branch. Can you
please recheck the same?

thanks
Ramesh Gupta G


On 2/5/09, Ramesh Gupta Guntha <grgupta77@gmail.com> wrote:
> Kevin,
> I applied the patch maually at my end and tested, this works fine for
> me. anyway I will try with pm branch .
>
> thanks
> Ramesh Gupta G
> On 2/5/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> > Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> >
> > > Hi Kevin,
> > >
> > >
> > > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> > >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> > >>
> > >> > Kevin,
> > >> >
> > >> >
> > >> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
> > >> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> > >> >>
> > >> >> > Hi,
> > >> >> >
> > >> >> >  I am able to resolve all other issues with this pm branch except one issue,
> > >> >> >
> > >> >> > I am not able to enable the iva2 clock once system is suspended and
> > >> >> > resumed, I am getting below messages.
> > >> >> >>
> > >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> > >> >> >> clock: dpll2_ck failed transition to 'locked'
> > >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
> > >> >> >> clock: dpll2_ck failed transition to 'locked'
> > >> >> >
> > >> >> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
> > >> >> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
> > >> >> >
> > >> >> > once after system suspend the value is not restored I am seeing that as
> > >> >> >  0x11 indicates IVA2 DPLL is low power stop mode.
> > >> >> >
> > >> >> > Can any one please provide your inputs on the above error? I tried
> > >> >> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
> > >> >> > the same messages as above while enabling iva2 clock.
> > >> >>
> > >> >> Are you suspending into retention or off-mode?
> > >> >
> > >> > I am suspending into Off mode.
> > >> >
> > >>
> > >> Do you see this problem when only going into retention?
> > >>
> > >> If not, sounds like we're missing some registers being saved/restored
> > >> across off-mode.
> > >
> > > I am seeing this issue only with OFF mode , retention works fine for me,
> > > yeah, looks like some registers are not restored properly across off mode.
> > > please let me know your inputs on this.
> > >
> >
> > I have just updated the PM branch with a fix from Jouni to
> > save/restore CM_CLKSEL1_PLL_IVA2.
> >
> > Can you try the latest PM branch?
> >
> > Thanks,
> >
> > Kevin
> >
>
>
> --
> Thanks
> Ramesh Gupta G
>


-- 
Thanks
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-10 21:01                 ` Ramesh Gupta Guntha
@ 2009-02-10 22:28                   ` Kevin Hilman
  2009-02-12  0:32                     ` Tony Lindgren
  0 siblings, 1 reply; 18+ messages in thread
From: Kevin Hilman @ 2009-02-10 22:28 UTC (permalink / raw)
  To: Ramesh Gupta Guntha; +Cc: linux-omap

Ramesh Gupta Guntha <grgupta77@gmail.com> writes:

> Kevin,
> I pulled git kernel today but still I am not seeing this patch in pm
> branch, looks like this patch is missing in the pm branch. Can you
> please recheck the same?

Hi Ramesh,

It looks like Tony's tree is not sync'ing with my PM branch anymore.
I will check with Tony.

In the mean-time, you could try to pull directly from my git repo[1]

Kevin

[1] git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git

>
>
> On 2/5/09, Ramesh Gupta Guntha <grgupta77@gmail.com> wrote:
>> Kevin,
>> I applied the patch maually at my end and tested, this works fine for
>> me. anyway I will try with pm branch .
>>
>> thanks
>> Ramesh Gupta G
>> On 2/5/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> > Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>> >
>> > > Hi Kevin,
>> > >
>> > >
>> > > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> > >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>> > >>
>> > >> > Kevin,
>> > >> >
>> > >> >
>> > >> > On 2/4/09, Kevin Hilman <khilman@deeprootsystems.com> wrote:
>> > >> >> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
>> > >> >>
>> > >> >> > Hi,
>> > >> >> >
>> > >> >> >  I am able to resolve all other issues with this pm branch except one issue,
>> > >> >> >
>> > >> >> > I am not able to enable the iva2 clock once system is suspended and
>> > >> >> > resumed, I am getting below messages.
>> > >> >> >>
>> > >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
>> > >> >> >> clock: dpll2_ck failed transition to 'locked'
>> > >> >> >> <3>clock: dpll2_ck failed transition to 'locked'
>> > >> >> >> clock: dpll2_ck failed transition to 'locked'
>> > >> >> >
>> > >> >> > Once after booting ( without adding bridgedriver/ installing bridgedriver)
>> > >> >> > CM_CLKEN_PLL_IVA2 value shows as 0x37 indicates IVA2 DPLL in locked mode.
>> > >> >> >
>> > >> >> > once after system suspend the value is not restored I am seeing that as
>> > >> >> >  0x11 indicates IVA2 DPLL is low power stop mode.
>> > >> >> >
>> > >> >> > Can any one please provide your inputs on the above error? I tried
>> > >> >> > reconfiguring the CM_CLKEN_PLL_IVA2 to lock mode but still I am seeing
>> > >> >> > the same messages as above while enabling iva2 clock.
>> > >> >>
>> > >> >> Are you suspending into retention or off-mode?
>> > >> >
>> > >> > I am suspending into Off mode.
>> > >> >
>> > >>
>> > >> Do you see this problem when only going into retention?
>> > >>
>> > >> If not, sounds like we're missing some registers being saved/restored
>> > >> across off-mode.
>> > >
>> > > I am seeing this issue only with OFF mode , retention works fine for me,
>> > > yeah, looks like some registers are not restored properly across off mode.
>> > > please let me know your inputs on this.
>> > >
>> >
>> > I have just updated the PM branch with a fix from Jouni to
>> > save/restore CM_CLKSEL1_PLL_IVA2.
>> >
>> > Can you try the latest PM branch?
>> >
>> > Thanks,
>> >
>> > Kevin
>> >
>>
>>
>> --
>> Thanks
>> Ramesh Gupta G
>>
>
>
> -- 
> Thanks
> Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-10 22:28                   ` Kevin Hilman
@ 2009-02-12  0:32                     ` Tony Lindgren
  2009-02-12  1:30                       ` Ramesh Gupta Guntha
  0 siblings, 1 reply; 18+ messages in thread
From: Tony Lindgren @ 2009-02-12  0:32 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: Ramesh Gupta Guntha, linux-omap

* Kevin Hilman <khilman@deeprootsystems.com> [090210 14:30]:
> Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> 
> > Kevin,
> > I pulled git kernel today but still I am not seeing this patch in pm
> > branch, looks like this patch is missing in the pm branch. Can you
> > please recheck the same?
> 
> Hi Ramesh,
> 
> It looks like Tony's tree is not sync'ing with my PM branch anymore.
> I will check with Tony.

Is there still a problem? I have not changed anything on that for few
weeks.

Regards,

Tony




> In the mean-time, you could try to pull directly from my git repo[1]
> 
> Kevin
> 
> [1] git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git

<snip>

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-12  0:32                     ` Tony Lindgren
@ 2009-02-12  1:30                       ` Ramesh Gupta Guntha
  2009-02-12 12:58                         ` Ramesh Gupta Guntha
  0 siblings, 1 reply; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-12  1:30 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Kevin Hilman, linux-omap

Hi Tony,

On 2/12/09, Tony Lindgren <tony@atomide.com> wrote:
> * Kevin Hilman <khilman@deeprootsystems.com> [090210 14:30]:
> > Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> >
> > > Kevin,
> > > I pulled git kernel today but still I am not seeing this patch in pm
> > > branch, looks like this patch is missing in the pm branch. Can you
> > > please recheck the same?
> >
> > Hi Ramesh,
> >
> > It looks like Tony's tree is not sync'ing with my PM branch anymore.
> > I will check with Tony.
>
> Is there still a problem? I have not changed anything on that for few
> weeks.

I didn't try from your tree today, When I checked it 2 days back those
patches were not synced. I will try and let you know.

Regards
Ramesh Gupta G

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

* Re: PM branch updates: 3430sdp and omap3evm results
  2009-02-12  1:30                       ` Ramesh Gupta Guntha
@ 2009-02-12 12:58                         ` Ramesh Gupta Guntha
  0 siblings, 0 replies; 18+ messages in thread
From: Ramesh Gupta Guntha @ 2009-02-12 12:58 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Kevin Hilman, linux-omap

Hi Tony,

On 2/12/09, Ramesh Gupta Guntha <grgupta77@gmail.com> wrote:
> Hi Tony,
>
> On 2/12/09, Tony Lindgren <tony@atomide.com> wrote:
> > * Kevin Hilman <khilman@deeprootsystems.com> [090210 14:30]:
> > > Ramesh Gupta Guntha <grgupta77@gmail.com> writes:
> > >
> > > > Kevin,
> > > > I pulled git kernel today but still I am not seeing this patch in pm
> > > > branch, looks like this patch is missing in the pm branch. Can you
> > > > please recheck the same?
> > >
> > > Hi Ramesh,
> > >
> > > It looks like Tony's tree is not sync'ing with my PM branch anymore.
> > > I will check with Tony.
> >
> > Is there still a problem? I have not changed anything on that for few
> > weeks.

Now I am seeing this patch in pm branch.

regards
Ramesh Gupta G

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

end of thread, other threads:[~2009-02-12 12:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 18:16 PM branch updates: 3430sdp and omap3evm results Kevin Hilman
2009-01-27 19:29 ` Koen Kooi
2009-01-27 19:52   ` Kevin Hilman
2009-01-27 20:00     ` Koen Kooi
2009-02-01 14:05 ` Ramesh Gupta Guntha
2009-02-04  5:34   ` Ramesh Gupta Guntha
2009-02-04  5:42     ` Kevin Hilman
2009-02-04  5:44       ` Ramesh Gupta Guntha
2009-02-04  6:10         ` Kevin Hilman
2009-02-04  6:24           ` Ramesh Gupta Guntha
2009-02-05 14:34             ` Kevin Hilman
2009-02-05 14:50               ` Ramesh Gupta Guntha
2009-02-10 21:01                 ` Ramesh Gupta Guntha
2009-02-10 22:28                   ` Kevin Hilman
2009-02-12  0:32                     ` Tony Lindgren
2009-02-12  1:30                       ` Ramesh Gupta Guntha
2009-02-12 12:58                         ` Ramesh Gupta Guntha
2009-02-04  6:34           ` jouni.hogander

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