mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Shujath Mohd <shujath@outlook.in>, linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2] arm64: dts: qcom: sdm845-sony-tama: Add battery properties
Date: Wed, 9 Sep 2026 11:39:03 +0200	[thread overview]
Message-ID: <77f0e1f7-ed6e-430c-812e-4eb316373937@oss.qualcomm.com> (raw)
In-Reply-To: <PUZPR01MB51418AF84C1FC5F640144D57C3B22@PUZPR01MB5141.apcprd01.prod.exchangelabs.com>

On 9/7/26 6:03 PM, Shujath Mohd wrote:
> Add simple-battery nodes describing the design capacity and voltage
> limits of the Xperia TAMA batteries.
> 
> The Xperia XZ2, XZ2 Compact, and XZ3 use 3.4 V as the drained
> battery voltage and 4.245 V as the fully charged voltage.
> 
> Signed-off-by: Shujath Mohd <shujath@outlook.in>
> ---

In the downstream kernel, I see:

fg-gen3-batterydata-akari-byd-4250mv.dtsi
fg-gen3-batterydata-akari-byd-4300mv.dtsi
fg-gen3-batterydata-akari-byd-4340mv.dtsi
fg-gen3-batterydata-akari-byd-4380mv.dtsi

fg-gen3-batterydata-akari-tmm-4250mv.dtsi
fg-gen3-batterydata-akari-tmm-4300mv.dtsi
fg-gen3-batterydata-akari-tmm-4340mv.dtsi
fg-gen3-batterydata-akari-tmm-4380mv.dtsi

fg-gen3-batterydata-akatsuki-tmm-4250mv.dtsi
fg-gen3-batterydata-akatsuki-tmm-4300mv.dtsi
fg-gen3-batterydata-akatsuki-tmm-4340mv.dtsi
fg-gen3-batterydata-akatsuki-tmm-4380mv.dtsi

fg-gen3-batterydata-apollo-tmm-4250mv.dtsi
fg-gen3-batterydata-apollo-tmm-4300mv.dtsi
fg-gen3-batterydata-apollo-tmm-4340mv.dtsi
fg-gen3-batterydata-apollo-tmm-4380mv.dtsi

fg-gen3-batterydata-aurora-tmm-4250mv.dtsi
fg-gen3-batterydata-aurora-tmm-4300mv.dtsi
fg-gen3-batterydata-aurora-tmm-4340mv.dtsi
fg-gen3-batterydata-aurora-tmm-4380mv.dtsi

so XZ2 has 2 battery suppliers, while Premium/Compact and
XZ3 only have one. The -mv suffixes I deciphered to be tuned
settings for various aging levels.

The BYD vs TMM batteries on Akari have a different capacity,
and public spec sheets match neither :)

BYD says initial capacity = 3056000 uAh
TMM says initial capacity = 3217000 uAh

the spec sheet says 3180 mAh, so presumably the TMM one was
used in all models

The constant current charge threshold is set to 4370 on the
-4380mv bin and the DTs don't clearly specify a lower bound
(maybe in the qcom,fg-data blob?), but 3.4 sounds appropriate

Konrad

  parent reply	other threads:[~2026-09-09  9:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07 16:03 Shujath Mohd
2026-09-08  7:19 ` Abel Vesa
2026-09-08  7:56   ` Shujath Mohd
2026-09-09  9:23     ` Konrad Dybcio
2026-09-09  9:39 ` Konrad Dybcio [this message]
2026-09-10  4:36 ` [PATCH v3] " Shujath Mohd
2026-10-15 12:14   ` Konrad Dybcio
2026-11-08 20:21   ` Bjorn Andersson

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=77f0e1f7-ed6e-430c-812e-4eb316373937@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=shujath@outlook.in \
    /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®