i.MX31/Gigabeat S minor cleaning: Make HW access more obvious in places I forgot...
[kugel-rb.git] / firmware / target / arm / imx31 / gigabeat-s / mc13783-target.h
blob48d634035a0cc94949aaad44d27244ac591955d4
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (c) 2008 by Michael Sevakis
12 * Gigabeat S mc13783 event descriptions
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
22 ****************************************************************************/
23 #ifndef MC13783_TARGET_H
24 #define MC13783_TARGET_H
26 /* Declare event indexes in priority order in a packed array */
27 enum mc13783_event_ids
29 MC13783_ADCDONE_EVENT = 0, /* ADC conversion complete */
30 MC13783_ONOFD1_EVENT, /* Power button */
31 #ifdef HAVE_HEADPHONE_DETECTION
32 MC13783_ONOFD2_EVENT, /* Headphone jack */
33 #endif
34 MC13783_SE1_EVENT, /* Main charger detection */
35 MC13783_USB_EVENT, /* USB insertion */
36 MC13783_NUM_EVENTS,
39 #endif /* MC13783_TARGET_H */