arm: mvebu: Various mvebu clock fixes/improvements

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 20 05:06:36 EST 2012


Dear Andrew Lunn,

On Tue, 20 Nov 2012 10:43:45 +0100, Andrew Lunn wrote:

> > Unfortunately, I don't think putting patch 1 last will work either: in
> > patch 7, I change the SATA clocks to point to the gating clocks. So if
> > patch 1 is not there, those clocks do not exist and the driver fails to
> > clk_get() those clocks.
> 
> I don't think that is fatal. Orion5x does not have those clocks. The
> PCI version of the SATA devices also does not have those clocks.

Hum, I will check this. But I think that the point that lead me to look
into the clocks is that when I added:

	clocks = <&gate_clk xx>;

to my Ethernet DT nodes, then clk_get() was returning an error, until I
enabled the gating clocks. But I'll double check that.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list