diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-02-04 18:30:43 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-12 01:16:05 +0100 |
commit | 30d5297862410418bb8f8b4c0a87fa55c3063dd7 (patch) | |
tree | 2e99827a07ff523178b21c9f047835d7030ccf40 /drivers/power/supply/Kconfig | |
parent | Revert "power: supply: qcom_battmgr: Register the power supplies after PDR is... (diff) | |
download | linux-30d5297862410418bb8f8b4c0a87fa55c3063dd7.tar.xz linux-30d5297862410418bb8f8b4c0a87fa55c3063dd7.zip |
power: supply: mm8013: select REGMAP_I2C
The driver uses regmap APIs so it should make sure they are available.
Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240204-mm8013-regmap-v1-1-7cc6b619b7d3@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index f21cb05815ec..3e31375491d5 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -978,6 +978,7 @@ config CHARGER_QCOM_SMB2 config FUEL_GAUGE_MM8013 tristate "Mitsumi MM8013 fuel gauge driver" depends on I2C + select REGMAP_I2C help Say Y here to enable the Mitsumi MM8013 fuel gauge driver. It enables the monitoring of many battery parameters, including |