Should we pass amba device peripheral id with device structure or not?
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon May 24 18:32:02 EDT 2010
On Tue, May 25, 2010 at 12:17:02AM +0200, Linus Walleij wrote:
> We'd have to add a proper bus clock to all PrimeCells to have this in
> some sane state I believe.
That's basically what I'm saying. At the bus/driver level, we need to
deal with the bus clock dependency separately from the peripheral clock
if the bus clock can be shut off.
I had originally anticipated that all primecells on a bus would have
their bus clock fed from a common unmaskable source, and that shutting
off the bus clock to the primecell would be a very bad thing to happen
to the bus - but it seems that it's permitted after all.
This will be trivial to deal with for clkdev-based platforms... The
non-clkdev are an entirely separate proposition - but I don't think we
have any primecell-using platforms which don't use clkdev.
More information about the linux-arm-kernel