Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137469
b: refs/heads/master
c: b283081
h: refs/heads/master
i:
  137467: 138d221
v: v3
  • Loading branch information
Tony Lindgren committed Mar 24, 2009
1 parent 2e40990 commit 1a7d6c8
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 94 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a0110cdae41fb91d005c335db9e5e697dddc5cd
refs/heads/master: b2830810fd8ca8cd8a929a6d6a6c886b1d689a51
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-omap1/board-palmte.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@
#include <mach/keypad.h>
#include <mach/common.h>

#define PALMTE_USBDETECT_GPIO 0
#define PALMTE_USB_OR_DC_GPIO 1
#define PALMTE_TSC_GPIO 4
#define PALMTE_PINTDAV_GPIO 6
#define PALMTE_MMC_WP_GPIO 8
#define PALMTE_MMC_POWER_GPIO 9
#define PALMTE_HDQ_GPIO 11
#define PALMTE_HEADPHONES_GPIO 14
#define PALMTE_SPEAKER_GPIO 15
#define PALMTE_DC_GPIO OMAP_MPUIO(2)
#define PALMTE_MMC_SWITCH_GPIO OMAP_MPUIO(4)
#define PALMTE_MMC1_GPIO OMAP_MPUIO(6)
#define PALMTE_MMC2_GPIO OMAP_MPUIO(7)
#define PALMTE_MMC3_GPIO OMAP_MPUIO(11)

static void __init omap_palmte_init_irq(void)
{
omap1_init_common_hw();
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-omap1/board-palmtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
#include <linux/spi/spi.h>
#include <linux/spi/ads7846.h>

#define PALMTT_USBDETECT_GPIO 0
#define PALMTT_CABLE_GPIO 1
#define PALMTT_LED_GPIO 3
#define PALMTT_PENIRQ_GPIO 6
#define PALMTT_MMC_WP_GPIO 8
#define PALMTT_HDQ_GPIO 11

static int palmtt_keymap[] = {
KEY(0, 0, KEY_ESC),
KEY(0, 1, KEY_SPACE),
Expand Down
10 changes: 10 additions & 0 deletions trunk/arch/arm/mach-omap1/board-palmz71.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@
#include <linux/spi/spi.h>
#include <linux/spi/ads7846.h>

#define PALMZ71_USBDETECT_GPIO 0
#define PALMZ71_PENIRQ_GPIO 6
#define PALMZ71_MMC_WP_GPIO 8
#define PALMZ71_HDQ_GPIO 11

#define PALMZ71_HOTSYNC_GPIO OMAP_MPUIO(1)
#define PALMZ71_CABLE_GPIO OMAP_MPUIO(2)
#define PALMZ71_SLIDER_GPIO OMAP_MPUIO(3)
#define PALMZ71_MMC_IN_GPIO OMAP_MPUIO(4)

static void __init
omap_palmz71_init_irq(void)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap1/board-sx1-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <mach/hardware.h>
#include <mach/mmc.h>
#include <mach/gpio.h>
#include <mach/board-sx1.h>

#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap1/board-sx1.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <mach/board.h>
#include <mach/common.h>
#include <mach/keypad.h>
#include <mach/board-sx1.h>

/* Write to I2C device */
int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value)
Expand Down
32 changes: 0 additions & 32 deletions trunk/arch/arm/plat-omap/include/mach/board-palmte.h

This file was deleted.

23 changes: 0 additions & 23 deletions trunk/arch/arm/plat-omap/include/mach/board-palmtt.h

This file was deleted.

26 changes: 0 additions & 26 deletions trunk/arch/arm/plat-omap/include/mach/board-palmz71.h

This file was deleted.

12 changes: 0 additions & 12 deletions trunk/arch/arm/plat-omap/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -318,18 +318,6 @@
#include "board-voiceblue.h"
#endif

#ifdef CONFIG_MACH_OMAP_PALMTE
#include "board-palmte.h"
#endif

#ifdef CONFIG_MACH_OMAP_PALMZ71
#include "board-palmz71.h"
#endif

#ifdef CONFIG_MACH_OMAP_PALMTT
#include "board-palmtt.h"
#endif

#ifdef CONFIG_MACH_SX1
#include "board-sx1.h"
#endif
Expand Down

0 comments on commit 1a7d6c8

Please sign in to comment.