mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Asdlerto Korry <korryasdlerto@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-pm@vger.kernel.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] power: supply: Add Silicon Mitus SM5714 fuel gauge driver
Date: Fri, 13 Nov 2026 12:13:54 +0100	[thread overview]
Message-ID: <20261113-fuzzy-awesome-shellfish-2d93c0@quoll> (raw)
In-Reply-To: <20261111-sm5714-fuel-gauge-v1-2-b9d163fff6ff@gmail.com>

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@gmail.com>
> ---
>  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


  parent reply	other threads:[~2026-11-13 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 15:34 [PATCH 0/2] power: supply: Add Silicon Mitus SM5714 fuel gauge Asdlerto Korry via B4 Relay
2026-11-11 15:34 ` [PATCH 1/2] dt-bindings: " Asdlerto Korry via B4 Relay
2026-11-13 11:14   ` Krzysztof Kozlowski
2026-11-11 15:35 ` [PATCH 2/2] power: supply: Add Silicon Mitus SM5714 fuel gauge driver Asdlerto Korry via B4 Relay
2026-11-13  6:39   ` Uwe Kleine-König
2026-11-13 11:13   ` Krzysztof Kozlowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-08 11:22 [PATCH 0/2] power: supply: Add Silicon Mitus SM5714 fuel gauge Nizat Mikayilli via B4 Relay
2026-11-08 11:22 ` [PATCH 2/2] power: supply: Add Silicon Mitus SM5714 fuel gauge driver Nizat Mikayilli via B4 Relay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261113-fuzzy-awesome-shellfish-2d93c0@quoll \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=korryasdlerto@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®