linux/drivers/i2c
Lv Zheng a76e9bd89a i2c: attach/detach I2C client device to the ACPI power domain
If the I2C client device is enumerated from ACPI namespace it might have
ACPI methods that needs to be called in order to transition the device to
different power states (such as _PSx).

Implement this for I2C client devices by checking if the device has an ACPI
handle and if that's the case, attach it to the ACPI power domain. In
addition we make sure that the device is fully powered when its ->probe()
function gets called.

For non-ACPI devices this patch is a no-op.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-10-11 02:23:14 +02:00
..
algos
busses i2c: ismt: initialize DMA buffer 2013-09-28 16:32:12 +02:00
muxes i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-boardinfo.c
i2c-core.c i2c: attach/detach I2C client device to the ACPI power domain 2013-10-11 02:23:14 +02:00
i2c-core.h
i2c-dev.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
i2c-mux.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-smbus.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-stub.c
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile