Thread (17 messages) 17 messages, 5 authors, 2015-08-13
STALE3973d
Revisions (3)
  1. v1 [diff vs current]
  2. v1 current
  3. v1 [diff vs current]

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

From: Russell King - ARM Linux <hidden>
Date: 2015-08-03 09:49:23

On Mon, Aug 03, 2015 at 05:26:05PM +0800, Shannon Zhao wrote:
Hi Russell,

On 2015/8/3 15:58, Russell King - ARM Linux wrote:
quoted
On Mon, Aug 03, 2015 at 02:59:56PM +0800, Shannon Zhao wrote:
quoted
From: Shannon Zhao <redacted>

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.
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?

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help