Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/htcpld.h>
#include <linux/leds.h>
#include <linux/spi/spi.h>
#include <linux/spi/ads7846.h>
#include <linux/omapfb.h>
#include <linux/platform_data/keypad-omap.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/omap7xx.h>
#include <plat/mmc.h>
#include <mach/irqs.h>
#include <mach/usb.h>
#include "common.h"
Go to the source code of this file.
Variables | |
atag_offset = 0x100 | |
map_io = htcherald_map_io | |
init_early = omap1_init_early | |
reserve = omap_reserve | |
init_irq = omap1_init_irq | |
init_machine = htcherald_init | |
init_late = omap1_init_late | |
timer = &omap1_timer | |
restart = omap1_restart | |
#define HTCHERALD_GIRQ_BTNS 141 |
Definition at line 64 of file board-htcherald.c.
#define HTCHERALD_GPIO_POWER 139 |
Definition at line 62 of file board-htcherald.c.
#define HTCHERALD_GPIO_SLIDE 174 |
Definition at line 63 of file board-htcherald.c.
#define HTCHERALD_GPIO_TS 76 |
Definition at line 67 of file board-htcherald.c.
#define HTCHERALD_GPIO_USB_DM 35 |
Definition at line 520 of file board-htcherald.c.
#define HTCHERALD_GPIO_USB_DP 36 |
Definition at line 521 of file board-htcherald.c.
#define HTCHERALD_GPIO_USB_EN1 33 |
Definition at line 518 of file board-htcherald.c.
#define HTCHERALD_GPIO_USB_EN2 73 |
Definition at line 519 of file board-htcherald.c.
#define HTCPLD_BASE | ( | chip, | |
offset | |||
) | (HTCPLD_GPIO_START_OFFSET + 8 * (chip) + (offset)) |
Definition at line 133 of file board-htcherald.c.
#define HTCPLD_GPIO_DOWN_DPAD HTCPLD_BASE(7, 4) |
Definition at line 156 of file board-htcherald.c.
#define HTCPLD_GPIO_DOWN_KBD HTCPLD_BASE(6, 4) |
Definition at line 151 of file board-htcherald.c.
#define HTCPLD_GPIO_ENTER_DPAD HTCPLD_BASE(7, 3) |
Definition at line 157 of file board-htcherald.c.
#define HTCPLD_GPIO_INT_RESET_HI HTCPLD_BASE(2, 7) |
Definition at line 163 of file board-htcherald.c.
#define HTCPLD_GPIO_INT_RESET_LO HTCPLD_BASE(2, 0) |
Definition at line 164 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_ALT HTCPLD_BASE(3, 4) |
Definition at line 146 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_BT HTCPLD_BASE(2, 6) |
Definition at line 144 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_CAPS HTCPLD_BASE(1, 5) |
Definition at line 138 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_DPAD HTCPLD_BASE(0, 0) |
Definition at line 136 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_GREEN_FLASH HTCPLD_BASE(2, 3) |
Definition at line 141 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_GREEN_SOLID HTCPLD_BASE(2, 4) |
Definition at line 142 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_KBD HTCPLD_BASE(1, 0) |
Definition at line 137 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_RED_FLASH HTCPLD_BASE(2, 1) |
Definition at line 139 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_RED_SOLID HTCPLD_BASE(2, 2) |
Definition at line 140 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_VIBRATE HTCPLD_BASE(3, 3) |
Definition at line 145 of file board-htcherald.c.
#define HTCPLD_GPIO_LED_WIFI HTCPLD_BASE(2, 5) |
Definition at line 143 of file board-htcherald.c.
#define HTCPLD_GPIO_LEFT_DPAD HTCPLD_BASE(7, 5) |
Definition at line 155 of file board-htcherald.c.
#define HTCPLD_GPIO_LEFT_KBD HTCPLD_BASE(6, 5) |
Definition at line 150 of file board-htcherald.c.
#define HTCPLD_GPIO_RIGHT_DPAD HTCPLD_BASE(7, 7) |
Definition at line 153 of file board-htcherald.c.
#define HTCPLD_GPIO_RIGHT_KBD HTCPLD_BASE(6, 7) |
Definition at line 148 of file board-htcherald.c.
#define HTCPLD_GPIO_START_OFFSET (OMAP_MAX_GPIO_LINES + 16) |
Definition at line 131 of file board-htcherald.c.
#define HTCPLD_GPIO_UP_DPAD HTCPLD_BASE(7, 6) |
Definition at line 154 of file board-htcherald.c.
#define HTCPLD_GPIO_UP_KBD HTCPLD_BASE(6, 6) |
Definition at line 149 of file board-htcherald.c.
#define HTCPLD_IRQ | ( | chip, | |
offset | |||
) | (OMAP_IRQ_END + 8 * (chip) + (offset)) |
Definition at line 132 of file board-htcherald.c.
#define HTCPLD_IRQ_DOWN_DPAD HTCPLD_IRQ(1, 4) |
Definition at line 176 of file board-htcherald.c.
#define HTCPLD_IRQ_DOWN_KBD HTCPLD_IRQ(0, 4) |
Definition at line 170 of file board-htcherald.c.
#define HTCPLD_IRQ_ENTER_DPAD HTCPLD_IRQ(1, 3) |
Definition at line 177 of file board-htcherald.c.
#define HTCPLD_IRQ_LEFT_DPAD HTCPLD_IRQ(1, 5) |
Definition at line 175 of file board-htcherald.c.
#define HTCPLD_IRQ_LEFT_KBD HTCPLD_IRQ(0, 5) |
Definition at line 169 of file board-htcherald.c.
#define HTCPLD_IRQ_RIGHT_DPAD HTCPLD_IRQ(1, 7) |
Definition at line 173 of file board-htcherald.c.
#define HTCPLD_IRQ_RIGHT_KBD HTCPLD_IRQ(0, 7) |
Definition at line 167 of file board-htcherald.c.
#define HTCPLD_IRQ_UP_DPAD HTCPLD_IRQ(1, 6) |
Definition at line 174 of file board-htcherald.c.
#define HTCPLD_IRQ_UP_KBD HTCPLD_IRQ(0, 6) |
Definition at line 168 of file board-htcherald.c.
#define OMAP_DMA_LCD_CCR (0xfffee300 + 0xc2) |
Definition at line 56 of file board-htcherald.c.
#define OMAP_DMA_LCD_CTRL (0xfffee300 + 0xc4) |
Definition at line 57 of file board-htcherald.c.
#define OMAP_LCDC_CONTROL (0xfffec000 + 0x00) |
Definition at line 54 of file board-htcherald.c.
#define OMAP_LCDC_CTRL_LCD_EN (1 << 0) |
Definition at line 58 of file board-htcherald.c.
#define OMAP_LCDC_STAT_DONE (1 << 0) |
Definition at line 59 of file board-htcherald.c.
#define OMAP_LCDC_STATUS (0xfffec000 + 0x10) |
Definition at line 55 of file board-htcherald.c.
atag_offset = 0x100 |
Definition at line 600 of file board-htcherald.c.
init_early = omap1_init_early |
Definition at line 602 of file board-htcherald.c.
init_irq = omap1_init_irq |
Definition at line 604 of file board-htcherald.c.
init_late = omap1_init_late |
Definition at line 606 of file board-htcherald.c.
init_machine = htcherald_init |
Definition at line 605 of file board-htcherald.c.
map_io = htcherald_map_io |
Definition at line 601 of file board-htcherald.c.
reserve = omap_reserve |
Definition at line 603 of file board-htcherald.c.
restart = omap1_restart |
Definition at line 608 of file board-htcherald.c.
timer = &omap1_timer |
Definition at line 607 of file board-htcherald.c.