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

mx3_3stack_gpio.c File Reference


Detailed Description

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

Definition in file mx3_3stack_gpio.c.

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

Go to the source code of this file.

Defines

#define ATA_CTL_PAD_CFG   (PAD_CTL_SRE_SLOW | PAD_CTL_PKE_NONE)
#define ATA_DAT_PAD_CFG   (PAD_CTL_SRE_SLOW | PAD_CTL_DRV_NORMAL | PAD_CTL_PKE_NONE)
#define ATA_DAT_PAD_CFG   (PAD_CTL_SRE_FAST | PAD_CTL_PKE_NONE | PAD_CTL_100K_PU)

Functions

void config_uartdma_event (int port)
 EXPORT_SYMBOL (gpio_gps_inactive)
 EXPORT_SYMBOL (gpio_gps_access)
 EXPORT_SYMBOL (gpio_gps_active)
 EXPORT_SYMBOL (gpio_usbotg_fs_inactive)
 EXPORT_SYMBOL (gpio_usbotg_fs_active)
 EXPORT_SYMBOL (gpio_usbotg_hs_inactive)
 EXPORT_SYMBOL (gpio_usbotg_hs_active)
 EXPORT_SYMBOL (gpio_usbh2_inactive)
 EXPORT_SYMBOL (gpio_usbh2_active)
 EXPORT_SYMBOL (gpio_usbh1_inactive)
 EXPORT_SYMBOL (gpio_usbh1_active)
 EXPORT_SYMBOL (gpio_ata_inactive)
 EXPORT_SYMBOL (gpio_ata_active)
 EXPORT_SYMBOL (gpio_sensor_inactive)
 EXPORT_SYMBOL (gpio_sensor_reset)
 EXPORT_SYMBOL (gpio_sensor_active)
 EXPORT_SYMBOL (sdhc_write_protect)
 EXPORT_SYMBOL (sdhc_init_card_det)
 EXPORT_SYMBOL (sdhc_get_card_det_status)
 EXPORT_SYMBOL (gpio_sdhc_inactive)
 EXPORT_SYMBOL (gpio_sdhc_active)
 EXPORT_SYMBOL (gpio_pmic_active)
 EXPORT_SYMBOL (gpio_owire_inactive)
 EXPORT_SYMBOL (gpio_owire_active)
 EXPORT_SYMBOL (gpio_power_key_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_ata_active (void)
void gpio_ata_inactive (void)
int gpio_gps_access (int para)
void gpio_gps_active (void)
void gpio_gps_inactive (void)
void gpio_i2c_active (int i2c_num)
void gpio_i2c_inactive (int i2c_num)
void gpio_keypad_active (void)
void gpio_keypad_inactive (void)
void gpio_lcd_active (void)
void gpio_lcd_inactive (void)
void gpio_owire_active (void)
void gpio_owire_inactive (void)
void gpio_pmic_active (void)
void gpio_power_key_active (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_sensor_reset (bool flag)
void gpio_sensor_select (int sensor)
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_usbh1_active (void)
void gpio_usbh1_inactive (void)
int gpio_usbh2_active (void)
void gpio_usbh2_inactive (void)
int gpio_usbotg_fs_active (void)
void gpio_usbotg_fs_inactive (void)
int gpio_usbotg_hs_active (void)
void gpio_usbotg_hs_inactive (void)
unsigned int sdhc_get_card_det_status (struct device *dev)
int sdhc_init_card_det (int id)
int sdhc_write_protect (struct device *dev)


Generated by  Doxygen 1.6.0   Back to index