Re: [PATCH v2] power: supply: core: Honor supplied-from with CONFIG_OF=y
From: Sebastian Reichel
Date: Sun Oct 04 2026 - 13:47:53 EST
On Fri, 25 Sep 2026 00:51:52 +0200, Maurizio Casciano wrote:
> The supplied-from device property is the name-based counterpart to
> firmware-node power-supplies references. It was added for non-DT platforms,
> but its parser is compiled only when CONFIG_OF is disabled. CONFIG_OF is
> a global kernel option, so x86 systems commonly enable it even when
> individual power supplies are described by software nodes.
>
> Consequently, these consumers never populate supplied_from and supplier
> notifications do not reach their external_power_changed() callbacks. On a
> Lenovo Yoga Book YB1-X91L, ftrace showed the Whiskey Cove supplier
> notification running without invoking the BQ25892 callback, leaving the
> input current limit at its boot-time value.
>
> [...]
Applied, thanks!
[1/1] power: supply: core: Honor supplied-from with CONFIG_OF=y
commit: 6bd80f22c764fe8c56c62c118387f86a3ca98cff
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>