[PATCH] clk: mvebu: Do not gate ge0/1 and runit clocks on Kirkwood
Jason Cooper
jason at lakedaemon.net
Sun Jan 27 11:41:20 EST 2013
On Sun, Jan 27, 2013 at 04:41:04PM +0100, Thomas Petazzoni wrote:
> Dear Andrew Lunn,
>
> On Sun, 27 Jan 2013 16:28:37 +0100, Andrew Lunn wrote:
>
> > I've been thinking the same, store the MAC address before turning the
> > clock off and restore it when enabling the clock. We have a need for
> > special clocks on kirkwood anyway for turning off the sata and pcie
> > PHYs. So adding special clocks for ethernet is not too big a deal.
>
> At least on Armada 370/XP, U-Boot passes the MAC address through a
> special ATAG. Willy Tarreau has written some code to read this special
> ATAG and feed it into the Device Tree, so that we get the MAC address
> as set by U-Boot. I unfortunately haven't had the time to look at
> Willy's code and push it, but it does seem like an interesting solution.
Does this add on to ARM_ATAG_DTB_COMPAT [1]? Perhaps APPENDED_DTB
should select it?
Maybe the answer is as simple as having the driver pull the mac address
from the dtb while ARM_ATAG_DTB_COMPAT is configured.
thx,
Jason.
[1] arch/arm/Kconfig:1970
More information about the linux-arm-kernel
mailing list