summaryrefslogtreecommitdiff
path: root/drivers/mfd/rohm-bd71828.c
diff options
context:
space:
mode:
authorMichael Brunner <Michael.Brunner@kontron.com>2020-08-20 18:39:14 +0300
committerLee Jones <lee.jones@linaro.org>2020-09-30 19:46:27 +0300
commite8299c7313af857254bc4304bc37482e9b952481 (patch)
tree7a8cdd23832ea13568062230d999606beeb96098 /drivers/mfd/rohm-bd71828.c
parent876611c493b10cbb59e0e2143d3e744d0442de63 (diff)
downloadlinux-e8299c7313af857254bc4304bc37482e9b952481.tar.xz
mfd: Add ACPI support to Kontron PLD driver
Recent Kontron COMe modules identify the PLD device using the hardware id KEM0001 in the ACPI table. This patch adds support for probing the device using the HID and also retrieving the resources. As this is not available for all products, the DMI based detection still needs to be around for older systems. It is executed if no matching ACPI HID is found during registering the platform driver or no specific device id is forced. If a device is detected using ACPI and no resource information is available, the default io resource is used. Forcing a device id with the force_device_id parameter and therefore manually generating a platform device takes precedence over ACPI during probing. Signed-off-by: Michael Brunner <michael.brunner@kontron.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rohm-bd71828.c')
0 files changed, 0 insertions, 0 deletions