From patchwork Fri Feb 25 06:52:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Eilam X-Patchwork-Id: 589391 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1P6snE5014576 for ; Fri, 25 Feb 2011 06:54:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753838Ab1BYGyr (ORCPT ); Fri, 25 Feb 2011 01:54:47 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:59318 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752127Ab1BYGyr (ORCPT ); Fri, 25 Feb 2011 01:54:47 -0500 Received: by eyx24 with SMTP id 24so495206eyx.19 for ; Thu, 24 Feb 2011 22:54:46 -0800 (PST) Received: by 10.14.17.225 with SMTP id j73mr1406754eej.26.1298616886113; Thu, 24 Feb 2011 22:54:46 -0800 (PST) Received: from localhost.localdomain ([77.127.249.39]) by mx.google.com with ESMTPS id q52sm284503eei.21.2011.02.24.22.54.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Feb 2011 22:54:45 -0800 (PST) From: Guy Eilam To: linux-omap@vger.kernel.org Cc: tony@atomide.com Subject: [PATCH] omap: panda: Add TI-ST driver support Date: Fri, 25 Feb 2011 08:52:35 +0200 Message-Id: <1298616755-10192-1-git-send-email-guy@wizery.com> X-Mailer: git-send-email 1.7.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Feb 2011 06:54:49 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index cd43020..c5994ad 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -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)