diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-10 21:47:16 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-11 02:56:32 -0500 |
commit | 665ccfa0904cc0a05aa882d193f9506081824d7c (patch) | |
tree | b21381f3b54e5f43fb5eb45e7ed1fc06a7d4c7ac /arch/arm/mach-shmobile/clock-r8a7740.c | |
parent | e609b7cb7ab18cf75d4bdd931a33e3caed6cd9e2 (diff) |
ARM: mach-shmobile: bonito: Add LCDC0 support
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-r8a7740.c')
-rw-r--r-- | arch/arm/mach-shmobile/clock-r8a7740.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c index 5bb02f224077..3b35b9afc001 100644 --- a/arch/arm/mach-shmobile/clock-r8a7740.c +++ b/arch/arm/mach-shmobile/clock-r8a7740.c | |||
@@ -251,7 +251,7 @@ static struct clk div6_clks[DIV6_NR] = { | |||
251 | 251 | ||
252 | enum { | 252 | enum { |
253 | MSTP125, | 253 | MSTP125, |
254 | MSTP116, MSTP111, | 254 | MSTP116, MSTP111, MSTP100, MSTP117, |
255 | 255 | ||
256 | MSTP230, | 256 | MSTP230, |
257 | MSTP222, | 257 | MSTP222, |
@@ -264,8 +264,10 @@ enum { | |||
264 | 264 | ||
265 | static struct clk mstp_clks[MSTP_NR] = { | 265 | static struct clk mstp_clks[MSTP_NR] = { |
266 | [MSTP125] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 25, 0), /* TMU0 */ | 266 | [MSTP125] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 25, 0), /* TMU0 */ |
267 | [MSTP117] = SH_CLK_MSTP32(&div4_clks[DIV4_B], SMSTPCR1, 17, 0), /* LCDC1 */ | ||
267 | [MSTP116] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 16, 0), /* IIC0 */ | 268 | [MSTP116] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 16, 0), /* IIC0 */ |
268 | [MSTP111] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 11, 0), /* TMU1 */ | 269 | [MSTP111] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR1, 11, 0), /* TMU1 */ |
270 | [MSTP100] = SH_CLK_MSTP32(&div4_clks[DIV4_B], SMSTPCR1, 0, 0), /* LCDC0 */ | ||
269 | 271 | ||
270 | [MSTP230] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR2, 30, 0), /* SCIFA6 */ | 272 | [MSTP230] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR2, 30, 0), /* SCIFA6 */ |
271 | [MSTP222] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR2, 22, 0), /* SCIFA7 */ | 273 | [MSTP222] = SH_CLK_MSTP32(&div6_clks[DIV6_SUB], SMSTPCR2, 22, 0), /* SCIFA7 */ |
@@ -314,8 +316,10 @@ static struct clk_lookup lookups[] = { | |||
314 | CLKDEV_CON_ID("sub_clk", &div6_clks[DIV6_SUB]), | 316 | CLKDEV_CON_ID("sub_clk", &div6_clks[DIV6_SUB]), |
315 | 317 | ||
316 | /* MSTP32 clocks */ | 318 | /* MSTP32 clocks */ |
319 | CLKDEV_DEV_ID("sh_mobile_lcdc_fb.0", &mstp_clks[MSTP100]), | ||
317 | CLKDEV_DEV_ID("sh_tmu.1", &mstp_clks[MSTP111]), | 320 | CLKDEV_DEV_ID("sh_tmu.1", &mstp_clks[MSTP111]), |
318 | CLKDEV_DEV_ID("i2c-sh_mobile.0", &mstp_clks[MSTP116]), | 321 | CLKDEV_DEV_ID("i2c-sh_mobile.0", &mstp_clks[MSTP116]), |
322 | CLKDEV_DEV_ID("sh_mobile_lcdc_fb.1", &mstp_clks[MSTP117]), | ||
319 | CLKDEV_DEV_ID("sh_tmu.0", &mstp_clks[MSTP125]), | 323 | CLKDEV_DEV_ID("sh_tmu.0", &mstp_clks[MSTP125]), |
320 | 324 | ||
321 | CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP200]), | 325 | CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP200]), |