Skip to content

drivers: PL061: Add platform driver probing support

Russell King - ARM Linux linux-acpi linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers: PL061: add support for platform driver probing+0 -00 replies

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
Quoted 13 lines · Shannon Zhao

Hi Russell,

Quoted 10 lines · Russell King - ARM Linux
Quoted 8 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.

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

Quoted 8 lines
Quoted 3 lines

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

Maybe rather than having every AMBA driver also converted to a platform driver (which GregKH hates) maybe ACPI should support the AMBA bus instead?

Greg?

Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.