#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/timex.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/termios.h>
#include <linux/amba/bus.h>
#include <linux/amba/serial.h>
#include <linux/mtd/physmap.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/spi/spi.h>
#include <linux/export.h>
#include <mach/hardware.h>
#include <linux/platform_data/video-ep93xx.h>
#include <linux/platform_data/keypad-ep93xx.h>
#include <linux/platform_data/spi-ep93xx.h>
#include <mach/gpio-ep93xx.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <asm/hardware/vic.h>
#include "soc.h"
Go to the source code of this file.
|
void __init | ep93xx_map_io (void) |
|
void __init | ep93xx_init_irq (void) |
|
void | ep93xx_syscon_swlocked_write (unsigned int val, void __iomem *reg) |
|
void | ep93xx_devcfg_set_clear (unsigned int set_bits, unsigned int clear_bits) |
|
unsigned int | ep93xx_chip_revision (void) |
|
void __init | ep93xx_register_flash (unsigned int width, resource_size_t start, resource_size_t size) |
|
void __init | ep93xx_register_eth (struct ep93xx_eth_data *data, int copy_addr) |
|
void __init | ep93xx_register_i2c (struct i2c_gpio_platform_data *data, struct i2c_board_info *devices, int num) |
|
void __init | ep93xx_register_spi (struct ep93xx_spi_info *info, struct spi_board_info *devices, int num) |
|
void __init | ep93xx_register_pwm (int pwm0, int pwm1) |
|
int | ep93xx_pwm_acquire_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_pwm_acquire_gpio) |
|
void | ep93xx_pwm_release_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_pwm_release_gpio) |
|
void __init | ep93xx_register_fb (struct ep93xxfb_mach_info *data) |
|
void __init | ep93xx_register_keypad (struct ep93xx_keypad_platform_data *data) |
|
int | ep93xx_keypad_acquire_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_keypad_acquire_gpio) |
|
void | ep93xx_keypad_release_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_keypad_release_gpio) |
|
void __init | ep93xx_register_i2s (void) |
|
int | ep93xx_i2s_acquire (void) |
|
| EXPORT_SYMBOL (ep93xx_i2s_acquire) |
|
void | ep93xx_i2s_release (void) |
|
| EXPORT_SYMBOL (ep93xx_i2s_release) |
|
void __init | ep93xx_register_ac97 (void) |
|
void __init | ep93xx_register_ide (void) |
|
int | ep93xx_ide_acquire_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_ide_acquire_gpio) |
|
void | ep93xx_ide_release_gpio (struct platform_device *pdev) |
|
| EXPORT_SYMBOL (ep93xx_ide_release_gpio) |
|
void __init | ep93xx_init_devices (void) |
|
void | ep93xx_restart (char mode, const char *cmd) |
|
void __init | ep93xx_init_late (void) |
|
#define EP93XX_I2SCLKDIV_MASK |
Value:
EP93XX_SYSCON_I2SCLKDIV_SPOL)
Definition at line 729 of file core.c.
#define EP93XX_RASTER_REG_BRIGHTNESS 0x20 |
#define EP93XX_SYSCON_DEVCFG_I2S_MASK |
Value:
EP93XX_SYSCON_DEVCFG_I2SONAC97)
Definition at line 726 of file core.c.
#define EP93XX_TIMER123_CLOCK 508469 |
#define EP93XX_TIMER123_CONTROL_CLKSEL (1 << 3) |
#define EP93XX_TIMER123_CONTROL_ENABLE (1 << 7) |
#define EP93XX_TIMER123_CONTROL_MODE (1 << 6) |
#define EP93XX_TIMER4_CLOCK 983040 |
#define EP93XX_TIMER4_VALUE_HIGH_ENABLE (1 << 8) |
#define EP93XX_UART_MCR_OFFSET (0x0100) |
#define pr_fmt |
( |
|
fmt | ) |
"ep93xx " KBUILD_MODNAME ": " fmt |
unsigned int ep93xx_chip_revision |
( |
void |
| ) |
|
void ep93xx_devcfg_set_clear |
( |
unsigned int |
set_bits, |
|
|
unsigned int |
clear_bits |
|
) |
| |
ep93xx_register_eth - Register the built-in ethernet platform device. : platform specific ethernet configuration (__initdata) : flag indicating that the MAC address should be copied from the IndAd registers (as programmed by the bootloader)
Definition at line 383 of file core.c.
ep93xx_register_fb - Register the framebuffer platform device. : platform specific framebuffer configuration (__initdata)
Definition at line 617 of file core.c.
ep93xx_register_i2c - Register the i2c platform device. : platform specific i2c-gpio configuration (__initdata) : platform specific i2c bus device information (__initdata) : the number of devices on the i2c bus
Definition at line 412 of file core.c.
ep93xx_register_keypad - Register the keypad platform device. : platform specific keypad configuration (__initdata)
Definition at line 649 of file core.c.
ep93xx_register_spi() - registers spi platform device : ep93xx board specific spi master info (__initdata) : SPI devices to register (__initdata) : number of SPI devices to register
This function registers platform device for the EP93xx SPI controller and also makes sure that SPI pins are muxed so that I2S is not using those pins.
Definition at line 468 of file core.c.
Initial value:= {
.init = ep93xx_timer_init,
.offset = ep93xx_gettimeoffset,
}
Definition at line 171 of file core.c.