aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAnton Vorontsov <cbouatmailru@gmail.com>2012-11-18 18:48:52 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-11-18 18:57:20 -0500
commit7ad85830736f3e0d854becf7621eba3a0c926d13 (patch)
tree4a3ef783b1cccbf6fb54204046e75492084ce069 /drivers/power
parent0bc98cc6155205b615a9d29a2d54d1b839521c04 (diff)
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@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/Kconfig10
-rw-r--r--drivers/power/Makefile1
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 5c3237f601d5..523a58014ed5 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -322,6 +322,16 @@ config CHARGER_MAX8998
322 Say Y to enable support for the battery charger control sysfs and 322 Say Y to enable support for the battery charger control sysfs and
323 platform data of MAX8998/LP3974 PMICs. 323 platform data of MAX8998/LP3974 PMICs.
324 324
325config CHARGER_BQ2415X
326 tristate "TI BQ2415x battery charger driver"
327 depends on I2C
328 help
329 Say Y to enable support for the TI BQ2415x battery charger
330 PMICs.
331
332 You'll need this driver to charge batteries on e.g. Nokia
333 RX-51/N900.
334
325config CHARGER_SMB347 335config CHARGER_SMB347
326 tristate "Summit Microelectronics SMB347 Battery Charger" 336 tristate "Summit Microelectronics SMB347 Battery Charger"
327 depends on I2C 337 depends on I2C
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index bc81fe2112c9..74dfd9570154 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -48,5 +48,6 @@ obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
48obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o 48obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o
49obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o 49obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o
50obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o 50obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o
51obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o
51obj-$(CONFIG_POWER_AVS) += avs/ 52obj-$(CONFIG_POWER_AVS) += avs/
52obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o 53obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o