]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: clk-imx35: Bugfix iomux clock
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 29 Mar 2013 15:20:09 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 19:51:11 +0000 (12:51 -0700)
commit0234185d8e7157d2f5eb884cdc1b3a00e95ba759
treef92f985368a6d6e68af8ce3fb94a9be754e80e05
parent1ed8d46cfb1af390003553d504d6ad38be31a443
ARM: clk-imx35: Bugfix iomux clock

commit cab1e0a36c9dd0b0671fb84197ed294513f5adc1 upstream.

This patch enables iomuxc_gate clock. It is necessary to be able to
reconfigure iomux pads. Without this clock enabled, the
clk_disable_unused function will disable this clock and the iomux pads
are not configurable anymore. This happens at every boot. After a reboot
(watchdog system reset) the clock is not enabled again, so all iomux pad
reconfigurations in boot code are without effect.

The iomux pads should be always configurable, so this patch always
enables it.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Lingzhu Xiang <lxiang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-imx/clk-imx35.c