From patchwork Wed Aug 12 12:22:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 40865 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7CCN4xp012908 for ; Wed, 12 Aug 2009 12:23:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829AbZHLMW7 (ORCPT ); Wed, 12 Aug 2009 08:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751838AbZHLMW7 (ORCPT ); Wed, 12 Aug 2009 08:22:59 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:53883 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbZHLMW7 (ORCPT ); Wed, 12 Aug 2009 08:22:59 -0400 Received: from muru.com ([72.249.23.125] helo=[127.0.0.1]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1MbCr6-00061W-0T; Wed, 12 Aug 2009 12:23:00 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 72.249.23.125 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18Nhj90dajNh2Qn3OkjCvHe Subject: [PATCH 09/10] OMAP3: beagle: add missing twl4030 usb platform_data To: linux-arm-kernel@lists.arm.linux.org.uk From: Tony Lindgren Cc: Felipe Balbi , linux-omap@vger.kernel.org Date: Wed, 12 Aug 2009 15:22:51 +0300 Message-ID: <20090812122251.17601.14285.stgit@localhost> In-Reply-To: <20090812120926.17601.85860.stgit@localhost> References: <20090812120926.17601.85860.stgit@localhost> User-Agent: StGit/0.14.3.347.g594a MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Felipe Balbi without it twl4030_usb driver will not probe. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index cc02002..681f8b8 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -249,11 +249,16 @@ static struct regulator_init_data beagle_vpll2 = { .consumer_supplies = &beagle_vdvi_supply, }; +static struct twl4030_usb_data beagle_usb_data = { + .usb_mode = T2_USB_MODE_ULPI, +}; + static struct twl4030_platform_data beagle_twldata = { .irq_base = TWL4030_IRQ_BASE, .irq_end = TWL4030_IRQ_END, /* platform_data for children goes here */ + .usb = &beagle_usb_data, .gpio = &beagle_gpio_data, .vmmc1 = &beagle_vmmc1, .vsim = &beagle_vsim,