mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Strange bug with supply dependency
@ 2026-11-19 14:19 Alexander Shiyan
  2026-11-19 15:08 ` Marco Felsch
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Shiyan @ 2026-11-19 14:19 UTC (permalink / raw)
  To: Barebox List

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,
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!



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-20 11:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 14:19 Strange bug with supply dependency 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox