From patchwork Tue Mar 30 04:54:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viral Mehta X-Patchwork-Id: 89165 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2U4stM2003888 for ; Tue, 30 Mar 2010 04:54:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753990Ab0C3Eyx (ORCPT ); Tue, 30 Mar 2010 00:54:53 -0400 Received: from mail192.messagelabs.com ([216.82.241.243]:42349 "EHLO mail192.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752742Ab0C3Eyw convert rfc822-to-8bit (ORCPT ); Tue, 30 Mar 2010 00:54:52 -0400 X-VirusChecked: Checked X-Env-Sender: Viral.Mehta@lntinfotech.com X-Msg-Ref: server-3.tower-192.messagelabs.com!1269924880!24488213!2 X-StarScan-Version: 6.2.4; banners=lntinfotech.com,-,- X-Originating-IP: [203.199.118.207] Received: (qmail 29190 invoked from network); 30 Mar 2010 04:54:46 -0000 Received: from unknown (HELO VAINMSTR01.vshodc.lntinfotech.com) (203.199.118.207) by server-3.tower-192.messagelabs.com with RC4-SHA encrypted SMTP; 30 Mar 2010 04:54:46 -0000 Received: from vshinmsmbx01.vshodc.lntinfotech.com ([169.254.2.231]) by VAINMSTR01.vshodc.lntinfotech.com ([172.17.24.126]) with mapi; Tue, 30 Mar 2010 10:24:33 +0530 From: Viral Mehta To: "felipe.balbi@nokia.com" CC: "Gadiyar, Anand" , "linux-usb@vger.kernel.org" , "linux-omap@vger.kernel.org" Date: Tue, 30 Mar 2010 10:24:32 +0530 Subject: RE: USB on omap2430 Thread-Topic: USB on omap2430 Thread-Index: AcrPgFyCEplaDFn1S66KEZWnhGgn4AAQmgvA Message-ID: <70376CA23424B34D86F1C7DE6B997343023C4E201B@VSHINMSMBX01.vshodc.lntinfotech.com> References: <70376CA23424B34D86F1C7DE6B997343017F5D5BE1@VSHINMSMBX01.vshodc.lntinfotech.com> <5A47E75E594F054BAF48C5E4FC4B92AB032221A9F3@dbde02.ent.ti.com> <70376CA23424B34D86F1C7DE6B997343017F5D5BE3@VSHINMSMBX01.vshodc.lntinfotech.com> <70376CA23424B34D86F1C7DE6B997343017F5D5BE7@VSHINMSMBX01.vshodc.lntinfotech.com> <20100329204159.GC31402@nokia.com> In-Reply-To: <20100329204159.GC31402@nokia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 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.3 (demeter.kernel.org [140.211.167.41]); Tue, 30 Mar 2010 04:54:55 +0000 (UTC) --- arch/arm/mach-omap2/board-2430sdp.org.c 2010-03-30 10:16:30.889813408 +0530 +++ arch/arm/mach-omap2/board-2430sdp.c 2010-03-26 16:13:56.043470674 +0530 @@ -174,7 +174,25 @@ static struct i2c_board_info __initdata }, }; +static struct i2c_board_info __initdata sdp2430_i2c_1_boardinfo[] = { + { + I2C_BOARD_INFO("ex3691", 0x48), +/* .flags = I2C_CLIENT_WAKE, + .irq = INT_24XX_SYS_NIRQ, + .platform_data = &sdp2430_twldata,*/ + }, + { + I2C_BOARD_INFO("isp1301_omap", 0x2D), + }, + +}; + + static int __init omap2430_i2c_init(void) +{ + omap_register_i2c_bus(1, 400, sdp2430_i2c_1_boardinfo, + ARRAY_SIZE(sdp2430_i2c_1_boardinfo)); + printk("i2c bus 1 registerd \n"); omap_register_i2c_bus(2, 2600, sdp2430_i2c_boardinfo, ARRAY_SIZE(sdp2430_i2c_boardinfo)); return 0; --- ./drivers/usb/otg/isp1301_omap.org.c 2010-03-30 10:19:18.446765963 +0530 +++ ./drivers/usb/otg/isp1301_omap.c 2010-03-30 10:18:50.985767665 +0530 @@ -1659,7 +1659,8 @@ static int __init isp_init(void) printk("============ init ISP\n"); return i2c_add_driver(&isp1301_driver); } -module_init(isp_init); +//module_init(isp_init); +subsys_initcall(isp_init); static void __exit isp_exit(void) {