freebsd-dev/sys/dev/iicbus
Vladimir Kondratyev 9b7938dcf3 iicbus(4): Add support for ACPI-based children enumeration
When iicbus is attached as child of Designware I2C controller it scans all
ACPI nodes for "I2C Serial Bus Connection Resource Descriptor" described
in section 19.6.57 of ACPI specs.
If such a descriptor is found, I2C child is added to iicbus, it's I2C
address, IRQ resource and ACPI handle are added to ivars. Existing
ACPI bus-hosted child is deleted afterwards.

The driver also installs so called "I2C address space handler" which is
disabled by default as nontested.
Set hw.iicbus.enable_acpi_space_handler loader tunable to 1 to enable it.

Reviewed by:		markj
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D22901
2020-03-09 20:31:38 +00:00
..
mux
twsi
acpi_iicbus.c iicbus(4): Add support for ACPI-based children enumeration 2020-03-09 20:31:38 +00:00
ad7417.c Drop 'All rights reserved' 2020-03-06 21:32:42 +00:00
ad7418.c
adm1030.c
ads111x.c
adt746x.c
ds13rtc.c
ds1307.c
ds1307reg.h
ds1631.c
ds1672.c
ds1775.c Drop 'All rights reserved' 2020-03-06 21:26:35 +00:00
ds3231.c
ds3231reg.h
icee.c
if_ic.c
iic_recover_bus.c
iic_recover_bus.h
iic.c
iic.h
iicbb_if.m
iicbb.c
iicbus_if.m
iicbus.c iicbus(4): Add support for ACPI-based children enumeration 2020-03-09 20:31:38 +00:00
iicbus.h iicbus(4): Add support for ACPI-based children enumeration 2020-03-09 20:31:38 +00:00
iicoc_fdt.c
iicoc_pci.c
iicoc.c
iicoc.h
iiconf.c
iiconf.h
iicsmb.c
isl12xx.c
lm75.c
max6690.c
nxprtc.c
ofw_iicbus.c
rtc8583.c
s35390a.c
sy8106a.c
syr827.c