Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740Ab2KSADZ (ORCPT ); Sun, 18 Nov 2012 19:03:25 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:59253 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688Ab2KSADX (ORCPT ); Sun, 18 Nov 2012 19:03:23 -0500 Date: Sun, 18 Nov 2012 16:00:06 -0800 From: Anton Vorontsov To: Pali =?utf-8?B?Um9ow6Fy?= Cc: linux-main , linux-omap , Sebastian Reichel , Felipe Contreras , Joerg Reisenweber , =?utf-8?B?0JjQstCw0LnQu9C+INCU0LjQvNC40YLRgNC+0LI=?= , David Woodhouse , Aliaksei Katovich Subject: Re: [PATCH] bq2415x charger driver Message-ID: <20121119000006.GD29066@lizard.sbx05977.paloaca.wayport.net> References: <1391088.VOCN5mxOBg@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1391088.VOCN5mxOBg@pali> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2360 Lines: 67 On Fri, Nov 02, 2012 at 08:18:11PM +0100, Pali Rohár wrote: > Hello, > > I'm sending new version of bq2415x charger driver which is needed > for example on Nokia N900 for charging battery. Driver is part of > open source project to replace proprietary battery management. > Driver is based on old RFC version which I sent months ago. > > power_supply: Add bq2415x charger driver > > This patch implements driver for bq2415x charging chips. > > Signed-off-by: Pali Rohár Applied, thanks! Note that I had to add the Makefile/Kconfig entries and fix some style issues... commit 7ad85830736f3e0d854becf7621eba3a0c926d13 Author: Anton Vorontsov Date: Sun Nov 18 15:48:52 2012 -0800 bq2415x_charger: Add Kconfig/Makefile entries This commit adds Kconfig and Makefile entries so that we could actually build the driver. Signed-off-by: Anton Vorontsov diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 5c3237f..523a580 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -322,6 +322,16 @@ config CHARGER_MAX8998 Say Y to enable support for the battery charger control sysfs and platform data of MAX8998/LP3974 PMICs. +config CHARGER_BQ2415X + tristate "TI BQ2415x battery charger driver" + depends on I2C + help + Say Y to enable support for the TI BQ2415x battery charger + PMICs. + + You'll need this driver to charge batteries on e.g. Nokia + RX-51/N900. + config CHARGER_SMB347 tristate "Summit Microelectronics SMB347 Battery Charger" depends on I2C diff --git a/drivers/power/Makefile b/drivers/power/Makefile index bc81fe2..74dfd95 100644 --- a/drivers/power/Makefile +++ b/drivers/power/Makefile @@ -48,5 +48,6 @@ obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o +obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o obj-$(CONFIG_POWER_AVS) += avs/ obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/