mxs: enable phy-clock in the driver?

Shawn Guo shawn.guo at linaro.org
Sun Jan 8 20:34:06 EST 2012


On Sun, Jan 08, 2012 at 03:45:58PM +0100, Wolfram Sang wrote:
> Hi Shawn,
> 
> I recently noticed that my tx28 board did not have net when booting from NAND
> (before that, barebox was setting up the network). Adding lines like these from
> mx28evk helped:
> 
> 228         /* Enable fec phy clock */
> 229         clk = clk_get_sys("pll2", NULL);
> 230         if (!IS_ERR(clk))
> 231                 clk_enable(clk);
> 
> So, if every board seems to need this, I'd think this should rather be in the
> driver? Am I correct or is there something I have overlooked?
> 
Hmm, as far as I know, at least m28evk from denx does not need this.
Different from that imx28 supplies clock to phy on mx28evk board,
m28evk has phy supply clock to imx28. 

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list