Devicetree
 help / color / mirror / Atom feed
From: Erikas Bitovtas <xerikasxx@gmail.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Erikas Bitovtas <erikas99876@gmail.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht,
	phone-devel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm7125-samsung: add fuel gauge
Date: Wed, 2 Dec 2026 14:04:31 +0200	[thread overview]
Message-ID: <354e99d1-da3b-4ce8-a52a-aaa4db41cd62@gmail.com> (raw)
In-Reply-To: <ae9fda95-6144-42bf-ac4c-ed9c59628c40@oss.qualcomm.com>



On 11/30/26 13:01, Konrad Dybcio wrote:
> On 11/23/26 2:02 PM, Erikas Bitovtas wrote:
>> Samsung Galaxy A52 and A72 use Silicon Mitus SM5714 interface PMIC,
>> which includes a fuel gauge as one of its features. Enable GPI DMA and
>> I2C controllers, add battery bindings and enable the interface PMIC fuel
>> gauge.
>>

[---snip---]

>> +&battery {
>> +	charge-full-design-microamp-hours = <4500000>;
> 
> This binding:
> 
> Documentation/devicetree/bindings/power/supply/battery.yaml
> 
> accepts a million properties. Does your downstream tree give you
> data for any of them?
> 
> Konrad

Hello Konrad,

Samsung has its own bindings for describing battery which are different
from batterydata:
https://github.com/LineageOS/android_kernel_samsung_sm7125/blob/lineage-24.0/arch/arm64/boot/dts/samsung/drivers/atoll-sec-a72q-battery-common.dtsi
trickle-charge-current-microamp can be taken from
battery,low_temp_topoff and constant-charge-current-max-microamp from
battery,max_charging_current.
There are probably more, but I'm not sure.

Respectfully,
Erikas Bitovtas

  reply	other threads:[~2026-12-02 12:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 13:02 [PATCH] arm64: dts: qcom: sm7125-samsung: add fuel gauge Erikas Bitovtas
2026-11-30 11:01 ` Konrad Dybcio
2026-12-02 12:04   ` Erikas Bitovtas [this message]
2026-12-02 12:11     ` Konrad Dybcio

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=354e99d1-da3b-4ce8-a52a-aaa4db41cd62@gmail.com \
    --to=xerikasxx@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=erikas99876@gmail.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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