Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
h5000.h File Reference
#include <mach/mfp-pxa25x.h>

Go to the source code of this file.

Macros

#define H5000_GPIO_POWER_BUTTON   (0)
 
#define H5000_GPIO_RESET_BUTTON_N   (1)
 
#define H5000_GPIO_OPT_INT   (2)
 
#define H5000_GPIO_BACKUP_POWER   (3)
 
#define H5000_GPIO_ACTION_BUTTON   (4)
 
#define H5000_GPIO_COM_DCD_SOMETHING   (5) /* what is this really ? */
 
#define H5000_GPIO_RESET_BUTTON_AGAIN_N   (7) /* connected to gpio 1 as well */
 
#define H5000_GPIO_RSO_N   (9) /* reset output from max1702 which regulates 3.3 and 2.5 */
 
#define H5000_GPIO_ASIC_INT_N   (10) /* from companion asic */
 
#define H5000_GPIO_BT_ENV_0   (11) /* to LMX9814, set to 1 according to regdump */
 
#define H5000_GPIO_BT_ENV_1   (13) /* to LMX9814, set to 1 according to regdump */
 
#define H5000_GPIO_BT_WU   (14) /* from LMX9814, Defined as HOST_WAKEUP in the LMX9820 data sheet */
 
#define H5000_GPIO_OE_RD_NWR   (21) /* output enable on rd/nwr signal to companion asic */
 
#define H5000_GPIO_OPT_SPI_CLK   (23) /* to extension pack */
 
#define H5000_GPIO_OPT_SPI_CS_N   (24) /* to extension pack */
 
#define H5000_GPIO_OPT_SPI_DOUT   (25) /* to extension pack */
 
#define H5000_GPIO_OPT_SPI_DIN   (26) /* to extension pack */
 
#define H5000_GPIO_I2S_BITCLK   (28) /* connected to AC97 codec */
 
#define H5000_GPIO_I2S_DATAOUT   (29) /* connected to AC97 codec */
 
#define H5000_GPIO_I2S_DATAIN   (30) /* connected to AC97 codec */
 
#define H5000_GPIO_I2S_LRCLK   (31) /* connected to AC97 codec */
 
#define H5000_GPIO_I2S_SYSCLK   (32) /* connected to AC97 codec */
 
#define H5000_GPIO_COM_RXD   (34) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_CTS   (35) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_DCD   (36) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_DSR   (37) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_RI   (38) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_TXD   (39) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_DTR   (40) /* connected to cradle/cable connector */
 
#define H5000_GPIO_COM_RTS   (41) /* connected to cradle/cable connector */
 
#define H5000_GPIO_BT_RXD   (42) /* connected to BT (LMX9814) */
 
#define H5000_GPIO_BT_TXD   (43) /* connected to BT (LMX9814) */
 
#define H5000_GPIO_BT_CTS   (44) /* connected to BT (LMX9814) */
 
#define H5000_GPIO_BT_RTS   (45) /* connected to BT (LMX9814) */
 
#define H5000_GPIO_IRDA_RXD   (46)
 
#define H5000_GPIO_IRDA_TXD   (47)
 
#define H5000_GPIO_POE_N   (48) /* used for pcmcia */
 
#define H5000_GPIO_PWE_N   (49) /* used for pcmcia */
 
#define H5000_GPIO_PIOR_N   (50) /* used for pcmcia */
 
#define H5000_GPIO_PIOW_N   (51) /* used for pcmcia */
 
#define H5000_GPIO_PCE1_N   (52) /* used for pcmcia */
 
#define H5000_GPIO_PCE2_N   (53) /* used for pcmcia */
 
#define H5000_GPIO_PSKTSEL   (54) /* used for pcmcia */
 
#define H5000_GPIO_PREG_N   (55) /* used for pcmcia */
 
#define H5000_GPIO_PWAIT_N   (56) /* used for pcmcia */
 
#define H5000_GPIO_IOIS16_N   (57) /* used for pcmcia */
 
#define H5000_GPIO_IRDA_SD   (58) /* to hsdl3002 sd */
 
#define H5000_GPIO_POWER_SD_N   (60) /* controls power to SD */
 
#define H5000_GPIO_POWER_RS232_N   (61) /* inverted FORCEON to rs232 transceiver */
 
#define H5000_GPIO_POWER_ACCEL_N   (62) /* controls power to accel */
 
#define H5000_GPIO_OPT_NVRAM   (64) /* controls power to expansion pack */
 
#define H5000_GPIO_CHG_EN   (65) /* to sc801 en */
 
