Re: [PATCH v14 8/9] HISI LPC: Add ACPI support

From: Andy Shevchenko
Date: Tue Feb 20 2018 - 09:52:55 EST


On Mon, Feb 19, 2018 at 7:48 PM, John Garry <john.garry@xxxxxxxxxx> wrote:
> Based on the previous patches, this patch supports the
> LPC host on hip06/hip07 for ACPI FW.
>
> It is the responsibility of the LPC host driver to
> enumerate the child devices, as the ACPI scan code will
> not enumerate children of "indirect IO" hosts.

> if (!acpi_device)
> ret = of_platform_populate(dev->of_node, NULL, NULL, dev);
> + else
> + ret = hisi_lpc_acpi_probe(dev);
> if (ret) {
> dev_err(dev, "populate children failed (%d)\n", ret);
> return ret;

Ah, please, ignore one comment to previous patch.

--
With Best Regards,
Andy Shevchenko