Re: reboot command fails with low frequency

2015-03-05 Thread Michael Trimarchi
Hi On Thu, Mar 5, 2015 at 9:46 AM, Ran Shalit ransha...@gmail.com wrote: I added power support to kernel menuconfig, such as cpuidle, and it seems to work fine. I also validated in counter that cpu gets into retention. We observer that with highest available frequency (60) reboot

Re: reboot command fails with low frequency

2015-03-05 Thread Ran Shalit
I added power support to kernel menuconfig, such as cpuidle, and it seems to work fine. I also validated in counter that cpu gets into retention. We observer that with highest available frequency (60) reboot command is OK, but when frequency is changed to lower value, the reboot command

Re: reboot command fails with low frequency

2015-03-05 Thread Ran Shalit
We observer that with highest available frequency (60) reboot command is OK, but when frequency is changed to lower value, the reboot command fails. Has anyone observed such behaviour ? I remember some commit for this problem. What version of the linux are you running? I use Linux

Re: reboot command fails with low frequency

2015-03-05 Thread Michael Trimarchi
Hi You should find the twl4030 power script and you should have something like this static struct twl4030_ins wrst_seq[] __initdata = { {MSG_SINGULAR(DEV_GRP_NULL, 0x1b, RES_STATE_OFF), 2}, {MSG_SINGULAR(DEV_GRP_P1, 0xf, RES_STATE_WRST), 15}, {MSG_SINGULAR(DEV_GRP_P1,

Re: reboot command fails with low frequency

2015-03-05 Thread Ran Shalit
On Thu, Mar 5, 2015 at 12:58 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi You should find the twl4030 power script and you should have something like this static struct twl4030_ins wrst_seq[] __initdata = { {MSG_SINGULAR(DEV_GRP_NULL, 0x1b, RES_STATE_OFF), 2},

Re: reboot command fails with low frequency

2015-03-05 Thread Ran Shalit
I think I can also do some workaround if I set the frequency to the highest level just before doing reset. The thing is that I mustn't use sysfs in my system. Is there some way to set frequency without using sysfs ? -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body