Strange bug with supply dependency
Alexander Shiyan
eagle.alexander923 at gmail.com
Thu Nov 19 08:18:01 PST 2026
Hello.
barebox at Diasom DS-RK3588-SMARC-EVB:/ devinfo
`-- global
`-- nv
`-- platform
`-- feae0000.timer at feae0000.of
`-- timer.of
`-- fd7c0000.clock-controller at fd7c0000.of
`-- pinctrl.of
`-- fd8a0000.gpio at fd8a0000.of
`-- fec20000.gpio at fec20000.of
`-- fec30000.gpio at fec30000.of
`-- fec40000.gpio at fec40000.of
`-- fec50000.gpio at fec50000.of
`-- feb50000.serial at feb50000.of
`-- cs0
`-- 0x00000000-0xffffffffffffffff ( 0 Bytes): /dev/cs0
`-- memory-controller.of
`-- mem0
`-- 0x00000000-0xef5fffff ( 3.7 GiB): /dev/ram0
`-- mem1
`-- 0x00000000-0x2fbffffff ( 11.9 GiB): /dev/ram1
`-- mem2
`-- 0x00000000-0x039fffff ( 58 MiB): /dev/ram2
`-- mem3
`-- 0x00000000-0xffffffffffffffff ( 0 Bytes): /dev/mem
`-- netconsole
`-- 0x00000000-0xffffffffffffffff ( 0 Bytes): /dev/netconsole-1
`-- feaa0000.i2c at feaa0000.of
`-- i2c2
`-- rk86020
`-- m41t620
`-- evb-12v0-regulator.of
`-- vcc4v0-sys-regulator.of
`-- fd880000.i2c at fd880000.of
`-- i2c0
`-- pcal65240
`-- rk86021
`-- rk86030
`-- fd880000.i2c at fd880000:pmic at 23.of
`-- fec10000.adc at fec10000.of
`-- machine
`-- firmware:scmi.of
`-- scmi_dev0
`-- scmi_dev1
`-- scmi_dev2
`-- firmware:optee.of
`-- tee0
`-- l3-cache.of
`-- display-subsystem.of
`-- pmu-a55.of
`-- pmu-a76.of
`-- psci.of
`-- clock-0.of
`-- clock-1.of
`-- fb000000.gpu at fb000000.of
`-- fc900000.iommu at fc900000.of
`-- fd58a000.syscon at fd58a000.of
`-- fd58c000.syscon at fd58c000.of
`-- fd5e8000.syscon at fd5e8000.of
`-- fd5ec000.syscon at fd5ec000.of
`-- fd5a4000.syscon at fd5a4000.of
`-- fd5a6000.syscon at fd5a6000.of
`-- fd5a8000.syscon at fd5a8000.of
`-- fd5ac000.syscon at fd5ac000.of
`-- fd5b0000.syscon at fd5b0000.of
`-- fd5b4000.syscon at fd5b4000.of
`-- fd5b5000.syscon at fd5b5000.of
`-- fd5bc000.syscon at fd5bc000.of
`-- fd5c4000.syscon at fd5c4000.of
`-- fd5c8000.syscon at fd5c8000.of
`-- fd5d0000.syscon at fd5d0000.of
`-- fd5d8000.syscon at fd5d8000.of
`-- fd5dc000.syscon at fd5dc000.of
`-- fd5e0000.syscon at fd5e0000.of
`-- fd5f0000.syscon at fd5f0000.of
`-- fd600000.sram at fd600000.of
`-- 0x00000000-0x000fffff ( 1 MiB): /dev/sram0
`-- fd8d8000.power-management at fd8d8000.of
`-- fd8d8000.power-management at fd8d8000:power-controller.of
`-- fdab0000.npu at fdab0000.of
`-- fdab9000.iommu at fdab9000.of
`-- fdac0000.npu at fdac0000.of
`-- fdaca000.iommu at fdaca000.of
`-- fdad0000.npu at fdad0000.of
`-- fdada000.iommu at fdada000.of
`-- fdb50000.video-codec at fdb50000.of
`-- fdb50800.iommu at fdb50800.of
`-- fdb60000.rga at fdb60000.of
`-- fdb60f00.iommu at fdb60f00.of
`-- fdb70f00.iommu at fdb70f00.of
`-- fdb80000.rga at fdb80000.of
`-- fdba0000.video-codec at fdba0000.of
`-- fdba0800.iommu at fdba0800.of
`-- fdba4800.iommu at fdba4800.of
`-- fdba8800.iommu at fdba8800.of
`-- fdbac800.iommu at fdbac800.of
`-- fdc38000.video-codec at fdc38000.of
`-- fdc38700.iommu at fdc38700.of
`-- fdc40700.iommu at fdc40700.of
`-- fdc70000.video-codec at fdc70000.of
`-- fdca0000.iommu at fdca0000.of
`-- fdf35000.qos at fdf35000.of
`-- fdf35200.qos at fdf35200.of
`-- fdf35400.qos at fdf35400.of
`-- fdf35600.qos at fdf35600.of
`-- fdf36000.qos at fdf36000.of
`-- fdf39000.qos at fdf39000.of
`-- fdf3d800.qos at fdf3d800.of
`-- fdf3e000.qos at fdf3e000.of
`-- fdf3e200.qos at fdf3e200.of
`-- fdf3e400.qos at fdf3e400.of
`-- fdf3e600.qos at fdf3e600.of
`-- fdf40000.qos at fdf40000.of
`-- fdf40200.qos at fdf40200.of
`-- fdf40400.qos at fdf40400.of
`-- fdf40500.qos at fdf40500.of
`-- fdf40600.qos at fdf40600.of
`-- fdf40800.qos at fdf40800.of
`-- fdf41000.qos at fdf41000.of
`-- fdf41100.qos at fdf41100.of
`-- fdf60000.qos at fdf60000.of
`-- fdf60200.qos at fdf60200.of
`-- fdf60400.qos at fdf60400.of
`-- fdf61000.qos at fdf61000.of
`-- fdf61200.qos at fdf61200.of
`-- fdf61400.qos at fdf61400.of
`-- fdf62000.qos at fdf62000.of
`-- fdf63000.qos at fdf63000.of
`-- fdf64000.qos at fdf64000.of
`-- fdf66000.qos at fdf66000.of
`-- fdf66200.qos at fdf66200.of
`-- fdf66400.qos at fdf66400.of
`-- fdf66600.qos at fdf66600.of
`-- fdf66800.qos at fdf66800.of
`-- fdf66a00.qos at fdf66a00.of
`-- fdf66c00.qos at fdf66c00.of
`-- fdf66e00.qos at fdf66e00.of
`-- fdf67000.qos at fdf67000.of
`-- fdf67200.qos at fdf67200.of
`-- fdf70000.qos at fdf70000.of
`-- fdf71000.qos at fdf71000.of
`-- fdf72000.qos at fdf72000.of
`-- fdf72200.qos at fdf72200.of
`-- fdf72400.qos at fdf72400.of
`-- fdf80000.qos at fdf80000.of
`-- fdf81000.qos at fdf81000.of
`-- fdf81200.qos at fdf81200.of
`-- fdf82000.qos at fdf82000.of
`-- fdf82200.qos at fdf82200.of
`-- fe060000.dfi at fe060000.of
`-- fe2b0000.spi at fe2b0000.of
`-- vcc-3v3-sys-regulator.of
`-- vcc-sdmmc0-regulator.of
`-- fe2c0000.mmc at fe2c0000.of
`-- mmc1
`-- 0x00000000-0x39d4fffff ( 14.5 GiB): /dev/mmc1
`-- 0x00008000-0x00287fff ( 2.5 MiB): /dev/mmc1.0, mmc1.boot
`-- 0x00288000-0x00387fff ( 1 MiB): /dev/mmc1.1, mmc1.env
`-- 0x00388000-0x5ad87fff ( 1.4 GiB): /dev/mmc1.2, mmc1.root
`-- fe2e0000.mmc at fe2e0000.of
`-- mmc0
`-- 0x00000000-0x003fffff ( 4 MiB): /dev/mmc0.boot0
`-- 0x00000000-0x003fffff ( 4 MiB): /dev/mmc0.boot1
`-- 0x00000000-0x7487fffff ( 29.1 GiB): /dev/mmc0
`-- fe378000.rng at fe378000.of
`-- fe600000.interrupt-controller at fe600000.of
`-- fea10000.dma-controller at fea10000.of
`-- fea30000.dma-controller at fea30000.of
`-- feac0000.i2c at feac0000.of
`-- i2c4
`-- fead0000.i2c at fead0000.of
`-- i2c5
`-- 24c020
`-- eeprom0
`-- 0x00000000-0x000000ff ( 256 Bytes): /dev/eeprom0
`-- 0x00000000-0x00000005 ( 6 Bytes):
/dev/eeprom0.mac-address at fa
`-- 24c021
`-- eeprom1
`-- 0x00000000-0x000000ff ( 256 Bytes): /dev/eeprom1
`-- 0x00000000-0x00000005 ( 6 Bytes):
/dev/eeprom1.mac-address at fa
`-- feaf0000.watchdog at feaf0000.of
`-- wdog0
`-- feb30000.spi at feb30000.of
`-- spi at 00
`-- spi at 10
`-- fec00000.tsadc at fec00000.of
`-- fec90000.i2c at fec90000.of
`-- i2c7
`-- fecc0000.efuse at fecc0000.of
`-- rockchip-otp0
`-- 0x00000000-0x000003ff ( 1 KiB): /dev/rockchip-otp0
`-- 0x00000000-0x00000001 ( 2 Bytes): /dev/rockchip-otp0.cpu-code at 2
`-- 0x00000000-0x0000000f ( 16 Bytes): /dev/rockchip-otp0.id at 7
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.cpu-leakage at 17
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.cpu-leakage at 18
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.cpu-leakage at 19
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.log-leakage at 1a
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.gpu-leakage at 1b
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.cpu-version at 1c
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.npu-leakage at 28
`-- 0x00000000-0x00000000 ( 1 Bytes):
/dev/rockchip-otp0.codec-leakage at 29
`-- fed10000.dma-controller at fed10000.of
`-- ff001000.sram at ff001000.of
`-- 0x00000000-0x000eefff ( 956 KiB): /dev/sram1
`-- fd5b8000.syscon at fd5b8000.of
`-- fd5c0000.syscon at fd5c0000.of
`-- fd5cc000.syscon at fd5cc000.of
`-- fd5d4000.syscon at fd5d4000.of
`-- fd5e4000.syscon at fd5e4000.of
`-- opp-table-cluster0.of
`-- opp-table-cluster1.of
`-- opp-table-cluster2.of
`-- opp-table-gpu.of
`-- adc-keys-1.of
`-- gpio-keys.of
`-- gpio-restart.of
`-- leds.of
`-- vcc1v1-nldo-regulator.of
`-- evb-3v3-regulator.of
`-- evb-5v0-regulator.of
`-- chosen:environment-sd.of
`-- mdio_bus
`-- usb
`-- usbotg
`-- spi
`-- i2c
`-- nvmem-layout
`-- pci
`-- scmi_protocol
`-- tee
`-- fs
`-- ramfs0
`-- genpd
`-- mipi-dsi
`-- gadget
barebox at Diasom DS-RK3588-SMARC-EVB:/ drvinfo
Driver Device(s)
--------------------
rockchip-gate-link-clk
clk-rk3568
clk-rk3588
fd7c0000.clock-controller at fd7c0000.of
scmi-clocks
scmi_dev1
gated-fixed-clk
gpio-gate-clock
syscon
rockchip-gpio
fd8a0000.gpio at fd8a0000.of
fec20000.gpio at fec20000.of
fec30000.gpio at fec30000.of
fec40000.gpio at fec40000.of
fec50000.gpio at fec50000.of
rockchip-pinctrl
pinctrl.of
simple-pm-bus
scmi-regulator
scmi-reset
scmi_dev2
arm-scmi
firmware:scmi.of
scmi-power-domain
optee
firmware:optee.of
arm-architected-timer
timer.of
rockchip-pm-domain
fd8d8000.power-management at fd8d8000:power-controller.of
ns16550_serial
feb50000.serial at feb50000.of
rockchip-dmc
memory-controller.of
rockchip-spi
feb30000.spi at feb30000.of
rk3x-i2c
feaa0000.i2c at feaa0000.of
fd880000.i2c at fd880000.of
feac0000.i2c at feac0000.of
fead0000.i2c at fead0000.of
fec90000.i2c at fec90000.of
rk808
rk808
regulator-fixed
vcc4v0-sys-regulator.of
evb-12v0-regulator.of
vcc-sdmmc0-regulator.of
vcc-3v3-sys-regulator.of
vcc1v1-nldo-regulator.of
evb-3v3-regulator.of
evb-5v0-regulator.of
rockchip-usb2phy
naneng-combphy
rockchip-snps-pcie3-phy
rockchip-usbdp-phy
rockchip-iodomain
ext4
ramfs
ramfs0
tftp
nfs
fat
psci
psci.of
board-ds-rk3568-som
board-ds-rk3588
machine
Generic PHY
RTL8201CP Ethernet
RTL8201F Fast Ethernet
RTL8226B_RTL8221B 2.5Gbps PHY
RTL8208 Fast Ethernet
RTL8211 Gigabit Ethernet
RTL8211B Gigabit Ethernet
RTL8211C Gigabit Ethernet
RTL8211DN Gigabit Ethernet
RTL8211E Gigabit Ethernet
RTL8211F Gigabit Ethernet
Generic FE-GE Realtek PHY
RTL8211F-VD Gigabit Ethernet
RTL8226-CG 2.5Gbps PHY
RTL8226B-CG_RTL8221B-CG 2.5Gbps PHY
RTL8221B-VB-CG 2.5Gbps PHY
RTL8221B-VM-CG 2.5Gbps PHY
RTL8366RB Gigabit Ethernet
RTL8365MB-VC Gigabit Ethernet
RTL8366S Gigabit Ethernet
mdio-gpio
eqos-rockchip
rtl8169_eth
usb-hub
dwc3
usb-storage
ehci
xHCI
onboard-usb-dev
pca954x
rk3568-dwcmshc-sdhci
fe2e0000.mmc at fe2e0000.of
dw_mmc
fe2c0000.mmc at fe2c0000.of
pwm-backlight
diasom-panel
rockchip-vop2
dwhdmi-rockchip
dw-mipi-dsi-rockchip
gpio-leds
leds.of
at24
24c020
24c021
rockchip-pwm
mmio-sram
fd600000.sram at fd600000.of
ff001000.sram at ff001000.of
mem
mem0
mem1
mem2
mem3
nvmem_cells
nvmem-rmem
rockchip-otp
fecc0000.efuse at fecc0000.of
dw-wdt
feaf0000.watchdog at feaf0000.of
pca953x
pcal65240
optee-rng
rockchip-rng
fan53555-regulator
rk86020
rk86021
rk86030
rk808-regulator
rockchip-dw-pcie
inno-dsidphy
rockchip_saradc
nvme
restart-gpio
gpio-restart.of
barebox-environment
chosen:environment-sd.of
Use 'devinfo DEVICE' for more information
чт, 19 нояб. 2026 г. в 19:02, Ahmad Fatoum <a.fatoum at pengutronix.de>:
>
> Hello Alexander,
>
> On 11/19/26 4:30 PM, Alexander Shiyan wrote:
> > 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 at fec10000.of: can't get
> > vref-supply: Requested probe deferral
> > ERROR: rockchip_saradc fec10000.adc at 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!
>
> Do you reach a shell afterwards? Can you share the devinfo/drvinfo output?
>
> Cheers,
> Ahmad
>
> >
> > чт, 19 нояб. 2026 г. в 18:08, Marco Felsch <m.felsch at pengutronix.de>:
> >>
> >> On 26-11-19 17:19, Alexander Shiyan wrote:
> >>> Hello All.
> >>>
> >>> I have the following DTS fragment:
> >>>
> >>> exp: gpio at 22 {
> >>> compatible = "nxp,pcal6524";
> >>> reg = <0x22>;
> >>> gpio-controller;
> >>> #gpio-cells = <2>;
> >>> // vcc-supply = <&vcc_1v8>;
> >>> };
> >>>
> >>> pmic at 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!
> >>>
> >
>
> --
> 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 |
>
More information about the barebox
mailing list