Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
board-mop500.h File Reference
#include <mach/irqs.h>
#include <mach/msp.h>
#include <linux/amba/mmci.h>

Go to the source code of this file.

Macros

#define SNOWBALL_ACCEL_INT1_GPIO   163
 
#define SNOWBALL_ACCEL_INT2_GPIO   164
 
#define SNOWBALL_MAGNET_DRDY_GPIO   165
 
#define SNOWBALL_SDMMC_EN_GPIO   217
 
#define SNOWBALL_SDMMC_1V8_3V_GPIO   228
 
#define SNOWBALL_SDMMC_CD_GPIO   218
 
#define HREFV60_SDMMC_1V8_3V_GPIO   5
 
#define HREFV60_CAMERA_FLASH_ENABLE   21
 
#define HREFV60_MAGNET_DRDY_GPIO   32
 
#define HREFV60_DISP1_RST_GPIO   65
 
#define HREFV60_DISP2_RST_GPIO   66
 
#define HREFV60_ACCEL_INT1_GPIO   82
 
#define HREFV60_ACCEL_INT2_GPIO   83
 
#define HREFV60_SDMMC_CD_GPIO   95
 
#define HREFV60_XSHUTDOWN_SECONDARY_SENSOR   140
 
#define HREFV60_TOUCH_RST_GPIO   143
 
#define HREFV60_HAL_SW_GPIO   145
 
#define HREFV60_SDMMC_EN_GPIO   169
 
#define HREFV60_MMIO_XENON_CHARGE   170
 
#define HREFV60_PROX_SENSE_GPIO   217
 
#define CAMERA_FLASH_INT_PIN   7
 
#define CYPRESS_TOUCH_INT_PIN   84
 
#define XSHUTDOWN_PRIMARY_SENSOR   141
 
#define XSHUTDOWN_SECONDARY_SENSOR   142
 
#define CYPRESS_TOUCH_RST_GPIO   143
 
#define MOP500_HDMI_RST_GPIO   196
 
#define CYPRESS_SLAVE_SELECT_GPIO   216
 
#define MOP500_EGPIO(x)   (NOMADIK_NR_GPIO + (x))
 
#define GPIO_MAGNET_DRDY   MOP500_EGPIO(1)
 
#define GPIO_SDMMC_CD   MOP500_EGPIO(3)
 
#define GPIO_CAMERA_FLASH_ENABLE   MOP500_EGPIO(4)
 
#define GPIO_MMIO_XENON_CHARGE   MOP500_EGPIO(5)
 
#define GPIO_PROX_SENSOR   MOP500_EGPIO(7)
 
#define GPIO_HAL_SENSOR   MOP500_EGPIO(8)
 
#define GPIO_ACCEL_INT1   MOP500_EGPIO(10)
 
#define GPIO_ACCEL_INT2   MOP500_EGPIO(11)
 
#define GPIO_BU21013_CS   MOP500_EGPIO(13)
 
#define MOP500_DISP2_RST_GPIO   MOP500_EGPIO(14)
 
#define MOP500_DISP1_RST_GPIO   MOP500_EGPIO(15)
 
#define GPIO_SDMMC_EN   MOP500_EGPIO(17)
 
#define GPIO_SDMMC_1V8_3V_SEL   MOP500_EGPIO(18)
 
#define MOP500_EGPIO_END   MOP500_EGPIO(24)
 
#define MOP500_AB8500_PIN_GPIO(x)   (MOP500_EGPIO_END + (x) - 1)
 
#define SNOWBALL_VSMPS2_1V8_GPIO   MOP500_AB8500_PIN_GPIO(1) /* SYSCLKREQ2/GPIO1 */
 
#define SNOWBALL_PM_GPIO1_GPIO   MOP500_AB8500_PIN_GPIO(2) /* SYSCLKREQ3/GPIO2 */
 
#define SNOWBALL_WLAN_CLK_REQ_GPIO   MOP500_AB8500_PIN_GPIO(3) /* SYSCLKREQ4/GPIO3 */
 
#define SNOWBALL_PM_GPIO4_GPIO   MOP500_AB8500_PIN_GPIO(4) /* SYSCLKREQ6/GPIO4 */
 
#define SNOWBALL_EN_3V6_GPIO   MOP500_AB8500_PIN_GPIO(16) /* PWMOUT3/GPIO16 */
 
#define SNOWBALL_PME_ETH_GPIO   MOP500_AB8500_PIN_GPIO(24) /* SYSCLKREQ7/GPIO24 */
 
#define SNOWBALL_EN_3V3_ETH_GPIO   MOP500_AB8500_PIN_GPIO(26) /* GPIO26 */
 

Functions

void mop500_sdi_init (struct device *parent)
 
void snowball_sdi_init (struct device *parent)
 
void hrefv60_sdi_init (struct device *parent)
 
void mop500_sdi_tc35892_init (struct device *parent)
 
void __init mop500_u8500uib_init (void)
 
void __init mop500_stuib_init (void)
 
void __init mop500_pinmaps_init (void)
 
void __init snowball_pinmaps_init (void)
 
