]> git.karo-electronics.de Git - linux-beck.git/commit
arm: omap4: pandaboard: turn on PHY reference clock at init
authorAnand Gadiyar <gadiyar@ti.com>
Mon, 10 Jan 2011 14:42:15 +0000 (14:42 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Jan 2011 19:13:46 +0000 (11:13 -0800)
commit1740d483ba4d79f9fa6984dccd7152b6b208f1bf
tree83fe9290a4f231971da768351cced67e34e3e93b
parent56a6a19dffda6b75cef8d4183c7c6ff650025cbd
arm: omap4: pandaboard: turn on PHY reference clock at init

The SMSC 3320 USB PHY on the OMAP4 Pandaboard needs a 19.2 MHz
reference clock. This clock is provided from the OMAP4's fref_clk3
pad.

Recent changes to clock44xx_data.c made the clock framework aware
of the existence of these fref_clk[i] lines. If the option
CONFIG_OMAP_RESET_CLOCKS is enabled in the kernel, then the
clock framework will turn these clocks off during bootup.

Explicitly request and keep this clock enabled at init for the
Pandaboard, so that the PHY receives this clock at all times.

Reported-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap4panda.c