freebsd-dev/sys/arm/ti/omap4
Emmanuel Vadot 6830111909 omap4_prcm: Delay the frequencies read check
Same as r333305, with Linux 4.17 dts the compatible for the prcm added
'simplebus', it mean that the simplebus driver will attach to it
at the BUS_PASS_BUS pass.
Change the pass for the prcm driver to be at BUS_PASS_BUS so we will win
the attach.
This introduce a problem as this driver needs the omap_scm one to be already
attached. omap_scm also attach at BUS_PASS_BUS but after the prcm one as it is
after in the dtb and the simplebus driver simpy walk the tree to attach it's
children.
Use the bus_new_pass method to defer the frequencies read at BUS_PASS_TIMER.
This fixes booting on pandaboard

Approved by:	re (rgrimes)
2018-08-30 14:32:47 +00:00
..
pandaboard
files.omap4
omap4_gpio.c
omap4_l2cache.c
omap4_machdep.h
omap4_mp.c
omap4_prcm_clks.c omap4_prcm: Delay the frequencies read check 2018-08-30 14:32:47 +00:00
omap4_reg.h
omap4_scm_padconf.c
omap4_scm_padconf.h
omap4_smc.h
omap4_wugen.c
std.omap4