Strange bug with supply dependency

Alexander Shiyan eagle.alexander923 at gmail.com
Fri Nov 20 03:03:35 PST 2026


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.

Tracking down the root cause was even more interesting - that
commented-out line was
the last thing I would have suspected...

2 Sascha, if there are no objections, please apply this series to master.

> 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.

Now, works as expected.

Thanks!



More information about the barebox mailing list