opnsense-src/sys/modules/i2c
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
..
ads111x Include ofw_bus_if.h in SRCS only on systems configured with the FDT option. 2019-12-13 23:22:49 +00:00
controllers Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
cyapa sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
ds13rtc Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
ds1307 Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
ds1672 Build the ds1672 driver as a module. Add a detach() to unregister the rtc. 2018-03-06 02:30:34 +00:00
ds3231 Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
icee Give icee(4) a detach() method so it can be used as a module. Add a 2017-09-17 22:58:13 +00:00
if_ic sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
iic sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
iicbb sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
iicbus iicbus(4): Add support for ACPI-based children enumeration 2020-03-09 20:31:38 +00:00
iicsmb sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
isl Add opt_platform.h for several modules that have #ifdef FDT in the source. 2018-04-01 18:22:24 +00:00
isl12xx Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
jedec_dimm jedec_dimm(4): report asset info and temperatures for DDR3 and DDR4 DIMMs 2018-02-22 23:18:46 +00:00
mux Add support for i2c bus mux hardware. 2020-01-02 17:51:49 +00:00
nxprtc Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
rtc8583 Build iicbus/rtc8583 as a module. 2018-03-04 21:06:21 +00:00
s35390a Add a missing header file to SRCS to fix out-of-kernel builds. 2017-09-16 16:09:05 +00:00
smb sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
smbus sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
Makefile Add support for i2c bus mux hardware. 2020-01-02 17:51:49 +00:00
Makefile.inc