2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/Documentation/acpi
Dustin Byford 8eb5c87a92 i2c: add ACPI support for I2C mux ports
Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or
device property compatible string match), enumerating I2C client devices
connected through an I2C mux needs a little extra work.

This change implements a method for describing an I2C device hierarchy that
includes mux devices by using an ACPI Device() for each mux channel along
with an _ADR to set the channel number for the device.  See
Documentation/acpi/i2c-muxes.txt for a simple example.

To make this work the ismt, i801, and designware pci/platform devs now
share an ACPI companion with their I2C adapter dev similar to how it's done
in OF.  This is done on the assumption that power management functions will
not be called directly on the I2C dev that is sharing the ACPI node.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Dustin Byford <dustin@cumulusnetworks.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-10-25 15:49:46 +01:00
..
apei Documentation/acpi/einj: Correct and streamline text 2015-02-19 12:32:22 +01:00
debug.txt ACPI: update debug parameter documentation 2008-11-07 21:45:29 -05:00
dsdt-override.txt ACPI / PM / Documentation: Replace outdated project links and addresses 2013-10-11 13:22:43 +02:00
enumeration.txt mfd: core: redo ACPI matching of the children devices 2015-10-23 21:55:46 +02:00
gpio-properties.txt ACPI / documentation: Fix ambiguity in the GPIO properties document 2015-05-04 14:26:14 +02:00
i2c-muxes.txt i2c: add ACPI support for I2C mux ports 2015-10-25 15:49:46 +01:00
initrd_table_override.txt ACPI: Document ACPI table overriding via initrd 2012-09-30 18:03:41 -07:00
method-customizing.txt ACPI: Split out custom_method functionality into an own driver 2011-05-29 01:50:40 -04:00
method-tracing.txt ACPI / Documentation: Update method tracing documentation. 2015-08-07 02:42:22 +02:00
namespace.txt ACPI / scan: Add acpi_device objects for all device nodes in the namespace 2013-11-22 21:54:37 +01:00
scan_handlers.txt ACPI / scan: Introduce struct acpi_scan_handler 2013-01-30 14:27:29 +01:00
video_extension.txt ACPI / video: update video_extension.txt for backlight control 2013-06-21 00:16:05 +02:00