diff options
author | Marek VaĊĦut <marek.vasut@gmail.com> | 2009-05-21 08:11:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-31 09:50:40 -0400 |
commit | 5a9d25150c01bd140ca647b5e7ee75ae18a369a8 (patch) | |
tree | 7fab6032b8de678bfbb410561de25ba3d8ce9db5 /arch/arm/mach-pxa | |
parent | 949abd84cd54ff864efca9df822d1e02a56694ec (diff) |
[ARM] 5522/1: PalmLD: IDE support
Support for Palm LifeDrive's internal harddrive.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/palmld.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/palmld.c | 11 |
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/include/mach/palmld.h b/arch/arm/mach-pxa/include/mach/palmld.h index fb13c82ad6dc..8721b8010221 100644 --- a/arch/arm/mach-pxa/include/mach/palmld.h +++ b/arch/arm/mach-pxa/include/mach/palmld.h | |||
@@ -56,7 +56,6 @@ | |||
56 | #define GPIO_NR_PALMLD_LED_AMBER 94 | 56 | #define GPIO_NR_PALMLD_LED_AMBER 94 |
57 | 57 | ||
58 | /* IDE */ | 58 | /* IDE */ |
59 | #define GPIO_NR_PALMLD_IDE_IRQ 95 | ||
60 | #define GPIO_NR_PALMLD_IDE_RESET 98 | 59 | #define GPIO_NR_PALMLD_IDE_RESET 98 |
61 | #define GPIO_NR_PALMLD_IDE_PWEN 115 | 60 | #define GPIO_NR_PALMLD_IDE_PWEN 115 |
62 | 61 | ||
diff --git a/arch/arm/mach-pxa/palmld.c b/arch/arm/mach-pxa/palmld.c index 1cec1806f002..24a967e1e148 100644 --- a/arch/arm/mach-pxa/palmld.c +++ b/arch/arm/mach-pxa/palmld.c | |||
@@ -127,7 +127,7 @@ static unsigned long palmld_pin_config[] __initdata = { | |||
127 | GPIO81_GPIO, /* wifi reset */ | 127 | GPIO81_GPIO, /* wifi reset */ |
128 | 128 | ||
129 | /* HDD */ | 129 | /* HDD */ |
130 | GPIO95_GPIO, /* HDD irq */ | 130 | GPIO98_GPIO, /* HDD reset */ |
131 | GPIO115_GPIO, /* HDD power */ | 131 | GPIO115_GPIO, /* HDD power */ |
132 | 132 | ||
133 | /* MISC */ | 133 | /* MISC */ |
@@ -494,6 +494,14 @@ static struct platform_device palmld_asoc = { | |||
494 | }; | 494 | }; |
495 | 495 | ||
496 | /****************************************************************************** | 496 | /****************************************************************************** |
497 | * HDD | ||
498 | ******************************************************************************/ | ||
499 | static struct platform_device palmld_hdd = { | ||
500 | .name = "pata_palmld", | ||
501 | .id = -1, | ||
502 | }; | ||
503 | |||
504 | /****************************************************************************** | ||
497 | * Framebuffer | 505 | * Framebuffer |
498 | ******************************************************************************/ | 506 | ******************************************************************************/ |
499 | static struct pxafb_mode_info palmld_lcd_modes[] = { | 507 | static struct pxafb_mode_info palmld_lcd_modes[] = { |
@@ -557,6 +565,7 @@ static struct platform_device *devices[] __initdata = { | |||
557 | &palmld_leds, | 565 | &palmld_leds, |
558 | &power_supply, | 566 | &power_supply, |
559 | &palmld_asoc, | 567 | &palmld_asoc, |
568 | &palmld_hdd, | ||
560 | }; | 569 | }; |
561 | 570 | ||
562 | static struct map_desc palmld_io_desc[] __initdata = { | 571 | static struct map_desc palmld_io_desc[] __initdata = { |