#define H5000_GPIO_USB_PULLUP   (66) /* USB d+ pullup via 1.5K resistor */
 
#define H5000_GPIO_BT_2V8_N   (67) /* 2.8V used by bluetooth */
 
#define H5000_GPIO_EXT_CHG_RATE   (68) /* enables external charging rate */
 
#define H5000_GPIO_CIR_RESET   (70) /* consumer IR reset */
 
#define H5000_GPIO_POWER_LIGHT_SENSOR_N   (71)
 
#define H5000_GPIO_BT_M_RESET   (72)
 
#define H5000_GPIO_STD_CHG_RATE   (73)
 
#define H5000_GPIO_SD_WP_N   (74)
 
#define H5000_GPIO_MOTOR_ON_N   (75) /* external pullup on this */
 
#define H5000_GPIO_HEADPHONE_DETECT   (76)
 
#define H5000_GPIO_USB_CHG_RATE   (77) /* select rate for charging via usb */
 

Macro Definition Documentation

#define H5000_GPIO_ACTION_BUTTON   (4)

Definition at line 31 of file h5000.h.

#define H5000_GPIO_ASIC_INT_N   (10) /* from companion asic */

Definition at line 37 of file h5000.h.

#define H5000_GPIO_BACKUP_POWER   (3)

Definition at line 30 of file h5000.h.

#define H5000_GPIO_BT_2V8_N   (67) /* 2.8V used by bluetooth */

Definition at line 98 of file h5000.h.

#define H5000_GPIO_BT_CTS   (44) /* connected to BT (LMX9814) */

Definition at line 72 of file h5000.h.

#define H5000_GPIO_BT_ENV_0   (11) /* to LMX9814, set to 1 according to regdump */

Definition at line 38 of file h5000.h.

#define H5000_GPIO_BT_ENV_1   (13) /* to LMX9814, set to 1 according to regdump */

Definition at line 40 of file h5000.h.

#define H5000_GPIO_BT_M_RESET   (72)

Definition at line 103 of file h5000.h.

#define H5000_GPIO_BT_RTS   (45) /* connected to BT (LMX9814) */

Definition at line 73 of file h5000.h.

#define H5000_GPIO_BT_RXD   (42) /* connected to BT (LMX9814) */

Definition at line 70 of file h5000.h.

#define H5000_GPIO_BT_TXD   (43) /* connected to BT (LMX9814) */

Definition at line 71 of file h5000.h.

#define H5000_GPIO_BT_WU   (14) /* from LMX9814, Defined as HOST_WAKEUP in the LMX9820 data sheet */

Definition at line 41 of file h5000.h.

#define H5000_GPIO_CHG_EN   (65) /* to sc801 en */

Definition at line 96 of file h5000.h.

#define H5000_GPIO_CIR_RESET   (70) /* consumer IR reset */

Definition at line 101 of file h5000.h.

#define H5000_GPIO_COM_CTS   (35) /* connected to cradle/cable connector */

Definition at line 62 of file h5000.h.

#define H5000_GPIO_COM_DCD   (36) /* connected to cradle/cable connector */

Definition at line 63 of file h5000.h.

#define H5000_GPIO_COM_DCD_SOMETHING   (5) /* what is this really ? */

Definition at line 32 of file h5000.h.

#define H5000_GPIO_COM_DSR   (37) /* connected to cradle/cable connector */

Definition at line 64 of file h5000.h.

#define H5000_GPIO_COM_DTR   (40) /* connected to cradle/cable connector */

Definition at line 67 of file h5000.h.

#define H5000_GPIO_COM_RI   (38) /* connected to cradle/cable connector */

Definition at line 65 of file h5000.h.

#define H5000_GPIO_COM_RTS   (41) /* connected to cradle/cable connector */

Definition at line 68 of file h5000.h.

#define H5000_GPIO_COM_RXD   (34) /* connected to cradle/cable connector */

Definition at line 61 of file h5000.h.

#define H5000_GPIO_COM_TXD   (39) /* connected to cradle/cable connector */

Definition at line 66 of file h5000.h.

#define H5000_GPIO_EXT_CHG_RATE   (68) /* enables external charging rate */

Definition at line 99 of file h5000.h.

#define H5000_GPIO_HEADPHONE_DETECT   (76)

Definition at line 107 of file h5000.h.

#define H5000_GPIO_I2S_BITCLK   (28) /* connected to AC97 codec */

Definition at line 55 of file h5000.h.

#define H5000_GPIO_I2S_DATAIN   (30) /* connected to AC97 codec */

Definition at line 57 of file h5000.h.

