mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Asdlerto Korry <korryasdlerto@gmail.com>
To: Nizat Mikayilli <nacht@dxdmail.cc>
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 0/2] power: supply: Add Silicon Mitus SM5714 fuel gauge
Date: Sat, 14 Nov 2026 21:48:00 +0200	[thread overview]
Message-ID: <20261114194800.503418-1-korryasdlerto@gmail.com> (raw)
In-Reply-To: <20261108-b4-sm5714-fuel-gauge-v1-0-c659b6c0884a@dxdmail.cc>

Hi Nizat,

I tested this series on a Samsung Galaxy M52 5G (SM-M526B, sm7325),
where the SM5714 fuel gauge sits at 0x71 on a QUP I2C bus.

The driver binds and the readings match what I get with the vendor
setup: on USB it reports Charging with a positive current, unplugged
it reports Discharging (around -400 mA, 3.80 V), and upower picks up
the battery and percentage correctly.

Tested-by: Asdlerto Korry <korryasdlerto@gmail.com> # Samsung Galaxy M52 5G

A few notes, none of them blocking:

- The capacity truncates (SOC >> 8). With the raw SOC at about 44.6 %
  it reports 44, while rounding would give 45. Rounding might match
  the vendor UI better, but either is fine.

- The M52 has a battery NTC on an ADC channel. If you're interested,
  I could send a follow-up on top of your series that adds TEMP through
  io-channels, and VOLTAGE_OCV from the gauge, once this is merged.

Thanks for working on this!

Asdlerto

  parent reply	other threads:[~2026-11-14 19:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 11:22 Nizat Mikayilli via B4 Relay
2026-11-08 11:22 ` [PATCH 1/2] dt-bindings: " Nizat Mikayilli via B4 Relay
2026-11-12 11:19   ` Krzysztof Kozlowski
2026-11-08 11:22 ` [PATCH 2/2] power: supply: Add Silicon Mitus SM5714 fuel gauge driver Nizat Mikayilli via B4 Relay
2026-11-14 19:48 ` Asdlerto Korry [this message]
2026-11-11 15:34 [PATCH 0/2] power: supply: Add Silicon Mitus SM5714 fuel gauge Asdlerto Korry 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=20261114194800.503418-1-korryasdlerto@gmail.com \
    --to=korryasdlerto@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nacht@dxdmail.cc \
    --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®