linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* mxs: enable phy-clock in the driver?
@ 2012-01-08 14:45 Wolfram Sang
  2012-01-09  1:34 ` Shawn Guo
  2012-01-11 10:59 ` Marek Vasut
  0 siblings, 2 replies; 8+ messages in thread
From: Wolfram Sang @ 2012-01-08 14:45 UTC (permalink / raw)
  To: linux-arm-kernel

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?

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120108/33bc4499/attachment.sig>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-11 10:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-08 14:45 mxs: enable phy-clock in the driver? Wolfram Sang
2012-01-09  1:34 ` Shawn Guo
2012-01-09  6:40   ` Lothar Waßmann
2012-01-09  6:58     ` Shawn Guo
2012-01-09  7:05       ` Lothar Waßmann
2012-01-09  7:21         ` Shawn Guo
2012-01-09  7:17           ` Lothar Waßmann
2012-01-11 10:59 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).