diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-03-27 13:30:36 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-09 10:52:55 -0400 |
commit | 4438a6a1cc7401aa8b6dc7f871812bcb39c4e7a9 (patch) | |
tree | 5cb9b2631a319885e1a0d4056201e82f7e81d3de | |
parent | 00ba2459f6d5f9caee01cf5628df553ace50cbcd (diff) |
ARM i.MX5: Move IPU clock lookups into device tree
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/imx51.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/clk-imx51-imx53.c | 7 |
3 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 32b85a836fb5..76d84a4b8508 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi | |||
@@ -68,6 +68,8 @@ | |||
68 | compatible = "fsl,imx51-ipu"; | 68 | compatible = "fsl,imx51-ipu"; |
69 | reg = <0x40000000 0x20000000>; | 69 | reg = <0x40000000 0x20000000>; |
70 | interrupts = <11 10>; | 70 | interrupts = <11 10>; |
71 | clocks = <&clks 59>, <&clks 110>, <&clks 61>; | ||
72 | clock-names = "bus", "di0", "di1"; | ||
71 | }; | 73 | }; |
72 | 74 | ||
73 | aips@70000000 { /* AIPS1 */ | 75 | aips@70000000 { /* AIPS1 */ |
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 6c73bee96ce0..07f656ee31f0 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi | |||
@@ -73,6 +73,8 @@ | |||
73 | compatible = "fsl,imx53-ipu"; | 73 | compatible = "fsl,imx53-ipu"; |
74 | reg = <0x18000000 0x080000000>; | 74 | reg = <0x18000000 0x080000000>; |
75 | interrupts = <11 10>; | 75 | interrupts = <11 10>; |
76 | clocks = <&clks 59>, <&clks 110>, <&clks 61>; | ||
77 | clock-names = "bus", "di0", "di1"; | ||
76 | }; | 78 | }; |
77 | 79 | ||
78 | aips@50000000 { /* AIPS1 */ | 80 | aips@50000000 { /* AIPS1 */ |
diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index 0f39f8c93b94..d22ee6af3a77 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c | |||
@@ -362,9 +362,6 @@ int __init mx51_clocks_init(unsigned long rate_ckil, unsigned long rate_osc, | |||
362 | clk_register_clkdev(clk[mx51_mipi], "mipi_hsp", NULL); | 362 | clk_register_clkdev(clk[mx51_mipi], "mipi_hsp", NULL); |
363 | clk_register_clkdev(clk[vpu_gate], NULL, "imx51-vpu.0"); | 363 | clk_register_clkdev(clk[vpu_gate], NULL, "imx51-vpu.0"); |
364 | clk_register_clkdev(clk[fec_gate], NULL, "imx27-fec.0"); | 364 | clk_register_clkdev(clk[fec_gate], NULL, "imx27-fec.0"); |
365 | clk_register_clkdev(clk[ipu_gate], "bus", "40000000.ipu"); | ||
366 | clk_register_clkdev(clk[ipu_di0_gate], "di0", "40000000.ipu"); | ||
367 | clk_register_clkdev(clk[ipu_di1_gate], "di1", "40000000.ipu"); | ||
368 | clk_register_clkdev(clk[usb_phy_gate], "phy", "mxc-ehci.0"); | 365 | clk_register_clkdev(clk[usb_phy_gate], "phy", "mxc-ehci.0"); |
369 | clk_register_clkdev(clk[esdhc1_ipg_gate], "ipg", "sdhci-esdhc-imx51.0"); | 366 | clk_register_clkdev(clk[esdhc1_ipg_gate], "ipg", "sdhci-esdhc-imx51.0"); |
370 | clk_register_clkdev(clk[dummy], "ahb", "sdhci-esdhc-imx51.0"); | 367 | clk_register_clkdev(clk[dummy], "ahb", "sdhci-esdhc-imx51.0"); |
@@ -471,10 +468,6 @@ int __init mx53_clocks_init(unsigned long rate_ckil, unsigned long rate_osc, | |||
471 | clk_register_clkdev(clk[vpu_gate], NULL, "imx53-vpu.0"); | 468 | clk_register_clkdev(clk[vpu_gate], NULL, "imx53-vpu.0"); |
472 | clk_register_clkdev(clk[i2c3_gate], NULL, "imx21-i2c.2"); | 469 | clk_register_clkdev(clk[i2c3_gate], NULL, "imx21-i2c.2"); |
473 | clk_register_clkdev(clk[fec_gate], NULL, "imx25-fec.0"); | 470 | clk_register_clkdev(clk[fec_gate], NULL, "imx25-fec.0"); |
474 | clk_register_clkdev(clk[ipu_gate], "bus", "18000000.ipu"); | ||
475 | clk_register_clkdev(clk[ipu_di0_gate], "di0", "18000000.ipu"); | ||
476 | clk_register_clkdev(clk[ipu_di1_gate], "di1", "18000000.ipu"); | ||
477 | clk_register_clkdev(clk[ipu_gate], "hsp", "18000000.ipu"); | ||
478 | clk_register_clkdev(clk[usb_phy1_gate], "usb_phy1", "mxc-ehci.0"); | 471 | clk_register_clkdev(clk[usb_phy1_gate], "usb_phy1", "mxc-ehci.0"); |
479 | clk_register_clkdev(clk[esdhc1_ipg_gate], "ipg", "sdhci-esdhc-imx53.0"); | 472 | clk_register_clkdev(clk[esdhc1_ipg_gate], "ipg", "sdhci-esdhc-imx53.0"); |
480 | clk_register_clkdev(clk[dummy], "ahb", "sdhci-esdhc-imx53.0"); | 473 | clk_register_clkdev(clk[dummy], "ahb", "sdhci-esdhc-imx53.0"); |