diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-11 03:05:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-13 04:34:17 -0400 |
commit | a3e9f2b72fbcb7c4266f4b7ef1814bb8806c1fac (patch) | |
tree | 418aa1277942dd813c1628b3b1fc905eb7082f71 | |
parent | d40db0c4a63c3af44fd31a7c47cc4a11a44befc7 (diff) |
sh: sh7722 div4 clkdev lookup
Add sh7722 DIV4 clocks to the clkdev lookup list.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c index 2798ceaa648f..6ad3bc22933f 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c | |||
@@ -186,6 +186,17 @@ static struct clk mstp_clks[HWBLK_NR] = { | |||
186 | #define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk } | 186 | #define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk } |
187 | 187 | ||
188 | static struct clk_lookup lookups[] = { | 188 | static struct clk_lookup lookups[] = { |
189 | /* DIV4 clocks */ | ||
190 | CLKDEV_CON_ID("cpu_clk", &div4_clks[DIV4_I]), | ||
191 | CLKDEV_CON_ID("umem_clk", &div4_clks[DIV4_U]), | ||
192 | CLKDEV_CON_ID("shyway_clk", &div4_clks[DIV4_SH]), | ||
193 | CLKDEV_CON_ID("bus_clk", &div4_clks[DIV4_B]), | ||
194 | CLKDEV_CON_ID("b3_clk", &div4_clks[DIV4_B3]), | ||
195 | CLKDEV_CON_ID("peripheral_clk", &div4_clks[DIV4_P]), | ||
196 | CLKDEV_CON_ID("irda_clk", &div4_enable_clks[DIV4_IRDA]), | ||
197 | CLKDEV_CON_ID("siua_clk", &div4_reparent_clks[DIV4_SIUA]), | ||
198 | CLKDEV_CON_ID("siub_clk", &div4_reparent_clks[DIV4_SIUB]), | ||
199 | |||
189 | /* DIV6 clocks */ | 200 | /* DIV6 clocks */ |
190 | CLKDEV_CON_ID("video_clk", &div6_clks[DIV6_V]), | 201 | CLKDEV_CON_ID("video_clk", &div6_clks[DIV6_V]), |
191 | 202 | ||