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

Hi,

On 11/19/26 17:18, Alexander Shiyan wrote:
> 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.

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 |



  reply	other threads:[~2026-11-19 19:02 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 [this message]
2026-11-20 11:03           ` Alexander Shiyan

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=31660d31-5215-416b-bbf7-56dd6335885f@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=eagle.alexander923@gmail.com \
    --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