summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clock-imx25.c
diff options
context:
space:
mode:
authorShawn Guo2011-07-01 12:11:22 +0200
committerShawn Guo2011-07-27 03:30:50 +0200
commit0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc (patch)
treed66e2af8bd869ed6be022419354d2e6def93adc5 /arch/arm/mach-imx/clock-imx25.c
parentserial/imx: add device tree probe support (diff)
downloadkernel-qcow2-linux-0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc.tar.gz
kernel-qcow2-linux-0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc.tar.xz
kernel-qcow2-linux-0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc.zip
net/fec: gasket needs to be enabled for some i.mx
On the recent i.mx (mx25/50/53), there is a gasket inside fec controller which needs to be enabled no matter phy works in MII or RMII mode. The current code enables the gasket only when phy interface is RMII. It's broken when the driver works with a MII phy. The patch uses platform_device_id to distinguish the SoCs that have the gasket and enables it on these SoCs for both MII and RMII mode. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reported-by: Troy Kisky <troy.kisky@boundarydevices.com> Cc: David S. Miller <davem@davemloft.net> Cc: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-imx/clock-imx25.c')
-rw-r--r--arch/arm/mach-imx/clock-imx25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clock-imx25.c b/arch/arm/mach-imx/clock-imx25.c
index 006b30e4b4e7..13d61f34bd34 100644
--- a/arch/arm/mach-imx/clock-imx25.c
+++ b/arch/arm/mach-imx/clock-imx25.c
@@ -296,7 +296,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk)
_REGISTER_CLOCK("imx-i2c.1", NULL, i2c_clk)
_REGISTER_CLOCK("imx-i2c.2", NULL, i2c_clk)
- _REGISTER_CLOCK("fec.0", NULL, fec_clk)
+ _REGISTER_CLOCK("imx25-fec.0", NULL, fec_clk)
_REGISTER_CLOCK("imxdi_rtc.0", NULL, dryice_clk)
_REGISTER_CLOCK("imx-fb.0", NULL, lcdc_clk)
_REGISTER_CLOCK("imx2-wdt.0", NULL, wdt_clk)