void __init hrefv60_pinmaps_init (void)
 
void mop500_audio_init (struct device *parent)
 
void mop500_of_audio_init (struct device *parent)
 
int __init mop500_uib_init (void)
 
void mop500_uib_i2c_add (int busnum, struct i2c_board_info *info, unsigned n)
 
struct device *__init u8500_of_init_devices (void)
 

Variables

struct mmci_platform_data mop500_sdi0_data
 
struct mmci_platform_data mop500_sdi1_data
 
struct mmci_platform_data mop500_sdi2_data
 
struct mmci_platform_data mop500_sdi4_data
 
struct msp_i2s_platform_data msp0_platform_data
 
struct msp_i2s_platform_data msp1_platform_data
 
struct msp_i2s_platform_data msp2_platform_data
 
struct msp_i2s_platform_data msp3_platform_data
 
struct arm_pmu_platdata db8500_pmu_platdata
 

Macro Definition Documentation

#define CAMERA_FLASH_INT_PIN   7

Definition at line 40 of file board-mop500.h.

#define CYPRESS_SLAVE_SELECT_GPIO   216

Definition at line 46 of file board-mop500.h.

#define CYPRESS_TOUCH_INT_PIN   84

Definition at line 41 of file board-mop500.h.

#define CYPRESS_TOUCH_RST_GPIO   143

Definition at line 44 of file board-mop500.h.

#define GPIO_ACCEL_INT1   MOP500_EGPIO(10)

Definition at line 56 of file board-mop500.h.

#define GPIO_ACCEL_INT2   MOP500_EGPIO(11)

Definition at line 57 of file board-mop500.h.

#define GPIO_BU21013_CS   MOP500_EGPIO(13)

Definition at line 58 of file board-mop500.h.

#define GPIO_CAMERA_FLASH_ENABLE   MOP500_EGPIO(4)

Definition at line 52 of file board-mop500.h.

#define GPIO_HAL_SENSOR   MOP500_EGPIO(8)

Definition at line 55 of file board-mop500.h.

#define GPIO_MAGNET_DRDY   MOP500_EGPIO(1)

Definition at line 50 of file board-mop500.h.

#define GPIO_MMIO_XENON_CHARGE   MOP500_EGPIO(5)

Definition at line 53 of file board-mop500.h.

#define GPIO_PROX_SENSOR   MOP500_EGPIO(7)

Definition at line 54 of file board-mop500.h.

#define GPIO_SDMMC_1V8_3V_SEL   MOP500_EGPIO(18)

Definition at line 62 of file board-mop500.h.

#define GPIO_SDMMC_CD   MOP500_EGPIO(3)

Definition at line 51 of file board-mop500.h.

#define GPIO_SDMMC_EN   MOP500_EGPIO(17)

Definition at line 61 of file board-mop500.h.

#define HREFV60_ACCEL_INT1_GPIO   82

Definition at line 29 of file board-mop500.h.

#define HREFV60_ACCEL_INT2_GPIO   83

Definition at line 30 of file board-mop500.h.

#define HREFV60_CAMERA_FLASH_ENABLE   21

Definition at line 25 of file board-mop500.h.

#define HREFV60_DISP1_RST_GPIO   65

Definition at line 27 of file board-mop500.h.

#define HREFV60_DISP2_RST_GPIO   66

Definition at line 28 of file board-mop500.h.

#define HREFV60_HAL_SW_GPIO   145

Definition at line 34 of file board-mop500.h.

#define HREFV60_MAGNET_DRDY_GPIO   32

Definition at line 26 of file board-mop500.h.

#define HREFV60_MMIO_XENON_CHARGE   170

Definition at line 36 of file board-mop500.h.

#define HREFV60_PROX_SENSE_GPIO   217

Definition at line 37 of file board-mop500.h.

#define HREFV60_SDMMC_1V8_3V_GPIO   5

Definition at line 24 of file board-mop500.h.

#define HREFV60_SDMMC_CD_GPIO   95

Definition at line 31 of file board-mop500.h.

#define HREFV60_SDMMC_EN_GPIO   169

Definition at line 35 of file board-mop500.h.

#define HREFV60_TOUCH_RST_GPIO   143

Definition at line 33 of file board-mop500.h.

#define HREFV60_XSHUTDOWN_SECONDARY_SENSOR   140

Definition at line 32 of file board-mop500.h.

#define MOP500_AB8500_PIN_GPIO (   x)    (MOP500_EGPIO_END + (x) - 1)

Definition at line 71 of file board-mop500.h.

#define MOP500_DISP1_RST_GPIO   MOP500_EGPIO(15)

Definition at line 60 of file board-mop500.h.

#define MOP500_DISP2_RST_GPIO   MOP500_EGPIO(14)

Definition at line 59 of file board-mop500.h.

#define MOP500_EGPIO (   x)    (NOMADIK_NR_GPIO + (x))

Definition at line 49 of file board-mop500.h.

#define MOP500_EGPIO_END   MOP500_EGPIO(24)

Definition at line 63 of file board-mop500.h.

