diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-07-17 06:20:11 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:37 -0400 |
commit | d7f1a9adc0e34ad4aa4fe246b264add4646ae064 (patch) | |
tree | dd45d292fbc220402c361df9ae1aa0c88c868196 /arch | |
parent | 8fa509ab915f668093c270151f884220232bfb25 (diff) |
sh: Use clk_always_enable() on sh7366
Use clk_always_enable() in the sh7366 processor code.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 7ee01757f3fe..6851dba02f31 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/serial.h> | 14 | #include <linux/serial.h> |
15 | #include <linux/serial_sci.h> | 15 | #include <linux/serial_sci.h> |
16 | #include <linux/uio_driver.h> | 16 | #include <linux/uio_driver.h> |
17 | #include <asm/clock.h> | ||
17 | 18 | ||
18 | static struct resource iic_resources[] = { | 19 | static struct resource iic_resources[] = { |
19 | [0] = { | 20 | [0] = { |
@@ -148,9 +149,23 @@ static struct platform_device *sh7366_devices[] __initdata = { | |||
148 | 149 | ||
149 | static int __init sh7366_devices_setup(void) | 150 | static int __init sh7366_devices_setup(void) |
150 | { | 151 | { |
152 | clk_always_enable("mstp031"); /* TLB */ | ||
153 | clk_always_enable("mstp030"); /* IC */ | ||
154 | clk_always_enable("mstp029"); /* OC */ | ||
155 | clk_always_enable("mstp028"); /* RSMEM */ | ||
156 | clk_always_enable("mstp026"); /* XYMEM */ | ||
157 | clk_always_enable("mstp023"); /* INTC3 */ | ||
158 | clk_always_enable("mstp022"); /* INTC */ | ||
159 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
160 | clk_always_enable("mstp109"); /* I2C */ | ||
161 | clk_always_enable("mstp207"); /* VEU-2 */ | ||
162 | clk_always_enable("mstp202"); /* VEU-1 */ | ||
163 | clk_always_enable("mstp201"); /* VPU */ | ||
164 | |||
151 | platform_resource_setup_memory(&vpu_device, "vpu", 2 << 20); | 165 | platform_resource_setup_memory(&vpu_device, "vpu", 2 << 20); |
152 | platform_resource_setup_memory(&veu0_device, "veu0", 2 << 20); | 166 | platform_resource_setup_memory(&veu0_device, "veu0", 2 << 20); |
153 | platform_resource_setup_memory(&veu1_device, "veu1", 2 << 20); | 167 | platform_resource_setup_memory(&veu1_device, "veu1", 2 << 20); |
168 | |||
154 | return platform_add_devices(sh7366_devices, | 169 | return platform_add_devices(sh7366_devices, |
155 | ARRAY_SIZE(sh7366_devices)); | 170 | ARRAY_SIZE(sh7366_devices)); |
156 | } | 171 | } |