diff options
author | John Garry <john.garry@huawei.com> | 2018-05-08 18:27:31 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2018-05-10 17:35:46 +0100 |
commit | 99c0228d6ff1fabdd56fa78c2283b5b155fa8664 (patch) | |
tree | 89295aee7e5b9067a63a8d6bf3e519edd5d521a3 /virt | |
parent | 332f632ec3d1dccdb89fadd5ce0850f02e14824d (diff) | |
download | linux-99c0228d6ff1fabdd56fa78c2283b5b155fa8664.tar.bz2 |
HISI LPC: Re-Add ACPI child enumeration support
Since we no longer use the MFD APIs to enumerate the
child devices on the bus, use the platform driver APIs
directly.
In this patch we iterate of the children devices for the
host, and create a platform device directly per child.
For the iterating, we match the child ACPI HID against a
known list of supported child devices and their respective
ACPIs HID, to find the device name and any other
supplementary data.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions