[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>
This commit is contained in:
Marek Vašut
2009-05-21 13:11:05 +01:00
committed by Russell King
parent 949abd84cd
commit 5a9d25150c
5 changed files with 170 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ static unsigned long palmld_pin_config[] __initdata = {
GPIO81_GPIO, /* wifi reset */
/* HDD */
GPIO95_GPIO, /* HDD irq */
GPIO98_GPIO, /* HDD reset */
GPIO115_GPIO, /* HDD power */
/* MISC */
@@ -493,6 +493,14 @@ static struct platform_device palmld_asoc = {
},
};
/******************************************************************************
* HDD
******************************************************************************/
static struct platform_device palmld_hdd = {
.name = "pata_palmld",
.id = -1,
};
/******************************************************************************
* Framebuffer
******************************************************************************/
@@ -557,6 +565,7 @@ static struct platform_device *devices[] __initdata = {
&palmld_leds,
&power_supply,
&palmld_asoc,
&palmld_hdd,
};
static struct map_desc palmld_io_desc[] __initdata = {