From patchwork Fri Apr 16 04:50:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viral Mehta X-Patchwork-Id: 93048 X-Patchwork-Delegate: tony@atomide.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 o3G4oV4R030237 for ; Fri, 16 Apr 2010 04:50:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416Ab0DPEua (ORCPT ); Fri, 16 Apr 2010 00:50:30 -0400 Received: from mail-yx0-f199.google.com ([209.85.210.199]:63868 "EHLO mail-yx0-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314Ab0DPEu3 (ORCPT ); Fri, 16 Apr 2010 00:50:29 -0400 Received: by yxe37 with SMTP id 37so1248350yxe.21 for ; Thu, 15 Apr 2010 21:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:cc:content-type; bh=6pVLEWTl+r7XMblToFIwU8x9nX3Fa41vUyavKAoVEbY=; b=Io9VbSFsoSMfdiESxzBk97i34M6+MFIHHmsXO+6fzqZ8hkY12nfZUOrULbNpAQyyhJ m6uN5wmt/rk7GLacIHhtDNkkd1IKXBk16fyR3BZR0TDJLmib2OOInF1uDDHXO5TTTa1T +QP02JC0jREgCufl3YsQXu9mT53aJfpI5gDHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=fWpdTdhLNG9o55ICMrzLFYKnK78OtmkSh4zKMcB////WqVnI8JBVTLIvl4TWxX2H+z tjPqwBxQfS9D1I6BtgUaEzNpedvuBAXuv4nIPzbkbyTVdTuZjZOxZA2nao75aeO3qsip UrrKMUtCSYQO32dh+6ffCoWCPFeqfWQ+/gIiQ= MIME-Version: 1.0 Received: by 10.90.51.13 with HTTP; Thu, 15 Apr 2010 21:50:25 -0700 (PDT) Date: Fri, 16 Apr 2010 10:20:25 +0530 Received: by 10.91.126.13 with SMTP id d13mr624160agn.99.1271393425446; Thu, 15 Apr 2010 21:50:25 -0700 (PDT) Message-ID: Subject: [PATCH v2] omap: Add I2C bus 1 initialisation From: Viral Mehta To: linux-omap@vger.kernel.org Cc: linux-usb@vger.kernel.org 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]); Fri, 16 Apr 2010 04:50:32 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 01d113f..346e1d2 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -174,9 +174,17 @@ static struct i2c_board_info __initdata sdp2430_i2c_boardinfo[] = { }, }; +static struct i2c_board_info __initdata sdp2430_i2c1_boardinfo[] = { + { + I2C_BOARD_INFO("isp1301_omap", 0x2D), + .flags = I2C_CLIENT_WAKE, + .irq = OMAP_GPIO_IRQ(78), + }, +} static int __init omap2430_i2c_init(void) { - omap_register_i2c_bus(1, 400, NULL, 0); + omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo, + ARRAY_SIZE(sdp2430_i2c1_boardinfo)); omap_register_i2c_bus(2, 2600, sdp2430_i2c_boardinfo, ARRAY_SIZE(sdp2430_i2c_boardinfo));