summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.30/054-bq27000.patch
blob: e23a383735ddac0c883997880dc38099bdfaf808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Index: linux-2.6.30-rc6/drivers/power/Kconfig
===================================================================
--- linux-2.6.30-rc6.orig/drivers/power/Kconfig	2009-05-16 06:12:57.000000000 +0200
+++ linux-2.6.30-rc6/drivers/power/Kconfig	2009-05-18 19:08:32.000000000 +0200
@@ -88,4 +88,16 @@
 	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
+
Index: linux-2.6.30-rc6/drivers/power/Makefile
===================================================================
--- linux-2.6.30-rc6.orig/drivers/power/Makefile	2009-05-16 06:12:57.000000000 +0200
+++ linux-2.6.30-rc6/drivers/power/Makefile	2009-05-18 19:08:32.000000000 +0200
@@ -25,4 +25,7 @@
 obj-$(CONFIG_BATTERY_WM97XX)	+= wm97xx_battery.o
 obj-$(CONFIG_BATTERY_BQ27x00)	+= bq27x00_battery.o
 obj-$(CONFIG_BATTERY_DA9030)	+= da9030_battery.o
-obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
\ No newline at end of file
+obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
+obj-$(CONFIG_BATTERY_BQ27000_HDQ)	+= bq27000_battery.o
+
+obj-$(CONFIG_HDQ_GPIO_BITBANG)  += hdq.o