Re: [PATCH] regulator: core: Fix resolve supply
From: Mark Brown
Date: Thu Nov 14 2024 - 08:28:25 EST
On Wed, Nov 13, 2024 at 05:36:42PM +0100, Kory Maincent wrote:
> My issue is that it does not look for the regulator supply in the OF node
> described in the regulator_config structure:
> https://elixir.bootlin.com/linux/v6.11.7/source/include/linux/regulator/driver.h#L445
> It looks at the parent device OF node instead.
>
> My use case is that a PSE controller have several PIs (Power Interface) which
> can have different regulator supply. A regulator device is registered for each
> PIs. The OF node used by the regulator core to lookup for the regulator supply
> is the PSE controller node and its children instead of the node of the PI which
> is described by the regulator_config->of_node.
Please resubmit with a clearer commit log.
Attachment:
signature.asc
Description: PGP signature