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-next>] [day] [month] [year] [list]
Date:	Wed, 7 Sep 2011 01:54:34 -0700
From:	"Kim, Milo" <Milo.Kim@....com>
To:	"cbouatmailru@...il.com" <cbouatmailru@...il.com>
cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"dwmw2@...radead.org" <dwmw2@...radead.org>,
	"cbou@...l.ru" <cbou@...l.ru>
Subject: [PATCH 1/3] power: Add LP8727 charger driver


Signed-off-by: Woogyom Kim <milo.kim@....com>

>From 83130c4498cff1b40b68babfba405cacbb27e291 Mon Sep 17 00:00:00 2001
From: Woogyom Kim <milo.kim@....com>
Date: Wed, 7 Sep 2011 17:34:46 +0900
Subject: [PATCH] LP8727 is the battery charger with Micro/Mini USB interface.
 This IC includes below functions
  - I2c interface for accessing user registers
  - Single input Li-Ion battery charger
  - Charger input ID detection from Micro/Mini USB
  - multiplexing switches on USB, UART

---
 drivers/power/Kconfig          |    6 +
 drivers/power/Makefile         |    1 +
 drivers/power/lp8727_charger.c |  491 ++++++++++++++++++++++++++++++++++++++++
 include/linux/lp8727.h         |   54 +++++
 4 files changed, 552 insertions(+), 0 deletions(-)
 create mode 100755 drivers/power/lp8727_charger.c
 create mode 100755 include/linux/lp8727.h

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 57de051..51cb302 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -249,4 +249,10 @@ config CHARGER_MAX8998
 	  Say Y to enable support for the battery charger control sysfs and
 	  platform data of MAX8998/LP3974 PMICs.
 
+config CHARGER_LP8727
+	tristate "National Semiconductor LP8727 charger driver"
+	depends on I2C
+	help
+	  Say Y here to enable support for LP8727 Charger Driver.
+
 endif # POWER_SUPPLY
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index b4af13d..aed6098 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -38,3 +38,4 @@ obj-$(CONFIG_CHARGER_TWL4030)	+= twl4030_charger.o
 obj-$(CONFIG_CHARGER_GPIO)	+= gpio-charger.o
 obj-$(CONFIG_CHARGER_MAX8997)	+= max8997_charger.o
 obj-$(CONFIG_CHARGER_MAX8998)	+= max8998_charger.o
+obj-$(CONFIG_CHARGER_LP8727)	+= lp8727_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