freebsd-dev/sys/arm/freescale/imx
Ian Lepore 7e7ef41632 Fix imx6 hdmi init after r323553, which used a config_intrhook to defer the
attachment of i2c devices needed by hdmi.

The hdmi init also uses an intrhook callback to defer initialization, and if
the hdmi callback runs first, the i2c devices will not yet have registered
their device_t in association with their FDT phandle, which allows cross-
device references on FDT systems.

Now the hdmi deferred init checks for the i2c device registration, and if
it's not complete yet, it registers as an eventhandler watching for newbus
attach events.  When the i2c device eventually attaches, the hdmi driver
unregisters from watching further events, and continues with the hdmi init.
Because the function signatures for an intrhook callback and an event
handler callback are the same, a single function is used for both callbacks.

Reported by:	Russell Haley <russ.haley@gmail.com>
2017-10-08 18:38:22 +00:00
..
files.imx5
files.imx6 Add i.MX6 and Xilinx to GENERIC. 2017-09-24 09:33:08 +00:00
imx6_ahci.c Define a single instance of ahci_devclass and reference it from all the 2017-10-02 02:58:28 +00:00
imx6_anatop.c
imx6_anatopreg.h
imx6_anatopvar.h
imx6_audmux.c
imx6_ccm.c
imx6_ccmreg.h
imx6_hdmi.c Fix imx6 hdmi init after r323553, which used a config_intrhook to defer the 2017-10-08 18:38:22 +00:00
imx6_ipu.c
imx6_machdep.c
imx6_machdep.h
imx6_mp.c
imx6_pl310.c
imx6_sdma.c
imx6_sdma.h
imx6_snvs.c
imx6_src.c
imx6_src.h
imx6_ssi.c
imx6_usbphy.c
imx51_ccm.c
imx51_ccmreg.h
imx51_ccmvar.h
imx51_dpllreg.h
imx51_ipuv3_fbd.c
imx51_ipuv3.c
imx51_ipuv3reg.h
imx51_machdep.c
imx51_sdmareg.h
imx51_ssireg.h
imx51_tzicreg.h
imx53_machdep.c
imx_ccmvar.h
imx_common.c
imx_console.c
imx_epit.c
imx_gpio.c
imx_gpt.c
imx_gptreg.h
imx_i2c.c
imx_iomux.c
imx_iomuxreg.h
imx_iomuxvar.h
imx_machdep.c
imx_machdep.h
imx_nop_usbphy.c
imx_wdog.c
imx_wdogreg.h
std.imx6 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
std.imx51 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
std.imx53 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
tzic.c