Strange bug with supply dependency

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Nov 19 11:00:33 PST 2026


Hi,

On 11/19/26 17:18, Alexander Shiyan wrote:
> Hello.

>    `-- fd880000.i2c at fd880000.of
>       `-- i2c0
>          `-- pcal65240
>          `-- rk86021
>          `-- rk86030

Here's your PMIC

>       `-- fd880000.i2c at fd880000:pmic at 23.of

and here's a platform device that deep probe wrongly created
to represent it.

>>>>> Uncommenting the "vcc-supply" line causes the PMIC driver to silently
>>>>> fail to load,

Interesting bug you stepped on.

You are hitting an corner case with deep probe, when devices
on the same I2C bus have dependencies on each other and a consumer
device is probed first.

I Cc'd you on a series that should fix it. Please give it a test.

Cheers,
Ahmad

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list