Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-10 Thread Tony Lindgren
* Konstantin Baydarov kbaida...@dev.rtsoft.ru [120809 04:00]: Hi, Tony. On 08/08/2012 06:59 PM, Konstantin Baydarov wrote: Yes, omap_type() is called very early , that is why I'm using early_initcall for omap_control_base initialization. Do you mean following?: void __init

Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-09 Thread Tony Lindgren
* Konstantin Baydarov kbaida...@dev.rtsoft.ru [120808 07:59]: On 08/08/2012 06:39 PM, Tony Lindgren wrote: Yes, omap_type() is called very early , that is why I'm using early_initcall for omap_control_base initialization. Do you mean following?: void __init

Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-09 Thread Konstantin Baydarov
Hi, Tony. On 08/08/2012 06:59 PM, Konstantin Baydarov wrote: Yes, omap_type() is called very early , that is why I'm using early_initcall for omap_control_base initialization. Do you mean following?: void __init omap2_set_globals_control(struct omap_globals *omap2_globals) { if

Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-08 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120808 07:05]: * Konstantin Baydarov kbaida...@dev.rtsoft.ru [120725 04:10]: + +u32 omap_control_status_read(void) +{ + return __raw_readl(omap_control_base); +} Ah OK it's changed here.. Sorry I was looking at the older version. +void __init

Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-08 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120808 07:11]: * Tony Lindgren t...@atomide.com [120808 07:05]: * Konstantin Baydarov kbaida...@dev.rtsoft.ru [120725 04:10]: + +u32 omap_control_status_read(void) +{ + return __raw_readl(omap_control_base); +} Ah OK it's changed here..

Re: [linux-pm] [PATCH v4 2/4] mfd: omap: control: core system control driver

2012-08-08 Thread Konstantin Baydarov
Hi, Tony. On 08/08/2012 06:39 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [120808 07:11]: * Tony Lindgren t...@atomide.com [120808 07:05]: * Konstantin Baydarov kbaida...@dev.rtsoft.ru [120725 04:10]: + +u32 omap_control_status_read(void) +{ + return