#define H5000_GPIO_I2S_DATAOUT   (29) /* connected to AC97 codec */

Definition at line 56 of file h5000.h.

#define H5000_GPIO_I2S_LRCLK   (31) /* connected to AC97 codec */

Definition at line 58 of file h5000.h.

#define H5000_GPIO_I2S_SYSCLK   (32) /* connected to AC97 codec */

Definition at line 59 of file h5000.h.

#define H5000_GPIO_IOIS16_N   (57) /* used for pcmcia */

Definition at line 87 of file h5000.h.

#define H5000_GPIO_IRDA_RXD   (46)

Definition at line 75 of file h5000.h.

#define H5000_GPIO_IRDA_SD   (58) /* to hsdl3002 sd */

Definition at line 89 of file h5000.h.

#define H5000_GPIO_IRDA_TXD   (47)

Definition at line 76 of file h5000.h.

#define H5000_GPIO_MOTOR_ON_N   (75) /* external pullup on this */

Definition at line 106 of file h5000.h.

#define H5000_GPIO_OE_RD_NWR   (21) /* output enable on rd/nwr signal to companion asic */

Definition at line 48 of file h5000.h.

#define H5000_GPIO_OPT_INT   (2)

Definition at line 29 of file h5000.h.

#define H5000_GPIO_OPT_NVRAM   (64) /* controls power to expansion pack */

Definition at line 95 of file h5000.h.

#define H5000_GPIO_OPT_SPI_CLK   (23) /* to extension pack */

Definition at line 50 of file h5000.h.

#define H5000_GPIO_OPT_SPI_CS_N   (24) /* to extension pack */

Definition at line 51 of file h5000.h.

#define H5000_GPIO_OPT_SPI_DIN   (26) /* to extension pack */

Definition at line 53 of file h5000.h.

#define H5000_GPIO_OPT_SPI_DOUT   (25) /* to extension pack */

Definition at line 52 of file h5000.h.

#define H5000_GPIO_PCE1_N   (52) /* used for pcmcia */

Definition at line 82 of file h5000.h.

#define H5000_GPIO_PCE2_N   (53) /* used for pcmcia */

Definition at line 83 of file h5000.h.

#define H5000_GPIO_PIOR_N   (50) /* used for pcmcia */

Definition at line 80 of file h5000.h.

#define H5000_GPIO_PIOW_N   (51) /* used for pcmcia */

Definition at line 81 of file h5000.h.

#define H5000_GPIO_POE_N   (48) /* used for pcmcia */

Definition at line 78 of file h5000.h.

#define H5000_GPIO_POWER_ACCEL_N   (62) /* controls power to accel */

Definition at line 93 of file h5000.h.

#define H5000_GPIO_POWER_BUTTON   (0)

Definition at line 27 of file h5000.h.

#define H5000_GPIO_POWER_LIGHT_SENSOR_N   (71)

Definition at line 102 of file h5000.h.

#define H5000_GPIO_POWER_RS232_N   (61) /* inverted FORCEON to rs232 transceiver */

Definition at line 92 of file h5000.h.

#define H5000_GPIO_POWER_SD_N   (60) /* controls power to SD */

Definition at line 91 of file h5000.h.

#define H5000_GPIO_PREG_N   (55) /* used for pcmcia */

Definition at line 85 of file h5000.h.

#define H5000_GPIO_PSKTSEL   (54) /* used for pcmcia */

Definition at line 84 of file h5000.h.

#define H5000_GPIO_PWAIT_N   (56) /* used for pcmcia */

Definition at line 86 of file h5000.h.

#define H5000_GPIO_PWE_N   (49) /* used for pcmcia */

Definition at line 79 of file h5000.h.

#define H5000_GPIO_RESET_BUTTON_AGAIN_N   (7) /* connected to gpio 1 as well */

Definition at line 34 of file h5000.h.

#define H5000_GPIO_RESET_BUTTON_N   (1)

Definition at line 28 of file h5000.h.

#define H5000_GPIO_RSO_N   (9) /* reset output from max1702 which regulates 3.3 and 2.5 */

Definition at line 36 of file h5000.h.

#define H5000_GPIO_SD_WP_N   (74)

Definition at line 105 of file h5000.h.

#define H5000_GPIO_STD_CHG_RATE   (73)

Definition at line 104 of file h5000.h.

#define H5000_GPIO_USB_CHG_RATE   (77) /* select rate for charging via usb */

Definition at line 108 of file h5000.h.

#define H5000_GPIO_USB_PULLUP   (66) /* USB d+ pullup via 1.5K resistor */

Definition at line 97 of file h5000.h.