freebsd-dev/sys/arm
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
..
allwinner Allwinner: Add clock driver for ccu_sun8i_r 2017-10-07 16:48:42 +00:00
altera/socfpga Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
amlogic/aml8726 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
annapurna/alpine Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
arm Detect NEON and set HWCAP_NEON if present. 2017-09-22 17:58:57 +00:00
at91 Defer attaching and probing iicbus and its children until interrupts are 2017-09-13 16:54:27 +00:00
broadcom/bcm2835 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
cavium/cns11xx Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
freescale Fix imx6 hdmi init after r323553, which used a config_intrhook to defer the 2017-10-08 18:38:22 +00:00
include Oversight on armv7 bulk commit: Make MACHINE_ARCH be armv7 for new 2017-10-06 13:43:16 +00:00
lpc Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
mv Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
nvidia Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
qemu Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ralink [arm] [rt1310] add initial RT1310 SoC code. 2017-05-06 06:14:46 +00:00
rockchip Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
samsung/exynos Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ti Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
versatile Move the simple armv6 only timer drivers to require MULTIDELAY to help 2017-07-04 18:07:09 +00:00
xilinx Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
xscale i81342 is little endian, not big endian. 2017-09-19 20:33:22 +00:00