aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/cpu/sh4a/clock-sh7366.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7366.c b/arch/sh/kernel/cpu/sh4a/clock-sh7366.c
index bddfe013b3ae..092abfe8b482 100644
--- a/arch/sh/kernel/cpu/sh4a/clock-sh7366.c
+++ b/arch/sh/kernel/cpu/sh4a/clock-sh7366.c
@@ -194,6 +194,7 @@ static struct clk mstp_clks[MSTP_NR] = {
194 194
195#define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk } 195#define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk }
196#define CLKDEV_DEV_ID(_id, _clk) { .dev_id = _id, .clk = _clk } 196#define CLKDEV_DEV_ID(_id, _clk) { .dev_id = _id, .clk = _clk }
197#define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk }
197 198
198static struct clk_lookup lookups[] = { 199static struct clk_lookup lookups[] = {
199 /* main clocks */ 200 /* main clocks */
@@ -232,22 +233,11 @@ static struct clk_lookup lookups[] = {
232 CLKDEV_CON_ID("rwdt0", &mstp_clks[MSTP013]), 233 CLKDEV_CON_ID("rwdt0", &mstp_clks[MSTP013]),
233 CLKDEV_CON_ID("mfi0", &mstp_clks[MSTP011]), 234 CLKDEV_CON_ID("mfi0", &mstp_clks[MSTP011]),
234 CLKDEV_CON_ID("flctl0", &mstp_clks[MSTP010]), 235 CLKDEV_CON_ID("flctl0", &mstp_clks[MSTP010]),
235 { 236
236 /* SCIF0 */ 237 CLKDEV_ICK_ID("sci_fck", "sh-sci.0", &mstp_clks[MSTP007]),
237 .dev_id = "sh-sci.0", 238 CLKDEV_ICK_ID("sci_fck", "sh-sci.1", &mstp_clks[MSTP006]),
238 .con_id = "sci_fck", 239 CLKDEV_ICK_ID("sci_fck", "sh-sci.2", &mstp_clks[MSTP005]),
239 .clk = &mstp_clks[MSTP007], 240
240 }, {
241 /* SCIF1 */
242 .dev_id = "sh-sci.1",
243 .con_id = "sci_fck",
244 .clk = &mstp_clks[MSTP006],
245 }, {
246 /* SCIF2 */
247 .dev_id = "sh-sci.2",
248 .con_id = "sci_fck",
249 .clk = &mstp_clks[MSTP005],
250 },
251 CLKDEV_CON_ID("msiof0", &mstp_clks[MSTP002]), 241 CLKDEV_CON_ID("msiof0", &mstp_clks[MSTP002]),
252 CLKDEV_CON_ID("sbr0", &mstp_clks[MSTP001]), 242 CLKDEV_CON_ID("sbr0", &mstp_clks[MSTP001]),
253 CLKDEV_DEV_ID("i2c-sh_mobile.0", &mstp_clks[MSTP109]), 243 CLKDEV_DEV_ID("i2c-sh_mobile.0", &mstp_clks[MSTP109]),