diff options
author | Samuel Holland <samuel@sholland.org> | 2022-02-14 05:22:59 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-03-04 22:33:00 +0100 |
commit | 75853406fa27961044e7dc03c7dc8544477e81f5 (patch) | |
tree | 13a7e2cc756a909de40e946354012c01ae03f8ff /drivers/power/supply/Kconfig | |
parent | dt-bindings: trivial-devices: Add Injoinic power bank ICs (diff) | |
download | linux-75853406fa27961044e7dc03c7dc8544477e81f5.tar.xz linux-75853406fa27961044e7dc03c7dc8544477e81f5.zip |
power: supply: Add a driver for Injoinic power bank ICs
This driver supports several chip variants which all share the same I2C
register interface. Since the chip will turn off and become inaccessible
under conditions outside of software control (e.g. upon button press or
input voltage removal), some special handling is needed to delay the
initialization of the IC until it is accessible.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index fa128b9f6e63..1aa8323ad9f6 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -51,6 +51,14 @@ config GENERIC_ADC_BATTERY Say Y here to enable support for the generic battery driver which uses IIO framework to read adc. +config IP5XXX_POWER + tristate "Injoinic IP5xxx power bank IC driver" + depends on I2C + select REGMAP_I2C + help + Say Y to include support for Injoinic IP5xxx power bank ICs, + which include a battery charger and a boost converter. + config MAX8925_POWER tristate "MAX8925 battery charger support" depends on MFD_MAX8925 |