From patchwork Mon Aug 10 11:48:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 40395 X-Patchwork-Delegate: tony@atomide.com 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 n7ABmOeL004367 for ; Mon, 10 Aug 2009 11:48:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753782AbZHJLru (ORCPT ); Mon, 10 Aug 2009 07:47:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753765AbZHJLrs (ORCPT ); Mon, 10 Aug 2009 07:47:48 -0400 Received: from smtp.nokia.com ([192.100.122.233]:29537 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753732AbZHJLrq (ORCPT ); Mon, 10 Aug 2009 07:47:46 -0400 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7ABlD6V005479; Mon, 10 Aug 2009 14:47:31 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Aug 2009 14:47:40 +0300 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Aug 2009 14:47:33 +0300 Received: from localhost.localdomain (esdhcp04340.research.nokia.com [172.21.43.40]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7ABlTB0001457; Mon, 10 Aug 2009 14:47:30 +0300 From: Felipe Balbi To: linux-omap@vger.kernel.org Cc: Eduardo Valentin , Tony Lindgren , Felipe Balbi Subject: [PATCH 1/2] arm: omap: beagle: add missing twl4030 usb platform_data Date: Mon, 10 Aug 2009 14:48:58 +0300 Message-Id: <1249904939-3213-2-git-send-email-felipe.balbi@nokia.com> X-Mailer: git-send-email 1.6.3.3.385.g60647 In-Reply-To: <1249904939-3213-1-git-send-email-felipe.balbi@nokia.com> References: <1249904939-3213-1-git-send-email-felipe.balbi@nokia.com> X-OriginalArrivalTime: 10 Aug 2009 11:47:33.0762 (UTC) FILETIME=[595BFE20:01CA19B0] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org without it twl4030_usb driver will not probe. Reported-by: Eduardo Valentin Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index b6a68d5..f9f011f 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 = &beag_usb_data, .gpio = &beagle_gpio_data, .vmmc1 = &beagle_vmmc1, .vsim = &beagle_vsim,