diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2015-09-29 00:33:53 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-29 16:49:58 +0200 |
commit | bf02dca9ee9d5f9ea7a0ef2e15a2051b8cca6b09 (patch) | |
tree | 7338ff5436e2f16013c83808672cd200cad49f37 /drivers/power/Kconfig | |
parent | dt: power: bq24257-charger: Cover additional devices (diff) | |
download | linux-bf02dca9ee9d5f9ea7a0ef2e15a2051b8cca6b09.tar.xz linux-bf02dca9ee9d5f9ea7a0ef2e15a2051b8cca6b09.zip |
power: bq24257: Add basic support for bq24250/bq24251
This patch adds basic support for bq24250 and bq24251 which are very
similar to the bq24257 the driver was originally written for. Basic
support means the ability to select a device through Kconfig, DT and
ACPI, an instance variable allowing to check which chip is active, and
the reporting back of the selected device through the model_name power
supply sysfs property.
This patch by itself is not sufficient to actually use those two added
devices in a real-world setting due to some feature differences which
are addressed by other patches in this series.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index eeb577653c9d..9e68853217ca 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -409,12 +409,13 @@ config CHARGER_BQ24190 Say Y to enable support for the TI BQ24190 battery charger. config CHARGER_BQ24257 - tristate "TI BQ24257 battery charger driver" + tristate "TI BQ24250/24251/24257 battery charger driver" depends on I2C depends on GPIOLIB || COMPILE_TEST depends on REGMAP_I2C help - Say Y to enable support for the TI BQ24257 battery charger. + Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery + chargers. config CHARGER_BQ24735 tristate "TI BQ24735 battery charger support" |