diff options
author | Dimitri Fedrau <dima.fedrau@gmail.com> | 2024-07-02 11:03:08 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-07-04 10:25:04 +0200 |
commit | 479b6d04964b5abe66c9f5080fad3389b34e2a70 (patch) | |
tree | 6771cd76236ede154456aa01058dabe73dd4e8ac /drivers/power/supply/Kconfig | |
parent | dt-bindings: power: supply: add support for MAX17201/MAX17205 fuel gauge (diff) | |
download | linux-479b6d04964b5abe66c9f5080fad3389b34e2a70.tar.xz linux-479b6d04964b5abe66c9f5080fad3389b34e2a70.zip |
power: supply: add support for MAX1720x standalone fuel gauge
The MAX17201 monitors a single cell pack. The MAX17205 monitors and
balances a 2S or 3S pack or monitors a multiple-series cell pack. Both
devices use a I2C interface.
Signed-off-by: Dimitri Fedrau <dima.fedrau@gmail.com>
Link: https://lore.kernel.org/r/20240702090308.8848-3-dima.fedrau@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 75b4f65c7d77..4c2a30741755 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -411,6 +411,18 @@ config BATTERY_MAX17042 Driver can be build as a module (max17042_battery). +config BATTERY_MAX1720X + tristate "Maxim MAX17201/MAX17205 Fuel Gauge" + depends on I2C + select REGMAP_I2C + help + MAX1720x is a family of fuel-gauge systems for lithium-ion (Li+) + batteries in handheld and portable equipment. MAX17201 are + configured to operate with a single lithium cell, the MAX17205 + can operate with multiple cells. + + Say Y to include support for the MAX17201/MAX17205 Fuel Gauges. + config BATTERY_MAX1721X tristate "MAX17211/MAX17215 standalone gas-gauge" depends on W1 |