[PATCH 1/2] drivers: PL061: add support for platform driver probing
Linus Walleij
linus.walleij at linaro.org
Mon Aug 3 05:40:07 PDT 2015
On Mon, Aug 3, 2015 at 8:59 AM, Shannon Zhao <zhaoshenglong at huawei.com> wrote:
> From: Shannon Zhao <shannon.zhao at linaro.org>
>
> Since PL061 currently only supports AMBA driver, to support using GPIO
> PL061 by DT or ACPI, it needs to add support for platform driver.
> A DT binding is provided with this patch, ACPI support is added in a
> separate one.
>
> Signed-off-by: Shannon Zhao <zhaoshenglong at huawei.com>
> Signed-off-by: Shannon Zhao <shannon.zhao at linaro.org>
I already stated in 0/2 what the problem is with this, and it's obviously adding
a huge codechunk, very similar to the AMBA probe path.
We need to investigate if ACPI can just spawn AMBA/PrimeCell type devices
instead.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list