aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-09-21 18:29:46 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-09-21 18:29:46 +0000
commitf2c1e05f37e6cc0e5365830fd6b2ca59ebc95d76 (patch)
tree61edbcea5750d66334e3aa7b8d6041a885e37cf6 /target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch
parent59e3af45d1ef2d93cc4cf9c6ac215bd2c3b7aa62 (diff)
downloadupstream-f2c1e05f37e6cc0e5365830fd6b2ca59ebc95d76.tar.gz
upstream-f2c1e05f37e6cc0e5365830fd6b2ca59ebc95d76.tar.bz2
upstream-f2c1e05f37e6cc0e5365830fd6b2ca59ebc95d76.zip
Add 2.6.31 patches
SVN-Revision: 17665
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch b/target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch
new file mode 100644
index 0000000000..ea41443878
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.31/054-bq27000.patch
@@ -0,0 +1,45 @@
+From 4efa3f8f53d8249905a1c9216a0fe5473d5df5c4 Mon Sep 17 00:00:00 2001
+From: Lars-Peter Clausen <lars@metafoo.de>
+Date: Tue, 21 Jul 2009 12:45:26 +0200
+Subject: [PATCH] 054-bq27000.patch
+
+---
+ drivers/power/Kconfig | 12 ++++++++++++
+ drivers/power/Makefile | 3 +++
+ 2 files changed, 15 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
+index 7eda348..3661595 100644
+--- a/drivers/power/Kconfig
++++ b/drivers/power/Kconfig
+@@ -96,4 +96,16 @@ config CHARGER_PCF50633
+ help
+ Say Y to include support for NXP PCF50633 Main Battery Charger.
+
++config BATTERY_BQ27000_HDQ
++ tristate "BQ27000 HDQ battery monitor driver"
++ help
++ Say Y to enable support for the battery on the Neo Freerunner
++
++config HDQ_GPIO_BITBANG
++ bool "Generic gpio based HDQ bitbang"
++ help
++ Say Y to enable supoort for generic gpio based HDQ bitbang driver.
++ This can not be built as a module.
++
+ endif # POWER_SUPPLY
++
+diff --git a/drivers/power/Makefile b/drivers/power/Makefile
+index daf3179..e277a05 100644
+--- a/drivers/power/Makefile
++++ b/drivers/power/Makefile
+@@ -27,3 +27,6 @@ obj-$(CONFIG_BATTERY_BQ27x00) += bq27x00_battery.o
+ obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
+ obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
+ obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
++obj-$(CONFIG_BATTERY_BQ27000_HDQ) += bq27000_battery.o
++
++obj-$(CONFIG_HDQ_GPIO_BITBANG) += hdq.o
+--
+1.5.6.5
+