Thread (1 message) 1 message, 1 author, 2012-02-28

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

From: Jason <hidden>
Date: 2012-02-28 15:06:03
Also in: linux-arm-kernel

On Tue, Feb 28, 2012 at 10:04:14AM +0000, Arnd Bergmann wrote:
On Tuesday 28 February 2012, Andrew Lunn wrote:
quoted
I think this code belongs on the board-dts.c file. kirkwood_clk_ctrl
is a global so can be set from anywhere. It is also set in other files
than common.c, eg pcie.c.
Ok, that makes sense.
Yes, my goal is to eventually eliminate common.c, pcie.c, etc.  If we do
it right, kirkwood_clock_gate() won't be necessary.
quoted
In the end, i hope this all goes away. I have patches based on Mike's
generic clk infrastructure, which adds clk/clkdev to all orion based
machines. So the SPI driver, in its probe function will get its clock,
enable it, and also find out the speed of it. The release function
also disables the clock, turning it off if nobody else is using it. 

I just hope the generic clk does not take too long to land.
Excellent, that will of course be the best solution in the long run.
Agreed.

thx,

Jason.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help