2024-02-04 17:42:50

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH] 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: <[email protected]>
Signed-off-by: Thomas Weißschuh <[email protected]>
---
drivers/power/supply/Kconfig | 1 +
1 file changed, 1 insertion(+)

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

---
base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
change-id: 20240204-mm8013-regmap-d8d18ada07c2

Best regards,
--
Thomas Weißschuh <[email protected]>



2024-02-06 18:49:26

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] power: supply: mm8013: select REGMAP_I2C

On 4.02.2024 18:30, Thomas Weißschuh wrote:
> The driver uses regmap APIs so it should make sure they are available.
>
> Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
> Cc: <[email protected]>
> Signed-off-by: Thomas Weißschuh <[email protected]>
> ---

Thanks!

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

2024-02-12 00:17:04

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH] power: supply: mm8013: select REGMAP_I2C


On Sun, 04 Feb 2024 18:30:43 +0100, Thomas Weißschuh wrote:
> The driver uses regmap APIs so it should make sure they are available.
>
>

Applied, thanks!

[1/1] power: supply: mm8013: select REGMAP_I2C
commit: 30d5297862410418bb8f8b4c0a87fa55c3063dd7

Best regards,
--
Sebastian Reichel <[email protected]>