Re: driver loading order
- In reply to: titus : "driver loading order"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jun 2023 15:59:54 UTC
On Fri, Jun 16, 2023, 9:55 AM titus <titus@edc.ro> wrote: > what is the correct method for loading drivers in a specific order > I hacked a driver for pwm-regulator so i can have cpufreq_dt > so rk_pwm/pwm needs to be loaded before the pwm-regulator driver and after > the clock > driver > i changed the pass arg for EARLY_DRIVER_MODULE and in the end it worked > but im not sure this is the best way > That's generally the best way for things like clocks and regulators. Those item enable other devices to work, so should be attached in an earlier pass. Warner thanks >