Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-28 Thread Pavel Machek
On Mon 2016-05-02 22:12:17, Sebastian Reichel wrote: > Hi Pavel, > > On Sun, May 01, 2016 at 05:48:56PM +0200, Sebastian Reichel wrote: > > > I see latest series, and it also talks about frequency scaling. > > > But I guess it is not going to fix this issue? > > > > No, this is independent of

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-28 Thread Pavel Machek
On Mon 2016-05-02 22:12:17, Sebastian Reichel wrote: > Hi Pavel, > > On Sun, May 01, 2016 at 05:48:56PM +0200, Sebastian Reichel wrote: > > > I see latest series, and it also talks about frequency scaling. > > > But I guess it is not going to fix this issue? > > > > No, this is independent of

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-02 Thread Sebastian Reichel
Hi Pavel, On Sun, May 01, 2016 at 05:48:56PM +0200, Sebastian Reichel wrote: > > I see latest series, and it also talks about frequency scaling. > > But I guess it is not going to fix this issue? > > No, this is independent of the runtime PM problems. I also worked > on runtime PM/idling

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-02 Thread Sebastian Reichel
Hi Pavel, On Sun, May 01, 2016 at 05:48:56PM +0200, Sebastian Reichel wrote: > > I see latest series, and it also talks about frequency scaling. > > But I guess it is not going to fix this issue? > > No, this is independent of the runtime PM problems. I also worked > on runtime PM/idling

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-01 Thread Sebastian Reichel
Hi, On Sun, May 01, 2016 at 10:52:36AM +0200, Pavel Machek wrote: > On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > > > CONFIG_HSI breaks power management completely, so power management > > > > with modem will be another

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-01 Thread Sebastian Reichel
Hi, On Sun, May 01, 2016 at 10:52:36AM +0200, Pavel Machek wrote: > On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > > > CONFIG_HSI breaks power management completely, so power management > > > > with modem will be another

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-01 Thread Pavel Machek
On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > Hi, > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-05-01 Thread Pavel Machek
On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > Hi, > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-29 Thread Sebastian Reichel
Hi, On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > CONFIG_HSI breaks power management completely, so power management > > with modem will be another topic. > > Sebastian, any idea why power management does not work for HSI? I wasn't aware, that pm_runtime_irq_safe() basically

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-29 Thread Sebastian Reichel
Hi, On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > CONFIG_HSI breaks power management completely, so power management > > with modem will be another topic. > > Sebastian, any idea why power management does not work for HSI? I wasn't aware, that pm_runtime_irq_safe() basically

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-22 Thread Pali Rohár
On Thursday 21 April 2016 23:28:08 Pavel Machek wrote: > Hi! > > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not work for HSI? > > > > > > > > In the meantime, I found what

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-22 Thread Pali Rohár
On Thursday 21 April 2016 23:28:08 Pavel Machek wrote: > Hi! > > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not work for HSI? > > > > > > > > In the meantime, I found what

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-21 Thread Pavel Machek
Hi! > > CONFIG_HSI breaks power management completely, so power management > > with modem will be another topic. > > Sebastian, any idea why power management does not work for HSI? > > > > > > In the meantime, I found what is causing the rention mode to break for > > > > > me: CONFIG_HSI (aka

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-21 Thread Pavel Machek
Hi! > > CONFIG_HSI breaks power management completely, so power management > > with modem will be another topic. > > Sebastian, any idea why power management does not work for HSI? > > > > > > In the meantime, I found what is causing the rention mode to break for > > > > > me: CONFIG_HSI (aka

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-21 Thread Pali Rohár
On Sunday 17 April 2016 19:55:40 Pavel Machek wrote: > Hi! > > > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > > > visible. The right part of keyboard stays lit (but that's expected > > > > > > AFAICT), but the left part blinks. > > > > > > > > > > During idle,

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-21 Thread Pali Rohár
On Sunday 17 April 2016 19:55:40 Pavel Machek wrote: > Hi! > > > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > > > visible. The right part of keyboard stays lit (but that's expected > > > > > > AFAICT), but the left part blinks. > > > > > > > > > > During idle,

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-18 Thread Tony Lindgren
* Pavel Machek [160417 10:56]: > > The off mode makes a huge difference for standby time, it should cut > > down the total power consumption to something like 10+ mW with modem > > enabled. Aproximately the breakdown is roughly: 900 uW for omap, 5 mW > > for memory and 5 or more for

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-18 Thread Tony Lindgren
* Pavel Machek [160417 10:56]: > > The off mode makes a huge difference for standby time, it should cut > > down the total power consumption to something like 10+ mW with modem > > enabled. Aproximately the breakdown is roughly: 900 uW for omap, 5 mW > > for memory and 5 or more for the modem.

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-17 Thread Pavel Machek
Hi! > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > > visible. The right part of keyboard stays lit (but that's expected > > > > > AFAICT), but the left part blinks. > > > > > > > > During idle, both should go off and are doing so for me. Both LEDs off > > > >

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-17 Thread Pavel Machek
Hi! > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > > visible. The right part of keyboard stays lit (but that's expected > > > > > AFAICT), but the left part blinks. > > > > > > > > During idle, both should go off and are doing so for me. Both LEDs off > > > >

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-13 Thread Tony Lindgren
* Tomi Valkeinen [160412 22:53]: > > On 12/04/16 19:30, Tony Lindgren wrote: > > > With LCD enabled, both LEDs are on contantly. I think we should > > be able to hit retention in that state, at least n950 is doing it > > with the Nokia kernel. > > N900's display needs

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-13 Thread Tony Lindgren
* Tomi Valkeinen [160412 22:53]: > > On 12/04/16 19:30, Tony Lindgren wrote: > > > With LCD enabled, both LEDs are on contantly. I think we should > > be able to hit retention in that state, at least n950 is doing it > > with the Nokia kernel. > > N900's display needs constant updating, where

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Tomi Valkeinen
On 12/04/16 19:30, Tony Lindgren wrote: > With LCD enabled, both LEDs are on contantly. I think we should > be able to hit retention in that state, at least n950 is doing it > with the Nokia kernel. N900's display needs constant updating, where N950's display has internal framebuffer, allowing

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Tomi Valkeinen
On 12/04/16 19:30, Tony Lindgren wrote: > With LCD enabled, both LEDs are on contantly. I think we should > be able to hit retention in that state, at least n950 is doing it > with the Nokia kernel. N900's display needs constant updating, where N950's display has internal framebuffer, allowing

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Tony Lindgren
* Pavel Machek [160412 05:31]: > Hi! > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > visible. The right part of keyboard stays lit (but that's expected > > > > AFAICT), but the left part blinks. > > > > > > During idle, both should go off and are

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Tony Lindgren
* Pavel Machek [160412 05:31]: > Hi! > > > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > > visible. The right part of keyboard stays lit (but that's expected > > > > AFAICT), but the left part blinks. > > > > > > During idle, both should go off and are doing so for

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Pavel Machek
Hi! > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > visible. The right part of keyboard stays lit (but that's expected > > > AFAICT), but the left part blinks. > > > > During idle, both should go off and are doing so for me. Both LEDs off > > indicates off mode, left

Re: Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Pavel Machek
Hi! > > > Ok, it works now. I was doing tests in daylight so it was poorly > > > visible. The right part of keyboard stays lit (but that's expected > > > AFAICT), but the left part blinks. > > > > During idle, both should go off and are doing so for me. Both LEDs off > > indicates off mode, left

Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Pavel Machek
Hi! > > > Do you think you could try with my config? > > Yeah disabling lockdep by removing PROVE_LOCKING from omap2plus_defconfig > makes n900 LCD work for me again. Not getting any lockdep warnings > during boot with lockdep enabled though. So basically the following > patch makes LCD work on

Nokia N900 retention mode in v4.6, camera buttons fun

2016-04-12 Thread Pavel Machek
Hi! > > > Do you think you could try with my config? > > Yeah disabling lockdep by removing PROVE_LOCKING from omap2plus_defconfig > makes n900 LCD work for me again. Not getting any lockdep warnings > during boot with lockdep enabled though. So basically the following > patch makes LCD work on