summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-imx53.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-04-22 12:48:42 +0800
committerShawn Guo <shawn.guo@linaro.org>2013-06-17 16:04:15 +0800
commit59d5c0ce8a790475b22a18a94386bc2b3dd1aa31 (patch)
tree508d43cf289db47c11286831c70e7fd02b9d69b9 /arch/arm/mach-imx/mach-imx53.c
parent950504973d0122e61364fa381e8424bde1183ff4 (diff)
downloadop-kernel-dev-59d5c0ce8a790475b22a18a94386bc2b3dd1aa31.zip
op-kernel-dev-59d5c0ce8a790475b22a18a94386bc2b3dd1aa31.tar.gz
ARM: imx: move imx53-qsb audio codec clk lookup into DT
With device tree clk lookup support in place, we can move audio codec clk lookup for ssi_ext1 into device tree now, so that imx53_qsb_init() can be saved. Since ssi_ext2 lookup is used nowhere, it gets removed together with ssi_ext1 lookup from clk driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx53.c')
-rw-r--r--arch/arm/mach-imx/mach-imx53.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c
index 74e7b94..98c5894 100644
--- a/arch/arm/mach-imx/mach-imx53.c
+++ b/arch/arm/mach-imx/mach-imx53.c
@@ -24,26 +24,10 @@
#include "hardware.h"
#include "mx53.h"
-static void __init imx53_qsb_init(void)
-{
- struct clk *clk;
-
- clk = clk_get_sys(NULL, "ssi_ext1");
- if (IS_ERR(clk)) {
- pr_err("failed to get clk ssi_ext1\n");
- return;
- }
-
- clk_register_clkdev(clk, NULL, "0-000a");
-}
-
static void __init imx53_dt_init(void)
{
mxc_arch_reset_init_dt();
- if (of_machine_is_compatible("fsl,imx53-qsb"))
- imx53_qsb_init();
-
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
OpenPOWER on IntegriCloud