]> git.karo-electronics.de Git - linux-beck.git/commit
power: bq24257: Add basic support for bq24250/bq24251
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 28 Sep 2015 22:33:53 +0000 (17:33 -0500)
committerSebastian Reichel <sre@kernel.org>
Tue, 29 Sep 2015 14:49:58 +0000 (16:49 +0200)
commitbf02dca9ee9d5f9ea7a0ef2e15a2051b8cca6b09
tree7338ff5436e2f16013c83808672cd200cad49f37
parentfff59df1054a56b7960b3a0aa96d86d955dacf55
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>
drivers/power/Kconfig
drivers/power/bq24257_charger.c