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

mx35_3stack_gpio.c File Reference


Detailed Description

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

Definition in file mx35_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 <linux/mfd/mc9s08dz60/pmic.h>
#include "board-mx35_3stack.h"
#include "iomux.h"

Go to the source code of this file.

Defines

#define FEC_PAD_CTL_COMMON
#define PAD_CONFIG   (PAD_CTL_HYS_SCHMITZ | PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_PUD | PAD_CTL_ODE_OpenDrain)

Functions

void config_uartdma_event (int port)
 EXPORT_SYMBOL (gpio_pmic_active)
 EXPORT_SYMBOL (gpio_mlb_inactive)
 EXPORT_SYMBOL (gpio_mlb_active)
 EXPORT_SYMBOL (gpio_gps_inactive)
 EXPORT_SYMBOL (gpio_gps_access)
 EXPORT_SYMBOL (gpio_gps_active)
 EXPORT_SYMBOL (gpio_deactivate_esai_ports)
 EXPORT_SYMBOL (gpio_activate_esai_ports)
 EXPORT_SYMBOL (gpio_ata_inactive)
 EXPORT_SYMBOL (gpio_ata_active)
 EXPORT_SYMBOL (gpio_inactivate_bt_audio_port)
 EXPORT_SYMBOL (gpio_activate_bt_audio_port)
 EXPORT_SYMBOL (gpio_inactivate_audio_ports)
 EXPORT_SYMBOL (gpio_activate_audio_ports)
 EXPORT_SYMBOL (gpio_spdif_inactive)
 EXPORT_SYMBOL (gpio_spdif_active)
 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_inactive)
 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_lcd_inactive)
 EXPORT_SYMBOL (gpio_lcd_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 (config_uartdma_event)
 EXPORT_SYMBOL (gpio_uart_inactive)
 EXPORT_SYMBOL (gpio_uart_active)
void gpio_activate_audio_ports (void)
void gpio_activate_bt_audio_port (void)
void gpio_activate_esai_ports (void)
void gpio_ata_active (void)
void gpio_ata_inactive (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)
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_inactivate_audio_ports (void)
void gpio_inactivate_bt_audio_port (void)
void gpio_lcd_active (void)
void gpio_lcd_inactive (void)
void gpio_mlb_active (void)
void gpio_mlb_inactive (void)
void gpio_pmic_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_spdif_active (void)
void gpio_spdif_inactive (void)
void gpio_spi_active (int cspi_mod)
void gpio_spi_inactive (int cspi_mod)
void gpio_tsc_active (void)
void gpio_tsc_inactive (void)
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)
void mx35_3stack_gpio_init (void)
unsigned int sdhc_get_card_det_status (struct device *dev)
int sdhc_write_protect (struct device *dev)


Generated by  Doxygen 1.6.0   Back to index