Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mx25_3stack_gpio.c File Reference


Detailed Description

This file contains all the GPIO setup functions for the board.

Definition in file mx25_3stack_gpio.c.

#include <linux/errno.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <mach/gpio.h>
#include "board-mx25_3stack.h"
#include "iomux.h"

Go to the source code of this file.

Defines

#define CAN_PAD_CTL
#define CAN_PAD_IN_CTL   (PAD_CTL_HYS_CMOS | PAD_CTL_PKE_NONE)
#define CSI_PAD_CTL1   (PAD_CTL_PKE_ENABLE | PAD_CTL_100K_PU)
#define CSI_PAD_CTL2
#define ESAI_PAD_CTL
#define FEC_PAD_CTL1
#define FEC_PAD_CTL2   (PAD_CTL_PUE_PUD)
#define I2C_PAD_CTL
#define KPP_PAD_CTL_COL
#define KPP_PAD_CTL_ROW
#define LCD_PAD_CTL   (PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_PUD | PAD_CTL_100K_PU)
#define SDHC_PAD_CTL
#define SPI_PAD_CTL1
#define SPI_PAD_CTL2

Functions

 __setup ("sim", sim_setup)
void config_uartdma_event (int port)
 EXPORT_SYMBOL (sgtl5000_enable_amp)
 EXPORT_SYMBOL (headphone_det_status)
 EXPORT_SYMBOL (gpio_inactive_audio_ports)
 EXPORT_SYMBOL (gpio_activate_audio_ports)
 EXPORT_SYMBOL (gpio_can_inactive)
 EXPORT_SYMBOL (gpio_can_active)
 EXPORT_SYMBOL (gpio_deactivate_esai_ports)
 EXPORT_SYMBOL (gpio_activate_esai_ports)
 EXPORT_SYMBOL (gpio_sensor_inactive)
 EXPORT_SYMBOL (gpio_sensor_active)
 EXPORT_SYMBOL (gpio_usbotg_utmi_inactive)
 EXPORT_SYMBOL (gpio_usbotg_utmi_active)
 EXPORT_SYMBOL (gpio_usbh2_active)
 EXPORT_SYMBOL (sdhc_write_protect)
 EXPORT_SYMBOL (sdhc_get_card_det_status)
 EXPORT_SYMBOL (gpio_sdhc_inactive)
 EXPORT_SYMBOL (gpio_sdhc_active)
 EXPORT_SYMBOL (gpio_lcdc_inactive)
 EXPORT_SYMBOL (gpio_lcdc_active)
 EXPORT_SYMBOL (gpio_spi_inactive)
 EXPORT_SYMBOL (gpio_spi_active)
 EXPORT_SYMBOL (gpio_i2c_inactive)
 EXPORT_SYMBOL (gpio_i2c_active)
 EXPORT_SYMBOL (gpio_fec_inactive)
 EXPORT_SYMBOL (gpio_fec_active)
 EXPORT_SYMBOL (gpio_keypad_inactive)
 EXPORT_SYMBOL (gpio_keypad_active)
 EXPORT_SYMBOL (config_uartdma_event)
 EXPORT_SYMBOL (gpio_uart_inactive)
 EXPORT_SYMBOL (gpio_uart_active)
void gpio_activate_audio_ports (void)
void gpio_activate_esai_ports (void)
void gpio_can_active (int id)
void gpio_can_inactive (int id)
void gpio_deactivate_esai_ports (void)
void gpio_fec_active (void)
void gpio_fec_inactive (void)
void gpio_i2c_active (int i2c_num)
void gpio_i2c_inactive (int i2c_num)
void gpio_inactive_audio_ports (void)
void gpio_keypad_active (void)
void gpio_keypad_inactive (void)
void gpio_lcdc_active (void)
void gpio_lcdc_inactive (void)
void gpio_sdhc_active (int module)
void gpio_sdhc_inactive (int module)
void gpio_sensor_active (void)
void gpio_sensor_inactive (void)
void gpio_spi_active (int cspi_mod)
void gpio_spi_inactive (int cspi_mod)
void gpio_uart_active (int port, int no_irda)
void gpio_uart_inactive (int port, int no_irda)
int gpio_usbh2_active (void)
void gpio_usbh2_inactive (void)
int gpio_usbotg_utmi_active (void)
void gpio_usbotg_utmi_inactive (void)
int headphone_det_status (void)
void __init mx25_3stack_gpio_init (void)
unsigned int sdhc_get_card_det_status (struct device *dev)
int sdhc_write_protect (struct device *dev)
void sgtl5000_enable_amp (void)
static int __init sim_setup (char *__unused)

Variables

static int __initdata enable_sim = { 0 }
static struct
mxc_iomux_pin_cfg __initdata 
mxc_iomux_pins []
static struct
mxc_iomux_pin_cfg __initdata 
sim_iomux_pins []


Generated by  Doxygen 1.6.0   Back to index