diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2014-09-16 13:52:36 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 09:24:05 +0200 |
commit | 6ab3430129e258ea31dd214adf1c760dfafde67a (patch) | |
tree | ff8b82f6039f2d7b2761da82ab5ca5ac37f27114 /drivers/mfd/mc13xxx-i2c.c | |
parent | Revert "mfd: wm5102: Manually apply register patch" (diff) | |
download | linux-6ab3430129e258ea31dd214adf1c760dfafde67a.tar.xz linux-6ab3430129e258ea31dd214adf1c760dfafde67a.zip |
mfd: Add ACPI support
If an MFD device is backed by ACPI namespace, we should allow subdevice
drivers to access their corresponding ACPI companion devices through normal
means (e.g using ACPI_COMPANION()).
This patch adds such support to the MFD core. If the MFD parent device
does not specify any ACPI _HID/_CID for the child device, the child
device will share the parent ACPI companion device. Otherwise the child
device will be assigned with the corresponding ACPI companion, if found
in the namespace below the parent.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mc13xxx-i2c.c')
0 files changed, 0 insertions, 0 deletions