[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110521234725.GB17672@n2100.arm.linux.org.uk>
Date: Sun, 22 May 2011 00:47:25 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: Stephen Neuendorffer <stephen.neuendorffer@...inx.com>,
Kevin Hilman <khilman@...com>,
Segher Boessenkool <segher@...nel.crashing.org>,
Arnd Bergmann <arnd@...db.de>,
devicetree-discuss@...ts.ozlabs.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Jeremy Kerr <jeremy.kerr@...onical.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/2] drivers/amba: probe via device tree
On Sat, May 21, 2011 at 11:42:34AM -0600, Grant Likely wrote:
> Russell, it seems to me that the primary behaviour that amba_bus has
> over platform_bus is the clock management, and secondarily
> verification of the type of device by the device id. Am I correct, or
> am I missing something?
It matches by vendor/device ID just like PCI does, and does the bus
clock management and power management in a really nice way, which I
doubt platform devices will ever do.
The way this discussion is going, I'm going to suggest that we also
convert PCI stuff to being platform devices too. I don't see the
point of PCI existing for all the same reasons being given in this
thread.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists