From patchwork Wed Mar 10 11:13:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 84535 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 o2ABEDve005347 for ; Wed, 10 Mar 2010 11:14:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751538Ab0CJLOM (ORCPT ); Wed, 10 Mar 2010 06:14:12 -0500 Received: from fg-out-1718.google.com ([72.14.220.156]:61142 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769Ab0CJLOM (ORCPT ); Wed, 10 Mar 2010 06:14:12 -0500 Received: by fg-out-1718.google.com with SMTP id 16so3355206fgg.1 for ; Wed, 10 Mar 2010 03:14:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=DYjfiH0AlH1jfe07mdrp1207MSSgeqUK4k7BFXyOzQI=; b=APrT3k7pnJJAIhDh80ygLEEGEd5umCo/9TTrh/9PmibYMSuwLP7UGdh9suMlzDMBke t0apUoeKLn8pEjkIemheLy0F03SUEnghLkI0ZgQecvE15lzDHqcnJ/FKadtDU8escPoQ pdNgquOLPGfhAEsg7OSgVM49rMcUBXYYEAAfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=Z+Mzhs4IrLXMIiTHWN/C8nPLZYFMY0cYd6v13gb9fVnqvJPy2PbIvf9P+o3zVqmlJ4 MZNTCI6XGB4hnxi29rSRlK1KqHTkC6mAafLcAMD5rzxIVWTwuRJouINvDet2++uLuGSQ q6MZFucwkaTcs4U123VgRP6V52yiMYVd4dJlA= Received: by 10.87.62.28 with SMTP id p28mr1274757fgk.55.1268219650342; Wed, 10 Mar 2010 03:14:10 -0800 (PST) Received: from localhost.localdomain (ip-88-119-226-136.static.b4net.lt [88.119.226.136]) by mx.google.com with ESMTPS id d6sm9461314fga.22.2010.03.10.03.14.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Mar 2010 03:14:09 -0800 (PST) From: Grazvydas Ignotas To: linux-omap@vger.kernel.org Cc: Tony Lindgren , Grazvydas Ignotas Subject: [PATCH] omap3: pandora: add missing i2c3 board_info Date: Wed, 10 Mar 2010 13:13:53 +0200 Message-Id: <1268219633-2154-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 1.6.3.3 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]); Wed, 10 Mar 2010 11:14:13 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 4827f46..9d79153 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c @@ -459,12 +459,20 @@ static struct i2c_board_info __initdata omap3pandora_i2c_boardinfo[] = { }, }; +static struct i2c_board_info __initdata omap3pandora_i2c3_boardinfo[] = { + { + I2C_BOARD_INFO("bq27500", 0x55), + .flags = I2C_CLIENT_WAKE, + }, +}; + static int __init omap3pandora_i2c_init(void) { omap_register_i2c_bus(1, 2600, omap3pandora_i2c_boardinfo, ARRAY_SIZE(omap3pandora_i2c_boardinfo)); /* i2c2 pins are not connected */ - omap_register_i2c_bus(3, 100, NULL, 0); + omap_register_i2c_bus(3, 100, omap3pandora_i2c3_boardinfo, + ARRAY_SIZE(omap3pandora_i2c3_boardinfo)); return 0; }