freebsd-skq/sys/dev/ichiic
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
..
ig4_acpi.c [ig4] Remove unused methods from bus interface 2019-12-10 20:23:05 +00:00
ig4_iic.c iicbus(4): Add support for ACPI-based children enumeration 2020-03-09 20:31:38 +00:00
ig4_pci.c [ig4] Remove unused methods from bus interface 2019-12-10 20:23:05 +00:00
ig4_reg.h [ig4] Add support for CannonLake controllers 2019-11-03 21:16:06 +00:00
ig4_var.h [ig4] Enable additional registers support on Appolo Lake controllers 2019-11-03 21:17:01 +00:00