Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
vision_ep9307.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/fb.h>
#include <linux/io.h>
#include <linux/mtd/partitions.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/i2c/pca953x.h>
#include <linux/spi/spi.h>
#include <linux/spi/flash.h>
#include <linux/spi/mmc_spi.h>
#include <linux/mmc/host.h>
#include <mach/hardware.h>
#include <linux/platform_data/video-ep93xx.h>
#include <linux/platform_data/spi-ep93xx.h>
#include <mach/gpio-ep93xx.h>
#include <asm/hardware/vic.h>
#include <asm/mach-types.h>
#include <asm/mach/map.h>
#include <asm/mach/arch.h>
#include "soc.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define VISION_PHYS_BASE   EP93XX_CS7_PHYS_BASE
 
#define VISION_VIRT_BASE   0xfebff000
 
#define VISION_LCD_ENABLE   EP93XX_GPIO_LINE_EGPIO1
 
#define PCA9539_74_GPIO_BASE   (EP93XX_GPIO_LINE_MAX + 1)
 
#define PCA9539_75_GPIO_BASE   (PCA9539_74_GPIO_BASE + 16)
 
#define PCA9539_76_GPIO_BASE   (PCA9539_75_GPIO_BASE + 16)
 
#define PCA9539_77_GPIO_BASE   (PCA9539_76_GPIO_BASE + 16)
 
#define VISION_SPI_FLASH_CS   EP93XX_GPIO_LINE_EGPIO7
 
#define VISION_SPI_MMC_CS   EP93XX_GPIO_LINE_G(2)
 
#define VISION_SPI_MMC_WP   EP93XX_GPIO_LINE_F(0)
 
#define VISION_SPI_MMC_CD   EP93XX_GPIO_LINE_EGPIO15
 

Variables

 atag_offset = 0x100
 
 map_io = vision_map_io
 
 init_irq = ep93xx_init_irq
 
 handle_irq = vic_handle_irq
 
 timer = &ep93xx_timer
 
 init_machine = vision_init_machine
 
 init_late = ep93xx_init_late
 
 restart = ep93xx_restart
 

Macro Definition Documentation

#define PCA9539_74_GPIO_BASE   (EP93XX_GPIO_LINE_MAX + 1)

Definition at line 120 of file vision_ep9307.c.

#define PCA9539_75_GPIO_BASE   (PCA9539_74_GPIO_BASE + 16)

Definition at line 121 of file vision_ep9307.c.

#define PCA9539_76_GPIO_BASE   (PCA9539_75_GPIO_BASE + 16)

Definition at line 122 of file vision_ep9307.c.

#define PCA9539_77_GPIO_BASE   (PCA9539_76_GPIO_BASE + 16)

Definition at line 123 of file vision_ep9307.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 14 of file vision_ep9307.c.

#define VISION_LCD_ENABLE   EP93XX_GPIO_LINE_EGPIO1

Definition at line 76 of file vision_ep9307.c.

#define VISION_PHYS_BASE   EP93XX_CS7_PHYS_BASE

Definition at line 47 of file vision_ep9307.c.

#define VISION_SPI_FLASH_CS   EP93XX_GPIO_LINE_EGPIO7

Definition at line 175 of file vision_ep9307.c.

#define VISION_SPI_MMC_CD   EP93XX_GPIO_LINE_EGPIO15

Definition at line 226 of file vision_ep9307.c.

#define VISION_SPI_MMC_CS   EP93XX_GPIO_LINE_G(2)

Definition at line 224 of file vision_ep9307.c.

#define VISION_SPI_MMC_WP   EP93XX_GPIO_LINE_F(0)

Definition at line 225 of file vision_ep9307.c.

#define VISION_VIRT_BASE   0xfebff000

Definition at line 48 of file vision_ep9307.c.

Variable Documentation

atag_offset = 0x100

Definition at line 364 of file vision_ep9307.c.

handle_irq = vic_handle_irq

Definition at line 367 of file vision_ep9307.c.

init_irq = ep93xx_init_irq

Definition at line 366 of file vision_ep9307.c.

init_late = ep93xx_init_late

Definition at line 370 of file vision_ep9307.c.

init_machine = vision_init_machine

Definition at line 369 of file vision_ep9307.c.

map_io = vision_map_io

Definition at line 365 of file vision_ep9307.c.

restart = ep93xx_restart

Definition at line 371 of file vision_ep9307.c.

Definition at line 368 of file vision_ep9307.c.