From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753847Ab1KYWxL (ORCPT ); Fri, 25 Nov 2011 17:53:11 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:48017 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753625Ab1KYWxK (ORCPT ); Fri, 25 Nov 2011 17:53:10 -0500 From: Pali =?ISO-8859-1?Q?Roh=E1r?= To: linux-kernel@vger.kernel.org Cc: Anton Vorontsov , syed rafiuddin , Rodolfo Giometti , David Woodhouse Subject: [PATCH] rx51: add bq27200 i2c board info Date: Fri, 25 Nov 2011 23:53:06 +0100 Message-ID: <1680176.R2HCxgKt4B@pali-elitebook> User-Agent: KMail/4.7.3 (Linux/3.2.0-1-generic; KDE/4.7.3; x86_64; ; ) In-Reply-To: <1316531933-7159-1-git-send-email-pali.rohar@gmail.com> References: <1316531933-7159-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9943996.a5Fj0bHdOn"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7Bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart9943996.a5Fj0bHdOn Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" I forgot to send patch which enable bq27x00_battery driver on Nokia N900 RX51. Here is: >>From c06d00aa9d394ab5b65bbd5361c6da8424afbfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Fri, 25 Nov 2011 23:42:54 +0100 Subject: [PATCH] rx51: add bq27200 i2c board info --- arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 5a886cd..23c626e 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -940,6 +940,11 @@ static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = { .platform_data = &rx51_lp5523_platform_data, }, #endif +#if defined(CONFIG_BATTERY_BQ27X00_I2C) || defined(CONFIG_BATTERY_BQ27X00_I2C_MODULE) + { + I2C_BOARD_INFO("bq27200", 0x55), + }, +#endif { I2C_BOARD_INFO("tpa6130a2", 0x60), .platform_data = &rx51_tpa6130a2_data, -- 1.7.5.4 --nextPart9943996.a5Fj0bHdOn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk7QHFIACgkQi/DJPQPkQ1Js/QCeLCQtu9owiWhpYg4nDfwDeNNZ c6YAn3vLXzcJLh7OtNgYwhbQnMFaUB0W =peIP -----END PGP SIGNATURE----- --nextPart9943996.a5Fj0bHdOn--