Re: [PATCH v3 0/2] power: supply: bq25630: scope the battery information

From: Sebastian Reichel

Date: Thu Jul 30 2026 - 18:05:12 EST



On Thu, 30 Jul 2026 09:17:11 +0800, Linmao Li wrote:
> data->batinfo is only read by bq25630_setup(), but it is fetched in
> bq25630_probe() and kept in the driver data for the lifetime of the
> device.
>
> Patch 1 moves the get/put pair into bq25630_setup() and drops the member.
> Patch 2 then uses the new power_supply_desc::init callback so the charger
> registers are programmed before the device is exposed to the system.
>
> [...]

Applied, thanks!

[1/2] power: supply: bq25630: Scope battery information to bq25630_setup()
commit: 9092828e187f7cb3c7346a64e01a10d8f75ca246
[2/2] power: supply: bq25630: Initialize hardware before exposing the power supply
commit: fdece8642eca8e20a218837f58c0ae6d83fe53a1

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>