Driver load order
a.fatoum at pengutronix.de
Thu May 19 05:42:10 PDT 2022
On 19.05.22 14:17, Ahmad Fatoum wrote:
> Hello Frank,
> On 19.05.22 12:59, Frank Wunderlich wrote:
>> 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:
> While I don't know what iodomains are, I had ported the rk808 driver to barebox for
> use with the Rock Pi N10. I haven't come around to upstream it, because I haven't
> figured out why I can't use the existing regmap helpers like Linux does.
> I have sent you the patches as a reply to your mail. Perhaps they'll
> save you some effort.
I see now that Kconfig/Makefile parts are missing, but I trust you can easily add those.
Also, you'll need this patch: https://email@example.com/
(preferably after incorporating Sascha's feedback).
>> regards Frank
>> barebox mailing list
>> barebox at lists.infradead.org
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