Driver load order

Frank Wunderlich frank-w at
Thu May 19 03:59:35 PDT 2022


I try to create a basic driver for rk808 pmic/iodomains. I've noticed that first the iodomain driver is probed and then the rk808 on,but i need it reversed as rk808 registers regulators linked in iodomain via devicetree.

How can i defer iodomain probing till rk808 is ready (regulators available defined as phandles in iodomain dt node)? Currently i get always ENODEV (property does not exist or regulator is not ready yet)....

This is my current (dirty) source:
regards Frank

More information about the barebox mailing list