Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mach-mx27_3ds.c File Reference
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
#include <linux/delay.h>
#include <linux/mfd/mc13783.h>
#include <linux/spi/spi.h>
#include <linux/regulator/machine.h>
#include <linux/spi/l4f00242t03.h>
#include <media/soc_camera.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <mach/hardware.h>
#include <mach/common.h>
#include <mach/iomux-mx27.h>
#include <mach/ulpi.h>
#include <mach/3ds_debugboard.h>
#include "devices-imx27.h"

Go to the source code of this file.

Macros

#define SD1_EN_GPIO   IMX_GPIO_NR(2, 25)
 
#define OTG_PHY_RESET_GPIO   IMX_GPIO_NR(2, 23)
 
#define SPI2_SS0   IMX_GPIO_NR(4, 21)
 
#define PMIC_INT   IMX_GPIO_NR(3, 14)
 
#define SPI1_SS0   IMX_GPIO_NR(4, 28)
 
#define SD1_CD   IMX_GPIO_NR(2, 26)
 
#define LCD_RESET   IMX_GPIO_NR(1, 3)
 
#define LCD_ENABLE   IMX_GPIO_NR(1, 31)
 
#define CSI_PWRDWN   IMX_GPIO_NR(4, 19)
 
#define CSI_RESET   IMX_GPIO_NR(3, 6)
 

Functions

 __setup ("otg_mode=", mx27_3ds_otg_mode)
 

Variables

 atag_offset = 0x100
 
 map_io = mx27_map_io
 
 init_early = imx27_init_early
 
 init_irq = mx27_init_irq
 
 handle_irq = imx27_handle_irq
 
 timer = &mx27pdk_timer
 
 init_machine = mx27pdk_init
 
 restart = mxc_restart
 

Macro Definition Documentation

#define CSI_PWRDWN   IMX_GPIO_NR(4, 19)

Definition at line 55 of file mach-mx27_3ds.c.

#define CSI_RESET   IMX_GPIO_NR(3, 6)

Definition at line 56 of file mach-mx27_3ds.c.

#define LCD_ENABLE   IMX_GPIO_NR(1, 31)

Definition at line 54 of file mach-mx27_3ds.c.

#define LCD_RESET   IMX_GPIO_NR(1, 3)

Definition at line 53 of file mach-mx27_3ds.c.

#define OTG_PHY_RESET_GPIO   IMX_GPIO_NR(2, 23)

Definition at line 48 of file mach-mx27_3ds.c.

#define PMIC_INT   IMX_GPIO_NR(3, 14)

Definition at line 50 of file mach-mx27_3ds.c.

#define SD1_CD   IMX_GPIO_NR(2, 26)

Definition at line 52 of file mach-mx27_3ds.c.

#define SD1_EN_GPIO   IMX_GPIO_NR(2, 25)

Definition at line 47 of file mach-mx27_3ds.c.

#define SPI1_SS0   IMX_GPIO_NR(4, 28)

Definition at line 51 of file mach-mx27_3ds.c.

#define SPI2_SS0   IMX_GPIO_NR(4, 21)

Definition at line 49 of file mach-mx27_3ds.c.

Function Documentation

__setup ( )

Variable Documentation

atag_offset = 0x100

Definition at line 547 of file mach-mx27_3ds.c.

handle_irq = imx27_handle_irq

Definition at line 551 of file mach-mx27_3ds.c.

init_early = imx27_init_early

Definition at line 549 of file mach-mx27_3ds.c.

init_irq = mx27_init_irq

Definition at line 550 of file mach-mx27_3ds.c.

init_machine = mx27pdk_init

Definition at line 553 of file mach-mx27_3ds.c.

map_io = mx27_map_io

Definition at line 548 of file mach-mx27_3ds.c.

restart = mxc_restart

Definition at line 554 of file mach-mx27_3ds.c.

timer = &mx27pdk_timer

Definition at line 552 of file mach-mx27_3ds.c.