[PATCH 09/13] ARM: LPC32XX: power and event management
Kevin Wells
kevin.wells at nxp.com
Wed Feb 3 14:03:14 EST 2010
> > +/*
> > + * Wakeup event support
> > + */
> > +extern void lpc32xx_event_init(void);
> > +extern void lpc32xx_event_enable(enum lpc32xx_events event_id);
> > +extern void lpc32xx_event_disable(enum lpc32xx_events event_id);
> > +extern int lpc32xx_event_set(enum lpc32xx_events event_id,
> > + int high_edge);
> > +extern int lpc32xx_event_enabled(enum lpc32xx_events event_id);
> > +extern void lpc32xx_event_clear(enum lpc32xx_events event_id);
> > +extern void lpc32xx_event_clear_all(void);
> This is usually plugged into set_irq_wake. Isn't that generic enough
> for you?
>
I'm not familiar with that yet. I'll look into it and rewrite the
handling if necessary. IRQ events and wakeup events are different
things on this device, although you can set an alarm wakeup event
with an alarm irq...or something like that..
More information about the linux-arm-kernel
mailing list