From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: Strange bug with supply dependency
Date: Thu, 19 Nov 2026 18:30:08 +0300 [thread overview]
Message-ID: <CAP1tNvRpSdk9mauU3RGraT0DqCc5LFyR8mzBjHQg3Uw_eeo63A@mail.gmail.com> (raw)
In-Reply-To: <yhue3ceigbcc2njkoqyui5z6dhjkxts3dvbbwxlt7v36abxsyi@v3uubuqgfe5x>
Hello.
I meant that the PMIC driver prints no errors in this case.
Only GPIO driver print the error.
Currently, it looks like this:
Board: Diasom DS-RK3588-SMARC-EVB
rockchip-dmc memory-controller.of: Detected memory size: 0x400000000
netconsole: registered as netconsole-1
fan53555-regulator rk86020: FAN53555 Option[10] Rev[1] Detected!
WARNING: pca953x pcal65240: Failed to get 'vcc' regulator with
Requested probe deferral (ignored).
fan53555-regulator rk86021: FAN53555 Option[10] Rev[1] Detected!
fan53555-regulator rk86030: FAN53555 Option[10] Rev[1] Detected!
ERROR: rockchip_saradc fec10000.adc@fec10000.of: can't get
vref-supply: Requested probe deferral
ERROR: rockchip_saradc fec10000.adc@fec10000.of: probe permanently deferred
ERROR: Could not find ADC channel "aiodev0.in_value1_mV": -2!
ERROR: Could not find ADC channel "aiodev0.in_value7_mV": -2!
чт, 19 нояб. 2026 г. в 18:08, Marco Felsch <m.felsch@pengutronix.de>:
>
> On 26-11-19 17:19, Alexander Shiyan wrote:
> > Hello All.
> >
> > I have the following DTS fragment:
> >
> > exp: gpio@22 {
> > compatible = "nxp,pcal6524";
> > reg = <0x22>;
> > gpio-controller;
> > #gpio-cells = <2>;
> > // vcc-supply = <&vcc_1v8>;
> > };
> >
> > pmic@23 {
> > pinctrl-names = "default";
> > pinctrl-0 = <&pmic_pins &rk806_dvs1 &rk806_dvs2 &rk806_dvs3>;
> > compatible = "rockchip,rk806";
> > reg = <0x23>;
> > ...
> > regulators {
> > ...
> > vcc_1v8: dcdc-reg10 {
> > regulator-name = "vcc_1v8";
> > regulator-always-on;
> > regulator-boot-on;
> > regulator-min-microvolt = <1800000>;
> > regulator-max-microvolt = <1800000>;
> >
> > regulator-state-mem {
> > regulator-on-in-suspend;
> > regulator-suspend-microvolt = <1800000>;
> > };
> > };
> > ...
> >
> > Uncommenting the "vcc-supply" line causes the PMIC driver to silently
> > fail to load,
>
> What do you mean by silently? Are there no error messages?
>
> You extend the driver error message from:
>
> dev_warn(dev, "Failed to get 'vcc' regulator (ignored).\n");
>
> to
>
> dev_warn(dev, "Failed to get 'vcc' regulator with %pe (ignored).\n", reg);
>
> Regards,
> Marco
>
> > which in turn breaks all devices powered by the PMIC.
> > None of the expander's GPIOs are used anywhere.
> > When this line is commented out, everything works as expected.
> > Is there some sort of dependency from sharing the same bus?
> >
> > Thanks!
> >
next prev parent reply other threads:[~2026-11-19 15:31 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 [this message]
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
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=CAP1tNvRpSdk9mauU3RGraT0DqCc5LFyR8mzBjHQg3Uw_eeo63A@mail.gmail.com \
--to=eagle.alexander923@gmail.com \
--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