Re: [PATCH 2/2] power: supply: Add Silicon Mitus SM5714 fuel gauge driver

From: Krzysztof Kozlowski

Date: Fri Nov 13 2026 - 07:26:05 EST


On Wed, Nov 11, 2026 at 05:35:00PM +0200, Asdlerto Korry wrote:
> Add a driver for the fuel gauge of the Silicon Mitus SM5714. The gauge
> keeps its results in an internal SRAM that is read through an address
> and a data register. The driver only reads: it reports the state of
> charge, the battery voltage (now, average and open-circuit), the current
> (now and average) and the temperature. The conversions follow the vendor
> driver.
>
> The temperature reported by the gauge rises with the charge current, so
> the battery temperature is read from the thermistor ADC channel when the
> devicetree provides one.
>
> The gauge interrupt is not used, power_supply_changed() is reported once
> a minute.
>
> Signed-off-by: Asdlerto Korry <korryasdlerto@xxxxxxxxx>
> ---
> MAINTAINERS | 7 +
> drivers/power/supply/Kconfig | 13 ++
> drivers/power/supply/Makefile | 1 +
> drivers/power/supply/sm5714_fuel_gauge.c | 315 +++++++++++++++++++++++++++++++
> 4 files changed, 336 insertions(+)
>

This was already sent.

Best regards,
Krzysztof