Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-07-22 Thread Linus Walleij
On Fri, Jun 7, 2013 at 10:50 PM, Tony Lindgren wrote: > For wake-up events from deeper idle modes we need to check the > configured padconf registers for the wake-up bit and then call > the related interrupt handler. > > Done in collaboration with Roger Quadros . > > Cc: Haojian Zhuang > Cc: Pet

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-07-22 Thread Linus Walleij
On Fri, Jun 7, 2013 at 10:50 PM, Tony Lindgren wrote: > +static irqreturn_t pcs_omap_handle_irq(int irq, void *data) > +{ > + struct pcs_omap *pcso = data; > + struct list_head *pos; > + unsigned int wakeirq; > + > + list_for_each(pos, &pcso->wakeirqs) { > +

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-12 Thread Tony Lindgren
* Roger Quadros [130611 05:57]: > On 06/10/2013 06:21 PM, Tony Lindgren wrote: > > * Quadros, Roger [130610 03:09]: > >> + > >> +static int __init pcs_omap_init(void) > >> +{ > >> + platform_driver_register(&pcs_omap_soc_driver); > >> + platform_driver_register(&pcs_omap_driver); > >>

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-11 Thread Roger Quadros
On 06/10/2013 06:21 PM, Tony Lindgren wrote: > * Quadros, Roger [130610 03:09]: >> + >> +static int __init pcs_omap_init(void) >> +{ >> + platform_driver_register(&pcs_omap_soc_driver); >> + platform_driver_register(&pcs_omap_driver); >> + >> + return 0; >> +} >> +module_init(pcs

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-10 Thread Tony Lindgren
* Quadros, Roger [130610 03:09]: > + > +static int __init pcs_omap_init(void) > +{ > + platform_driver_register(&pcs_omap_soc_driver); > + platform_driver_register(&pcs_omap_driver); > + > + return 0; > +} > +module_init(pcs_omap_init); > > It seems this has to be moved to an ea

RE: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-10 Thread Quadros, Roger
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki From: Tony Lindgren [t...@atomide.com] Sent: Friday, June 07, 2013 11:50 PM To: linus.wall...@linaro.org Cc: devicetree-disc...

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-08 Thread Haojian Zhuang
On Sat, Jun 8, 2013 at 4:50 AM, Tony Lindgren wrote: > For wake-up events from deeper idle modes we need to check the > configured padconf registers for the wake-up bit and then call > the related interrupt handler. > > Done in collaboration with Roger Quadros . > > Cc: Haojian Zhuang > Cc: Peter

Re: [PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-08 Thread Tony Lindgren
For wake-up events from deeper idle modes we need to check the configured padconf registers for the wake-up bit and then call the related interrupt handler. Done in collaboration with Roger Quadros . Cc: Haojian Zhuang Cc: Peter Ujfalusi Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Ro