#define MOP500_HDMI_RST_GPIO   196

Definition at line 45 of file board-mop500.h.

#define SNOWBALL_ACCEL_INT1_GPIO   163

Definition at line 16 of file board-mop500.h.

#define SNOWBALL_ACCEL_INT2_GPIO   164

Definition at line 17 of file board-mop500.h.

#define SNOWBALL_EN_3V3_ETH_GPIO   MOP500_AB8500_PIN_GPIO(26) /* GPIO26 */

Definition at line 79 of file board-mop500.h.

#define SNOWBALL_EN_3V6_GPIO   MOP500_AB8500_PIN_GPIO(16) /* PWMOUT3/GPIO16 */

Definition at line 77 of file board-mop500.h.

#define SNOWBALL_MAGNET_DRDY_GPIO   165

Definition at line 18 of file board-mop500.h.

#define SNOWBALL_PM_GPIO1_GPIO   MOP500_AB8500_PIN_GPIO(2) /* SYSCLKREQ3/GPIO2 */

Definition at line 74 of file board-mop500.h.

#define SNOWBALL_PM_GPIO4_GPIO   MOP500_AB8500_PIN_GPIO(4) /* SYSCLKREQ6/GPIO4 */

Definition at line 76 of file board-mop500.h.

#define SNOWBALL_PME_ETH_GPIO   MOP500_AB8500_PIN_GPIO(24) /* SYSCLKREQ7/GPIO24 */

Definition at line 78 of file board-mop500.h.

#define SNOWBALL_SDMMC_1V8_3V_GPIO   228

Definition at line 20 of file board-mop500.h.

#define SNOWBALL_SDMMC_CD_GPIO   218

Definition at line 21 of file board-mop500.h.

#define SNOWBALL_SDMMC_EN_GPIO   217

Definition at line 19 of file board-mop500.h.

#define SNOWBALL_VSMPS2_1V8_GPIO   MOP500_AB8500_PIN_GPIO(1) /* SYSCLKREQ2/GPIO1 */

Definition at line 73 of file board-mop500.h.

#define SNOWBALL_WLAN_CLK_REQ_GPIO   MOP500_AB8500_PIN_GPIO(3) /* SYSCLKREQ4/GPIO3 */

Definition at line 75 of file board-mop500.h.

#define XSHUTDOWN_PRIMARY_SENSOR   141

Definition at line 42 of file board-mop500.h.

#define XSHUTDOWN_SECONDARY_SENSOR   142

Definition at line 43 of file board-mop500.h.

Function Documentation

void __init hrefv60_pinmaps_init ( void  )

Definition at line 526 of file board-mop500-pins.c.

void hrefv60_sdi_init ( struct device parent)

Definition at line 272 of file board-mop500-sdi.c.

void mop500_audio_init ( struct device parent)

Definition at line 174 of file board-mop500-audio.c.

void mop500_of_audio_init ( struct device parent)

Definition at line 191 of file board-mop500-audio.c.

void __init mop500_pinmaps_init ( void  )

Definition at line 507 of file board-mop500-pins.c.

void mop500_sdi_init ( struct device parent)

Definition at line 244 of file board-mop500-sdi.c.

void mop500_sdi_tc35892_init ( struct device parent)

Definition at line 124 of file board-mop500-sdi.c.

void __init mop500_stuib_init ( void  )

Definition at line 189 of file board-mop500-stuib.c.

void __init mop500_u8500uib_init ( void  )

Definition at line 81 of file board-mop500-u8500uib.c.

void mop500_uib_i2c_add ( int  busnum,
struct i2c_board_info info,
unsigned  n 
)

Definition at line 67 of file board-mop500-uib.c.

int __init mop500_uib_init ( void  )

Definition at line 99 of file board-mop500-uib.c.

void __init snowball_pinmaps_init ( void  )

Definition at line 516 of file board-mop500-pins.c.

void snowball_sdi_init ( struct device parent)

Definition at line 258 of file board-mop500-sdi.c.

struct device* __init u8500_of_init_devices ( void  )
read

Definition at line 231 of file cpu-db8500.c.

Variable Documentation

struct arm_pmu_platdata db8500_pmu_platdata

Definition at line 119 of file cpu-db8500.c.

struct mmci_platform_data mop500_sdi0_data

Definition at line 83 of file board-mop500-sdi.c.

struct mmci_platform_data mop500_sdi1_data

Definition at line 155 of file board-mop500-sdi.c.

struct mmci_platform_data mop500_sdi2_data

Definition at line 192 of file board-mop500-sdi.c.

struct mmci_platform_data mop500_sdi4_data

Definition at line 230 of file board-mop500-sdi.c.

struct msp_i2s_platform_data msp0_platform_data

Definition at line 51 of file board-mop500-audio.c.

struct msp_i2s_platform_data msp1_platform_data

Definition at line 83 of file board-mop500-audio.c.

struct msp_i2s_platform_data msp2_platform_data

Definition at line 162 of file board-mop500-audio.c.

struct msp_i2s_platform_data msp3_platform_data

Definition at line 168 of file board-mop500-audio.c.