lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 18 Nov 2012 16:00:06 -0800
From:	Anton Vorontsov <cbouatmailru@...il.com>
To:	Pali Rohár <pali.rohar@...il.com>
Cc:	linux-main <linux-kernel@...r.kernel.org>,
	linux-omap <linux-omap@...r.kernel.org>,
	Sebastian Reichel <sre@...ian.org>,
	Felipe Contreras <felipe.contreras@...il.com>,
	Joerg Reisenweber <joerg@...nmoko.org>,
	Ивайло Димитров 
	<freemangordon@....bg>, David Woodhouse <dwmw2@...radead.org>,
	Aliaksei Katovich <aliaksei.katovich@...il.com>
Subject: Re: [PATCH] bq2415x charger driver

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 <pali.rohar@...il.com>

Applied, thanks!

Note that I had to add the Makefile/Kconfig entries and fix some style
issues...

commit 7ad85830736f3e0d854becf7621eba3a0c926d13
Author: Anton Vorontsov <cbouatmailru@...il.com>
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 <cbouatmailru@...il.com>

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