Skip to content

drivers: PL061: Add platform driver probing support

Shannon Zhao linux-acpi linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] drivers: PL061: Add platform driver probing support

Hi Russell,

Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Shannon Zhao

From: Shannon Zhao <[email protected]>

According to ACPI SPEC, it supports ARM boards to use "GPIO-signaled ACPI Events". These events can be used for input events. And to QEMU, it uses GPIO PL061 controller for input events.

Quoted 6 lines
Quoted 2 lines

These two patches add platform driver support for PL061 probed by DT or ACPI.

This certainly is incorrect for DT, and is probably wrong for ACPI too. DT creates amba devices, so binds via the amba device driver.

Oh, sorry. The changes for DT are not necessary. But for ACPI I think it needs to convert pl061 to platform device since ACPI doesn't support AMBA devices. The Pl011 also does the same thing to support ACPI probing. See drivers/tty/serial/amba-pl011.c

Thanks,

Signature · 1 line
Shannon