Re: [PATCH v8] bq27xxx: support interchangeable OnePlus 6/6T fuel gauges
From: Sebastian Reichel
Date: Sun Nov 15 2026 - 18:16:40 EST
On Mon, 19 Oct 2026 22:08:15 +0300, Rinat Muhamedgaliev wrote:
> OnePlus 6 and 6T battery packs can contain either a bq27411 or a bq27541
> fuel gauge. The two chips require different register maps.
>
> The DeviceType check now lives in the bus-neutral battery core, where it
> uses the existing register-map and control-register helpers. For bq27411
> and bq27541, it compares the type selected by the compatible with the
> reported type and chooses the detected profile.
>
> [...]
Applied, thanks!
[1/1] power: supply: bq27xxx: detect bq27541 behind bq27411 compatible
commit: 15687e5a48e746ea8de2952e04f04b358866376b
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>