The imx5 common clock migration causes a regression with smsc911x
driver on imx53-ard board, where a smsc lan9220 controller gets
connected on imx53 with EIM interface. EIM needs clock emi_slow_gate
to be functional. In the new imx5 clock driver, there is no use count
incremented for the clock by enabling it, so the framework closes the
clock at late init time and makes EIM stop working then.
Enable emi_slow_gate in clock driver initialization to fix the
regression.
Cc: stable at vger.kernel.org
Signed-off-by: Shawn Guo <redacted>
---
arch/arm/mach-imx/clk-imx51-imx53.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Since commit c7e963f (net/smsc911x: Add regulator support), the lan9220
device tree probe fails on imx53-ard board, because the commit makes
VDD33A and VDDVARIO supplies mandatory for the driver.
Add a fixed dummy 3V3 supplying lan9220 to fix the regression.
Cc: stable at vger.kernel.org
Signed-off-by: Shawn Guo <redacted>
---
arch/arm/boot/dts/imx53-ard.dts | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
On Thu, Aug 02, 2012 at 11:01:51PM +0800, Shawn Guo wrote:
The imx5 common clock migration causes a regression with smsc911x
driver on imx53-ard board, where a smsc lan9220 controller gets
connected on imx53 with EIM interface. EIM needs clock emi_slow_gate
to be functional. In the new imx5 clock driver, there is no use count
incremented for the clock by enabling it, so the framework closes the
clock at late init time and makes EIM stop working then.
Enable emi_slow_gate in clock driver initialization to fix the
regression.
Can we add a comment that emi_slow_gate is needed for the EIM interface?
It's not obvious from the datasheet and this information might help
people who want to clean up the now unconditionally enabled clocks.
Otherwise:
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha
On Fri, Aug 03, 2012 at 04:11:08PM +0200, Sascha Hauer wrote:
Can we add a comment that emi_slow_gate is needed for the EIM interface?
It's not obvious from the datasheet and this information might help
people who want to clean up the now unconditionally enabled clocks.