mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Marco Felsch <m.felsch@pengutronix.de>,
	Barebox List <barebox@lists.infradead.org>
Subject: Re: Strange bug with supply dependency
Date: Fri, 20 Nov 2026 14:03:35 +0300	[thread overview]
Message-ID: <CAP1tNvQAN1Yxquus3OpSXk+0aepe0ajtfAXabrnFmS9MFsx2gQ@mail.gmail.com> (raw)
In-Reply-To: <31660d31-5215-416b-bbf7-56dd6335885f@pengutronix.de>

Hello.

...
> >    `-- fd880000.i2c@fd880000.of
> >       `-- i2c0
> >          `-- pcal65240
> >          `-- rk86021
> >          `-- rk86030
>
> Here's your PMIC
>
> >       `-- fd880000.i2c@fd880000:pmic@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!



      reply	other threads:[~2026-11-20 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 14:19 Alexander Shiyan
2026-11-19 15:08 ` Marco Felsch
2026-11-19 15:30   ` Alexander Shiyan
2026-11-19 16:02     ` Ahmad Fatoum
2026-11-19 16:18       ` Alexander Shiyan
2026-11-19 19:00         ` Ahmad Fatoum
2026-11-20 11:03           ` Alexander Shiyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP1tNvQAN1Yxquus3OpSXk+0aepe0ajtfAXabrnFmS9MFsx2gQ@mail.gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=m.felsch@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox