diff options
Diffstat (limited to 'recipes/linux/linux-openmoko-2.6.30.4/054-bq27000.patch')
-rw-r--r-- | recipes/linux/linux-openmoko-2.6.30.4/054-bq27000.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/linux/linux-openmoko-2.6.30.4/054-bq27000.patch b/recipes/linux/linux-openmoko-2.6.30.4/054-bq27000.patch new file mode 100644 index 0000000000..36de12f8cb --- /dev/null +++ b/recipes/linux/linux-openmoko-2.6.30.4/054-bq27000.patch @@ -0,0 +1,31 @@ +--- a/drivers/power/Kconfig ++++ b/drivers/power/Kconfig +@@ -88,4 +88,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 ++ +--- a/drivers/power/Makefile ++++ b/drivers/power/Makefile +@@ -25,4 +25,7 @@ obj-$(CONFIG_BATTERY_TOSA) += tosa_batte + 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 |