Skip to contentSkip to conversation

omap: panda: Add TI-ST driver support

PATCH In review Guy Eilam 2 participants 2 messages Feb 25, 2011 – Mar 3, 2011

Subsystems (3)
lore
Share & tools
lore

Guy Eilam

author
#0 lore raw

PATCH 1/1 omap: panda: Add TI-ST driver support

Added the KIM (Kernel initialization module for the Shared Transport driver) device entry in the board file

Only the Blutooth enable GPIO is set for now

---
 arch/arm/mach-omap2/board-omap4panda.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap4panda.c +11 -0
index cd43020..c5994ad 100644
@@ -50,6 +50,16 @@
 #define GPIO_WIFI_PMENA		43
 #define GPIO_WIFI_IRQ		53
 
+/* wl127x BT, FM, GPS connectivity chip */
+static int wl1271_gpios[] = {46, -1, -1};
+static struct platform_device wl1271_device = {
+	.name	= "kim",
+	.id	= -1,
+	.dev	= {
+		.platform_data	= &wl1271_gpios,
+	},
+};
+
 static struct gpio_led gpio_leds[] = {
 	{
 		.name			= "pandaboard::status1",
@@ -78,6 +88,7 @@ static struct platform_device leds_gpio = {
 
 static struct platform_device *panda_devices[] __initdata = {
 	&leds_gpio,
+	&wl1271_device,
 };
 
 static void __init omap4_panda_init_early(void)
Signature · 1 line
1.7.1
maintainer
#1 lore raw
Quoted 4 lines · Guy Eilam

Added the KIM (Kernel initialization module for the Shared Transport driver) device entry in the board file

Only the Blutooth enable GPIO is set for now

Adding for the merge window.

Tony