-From 6531593a263a254edcf1effbf132ead1aa5e4654 Mon Sep 17 00:00:00 2001
+From 5800973aa82858036239b232e16d63796ba0de95 Mon Sep 17 00:00:00 2001
From: David-John Willis <John.Willis@Distant-earth.com>
Date: Mon, 22 Jun 2009 20:49:31 +0100
-Subject: [PATCH] SDIO patches to put some card into into platform devices (hack) to match WL1251 driver.
+Subject: [PATCH 1/4] SDIO patches to put some card into into platform devices (hack) to match WL1251 driver.
---
arch/arm/include/asm/mach/mmc.h | 10 ++++++
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
old mode 100644
new mode 100755
-index 6e4b207..031ad2d
+index 88bc884..6585a15
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
-@@ -35,6 +35,8 @@
+@@ -36,6 +36,8 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
-@@ -58,6 +60,10 @@
+@@ -59,6 +61,10 @@
#define GPMC_CS0_BASE 0x60
#define GPMC_CS_SIZE 0x30
static struct mtd_partition omap3pandora_nand_partitions[] = {
{
.name = "xloader",
-@@ -446,12 +452,56 @@ static struct platform_device bt_device = {
+@@ -489,6 +495,49 @@ static struct platform_device bt_device = {
},
};
static struct platform_device *omap3pandora_devices[] __initdata = {
&omap3pandora_lcd_device,
&omap3pandora_leds_gpio,
- &bt_device,
+@@ -496,6 +545,7 @@ static struct platform_device *omap3pandora_devices[] __initdata = {
&omap3pandora_bl,
&omap3pandora_dss_device,
+ &pandora_leds_pwm,
+ &pandora_wifi,
};
-From d0e67607c9eba9423b65875da2c732ed690a2292 Mon Sep 17 00:00:00 2001
+From b245ef5af21a973bda2f8496fd493fac0a771455 Mon Sep 17 00:00:00 2001
From: David-John Willis <John.Willis@Distant-earth.com>
Date: Sun, 30 Aug 2009 19:31:31 +0100
-Subject: [PATCH 2/2] Add a very basic platform driver module to bring up the SDIO WiFi so that the platform stuff is no longer hacked into the WL1251 driver (TODO: Clean up and move somewhere more mainline friendly).
+Subject: [PATCH 2/4] Add a very basic platform driver module to bring up the SDIO WiFi so that the platform stuff is no longer hacked into the WL1251 driver (TODO: Clean up and move somewhere more mainline friendly).
---
arch/arm/mach-omap2/Kconfig | 5 ++
-From a699035527e66a280267cbfefa0498b6fd628dee Mon Sep 17 00:00:00 2001
+From e435c10737f7bb5033721927ecff290b2f0b1ab3 Mon Sep 17 00:00:00 2001
From: David-John Willis <John.Willis@Distant-earth.com>
Date: Mon, 31 Aug 2009 12:06:17 +0100
-Subject: [PATCH 3/3] Remove old msm_wifi hack as the temp platform driver now abstracts this from wl1251.
+Subject: [PATCH 3/4] Remove old msm_wifi hack as the temp platform driver now abstracts this from wl1251.
---
arch/arm/mach-omap2/board-omap3pandora.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
-index 031ad2d..da35a62 100755
+index 6585a15..1d95fae 100755
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
-@@ -486,7 +486,7 @@ struct wifi_platform_data pandora_wifi_control = {
+@@ -529,7 +529,7 @@ struct wifi_platform_data pandora_wifi_control = {
};
static struct platform_device pandora_wifi = {
-From 7d5ae8daa2289378ba9c9321f6c9659cae20bcdd Mon Sep 17 00:00:00 2001
+From a070a7c121ae1885a6c0354598efc12b3d98beab Mon Sep 17 00:00:00 2001
From: David-John Willis <John.Willis@Distant-earth.com>
Date: Tue, 1 Sep 2009 18:24:15 +0100
Subject: [PATCH 4/4] Add back in 80us delay into the WiFi module init.
}
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
-index da35a62..3fe3447 100755
+index 1d95fae..aec5fec 100755
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
-@@ -460,10 +460,8 @@ int pandora_wifi_power(int on)
+@@ -503,10 +503,8 @@ int pandora_wifi_power(int on)
if (on) {
gpio_set_value(PANDORA_WIFI_GPIO, 1);
# CONFIG_LEDS_PCA9532 is not set
CONFIG_LEDS_GPIO=y
# CONFIG_LEDS_PCA955X is not set
+CONFIG_LEDS_TWL4030_PWM=y
#
# LED Triggers
COMPATIBLE_MACHINE = "omap3-pandora"
-SRCREV = "0887623ea5736f6d438f5ac0c1ca8f33cdcd6988"
+SRCREV = "abd422d7c820719eb12123ba08fab925e6f9b40c"
SRC_URI = " \
git://git.openpandora.org/pandora-kernel.git;protocol=git;branch=pandora-27-omap1 \