diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-02-07 22:54:03 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-05-12 23:26:46 +0200 |
commit | a1c0a6adbc705a9a760416796ce9cb3349fd476f (patch) | |
tree | 9921f417efd5f6670c606cd1c1352739cc2e06f5 /arch/arm/mach-pxa/pxa320.c | |
parent | ARM: pxa: convert eseries to clock framework (diff) | |
download | linux-a1c0a6adbc705a9a760416796ce9cb3349fd476f.tar.xz linux-a1c0a6adbc705a9a760416796ce9cb3349fd476f.zip |
ARM: pxa: Transition pxa25x, pxa27x, pxa3xx to clk framework
Transition the PXA25x, PXA27x and PXA3xx CPUs to the clock framework.
This transition still enables legacy platforms to run without device
tree as before, ie relying on platform data encoded in board specific
files.
This is the last step of clock framework transition for pxa
platforms. It was tested on lubbock (pxa25x), mioa701 (pxa27x) and
zylonite (pxa3xx).
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/pxa320.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa320.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-pxa/pxa320.c b/arch/arm/mach-pxa/pxa320.c index 6dc99d4f2dc6..2f55bb4b9087 100644 --- a/arch/arm/mach-pxa/pxa320.c +++ b/arch/arm/mach-pxa/pxa320.c @@ -22,7 +22,6 @@ #include "generic.h" #include "devices.h" -#include "clock.h" static struct mfp_addr_map pxa320_mfp_addr_map[] __initdata = { @@ -78,20 +77,11 @@ static struct mfp_addr_map pxa320_mfp_addr_map[] __initdata = { MFP_ADDR_END, }; -static DEFINE_PXA3_CKEN(pxa320_nand, NAND, 104000000, 0); -static DEFINE_PXA3_CKEN(gcu, PXA320_GCU, 0, 0); - -static struct clk_lookup pxa320_clkregs[] = { - INIT_CLKREG(&clk_pxa320_nand, "pxa3xx-nand", NULL), - INIT_CLKREG(&clk_gcu, "pxa3xx-gcu", NULL), -}; - static int __init pxa320_init(void) { if (cpu_is_pxa320()) { mfp_init_base(io_p2v(MFPR_BASE)); mfp_init_addr(pxa320_mfp_addr_map); - clkdev_add_table(ARRAY_AND_SIZE(pxa320_clkregs)); } return 0; |