drivers: PL061: Add platform driver probing support
Get series with b4
b4 am [email protected]Versions newest first
- 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.
Cover letter [PATCH 0/2] drivers: PL061: Add platform driver probing support
Quoted 23 lines · Russell King - ARM Linux
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
Quoted 5 lines
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?
The ACPI developers have been doing work to allow a driver to handle getting the resources from either DT or ACPI no matter what bus it is on, so converting anything to a platform driver shouldn't be needed.
but I don't really know the details here, and this isn't being sent to the ACPI mailing list, so I don't know what to suggest...
greg k-h