diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-11-12 16:12:35 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-11-12 16:12:35 -0500 |
commit | f29246524284a78457f0fbf74a5b50327d4f3aca (patch) | |
tree | 999cf735f9b24f7d12f47b9de97c1ddade8b3e5e | |
parent | 889cf721d7f9249542315599032accffea3b9288 (diff) | |
parent | d5b689089d7db3851c4d5d6b3727d22ef44d2023 (diff) |
Merge branch 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc2
From Simon Horman <horms@verge.net.au>:
* This pull-request is based on the boards branch of the rensas tree
which I have sent a pull-request for. The boards branch is in
turn based on the soc branch. The reason for the soc2 -> boards -> soc
branch progression is to satisfy dependencies of patches in
the boards and soc branches.
* 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: shmobile: sh7372: sh7372_fsiXck_clk become non-global
ARM: shmobile: sh7372: remove fsidivx clock
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-shmobile/clock-sh7372.c | 20 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 2 |
2 files changed, 10 insertions, 12 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c index 4d57e342537b..3ca6757b129a 100644 --- a/arch/arm/mach-shmobile/clock-sh7372.c +++ b/arch/arm/mach-shmobile/clock-sh7372.c | |||
@@ -295,10 +295,10 @@ struct clk sh7372_pllc2_clk = { | |||
295 | }; | 295 | }; |
296 | 296 | ||
297 | /* External input clock (pin name: FSIACK/FSIBCK ) */ | 297 | /* External input clock (pin name: FSIACK/FSIBCK ) */ |
298 | struct clk sh7372_fsiack_clk = { | 298 | static struct clk fsiack_clk = { |
299 | }; | 299 | }; |
300 | 300 | ||
301 | struct clk sh7372_fsibck_clk = { | 301 | static struct clk fsibck_clk = { |
302 | }; | 302 | }; |
303 | 303 | ||
304 | static struct clk *main_clks[] = { | 304 | static struct clk *main_clks[] = { |
@@ -314,8 +314,8 @@ static struct clk *main_clks[] = { | |||
314 | &pllc1_clk, | 314 | &pllc1_clk, |
315 | &pllc1_div2_clk, | 315 | &pllc1_div2_clk, |
316 | &sh7372_pllc2_clk, | 316 | &sh7372_pllc2_clk, |
317 | &sh7372_fsiack_clk, | 317 | &fsiack_clk, |
318 | &sh7372_fsibck_clk, | 318 | &fsibck_clk, |
319 | }; | 319 | }; |
320 | 320 | ||
321 | static void div4_kick(struct clk *clk) | 321 | static void div4_kick(struct clk *clk) |
@@ -399,14 +399,14 @@ static struct clk *hdmi_parent[] = { | |||
399 | static struct clk *fsiackcr_parent[] = { | 399 | static struct clk *fsiackcr_parent[] = { |
400 | [0] = &pllc1_div2_clk, | 400 | [0] = &pllc1_div2_clk, |
401 | [1] = &sh7372_pllc2_clk, | 401 | [1] = &sh7372_pllc2_clk, |
402 | [2] = &sh7372_fsiack_clk, /* external input for FSI A */ | 402 | [2] = &fsiack_clk, /* external input for FSI A */ |
403 | [3] = NULL, /* setting prohibited */ | 403 | [3] = NULL, /* setting prohibited */ |
404 | }; | 404 | }; |
405 | 405 | ||
406 | static struct clk *fsibckcr_parent[] = { | 406 | static struct clk *fsibckcr_parent[] = { |
407 | [0] = &pllc1_div2_clk, | 407 | [0] = &pllc1_div2_clk, |
408 | [1] = &sh7372_pllc2_clk, | 408 | [1] = &sh7372_pllc2_clk, |
409 | [2] = &sh7372_fsibck_clk, /* external input for FSI B */ | 409 | [2] = &fsibck_clk, /* external input for FSI B */ |
410 | [3] = NULL, /* setting prohibited */ | 410 | [3] = NULL, /* setting prohibited */ |
411 | }; | 411 | }; |
412 | 412 | ||
@@ -507,8 +507,8 @@ static struct clk_lookup lookups[] = { | |||
507 | CLKDEV_CON_ID("pllc1_clk", &pllc1_clk), | 507 | CLKDEV_CON_ID("pllc1_clk", &pllc1_clk), |
508 | CLKDEV_CON_ID("pllc1_div2_clk", &pllc1_div2_clk), | 508 | CLKDEV_CON_ID("pllc1_div2_clk", &pllc1_div2_clk), |
509 | CLKDEV_CON_ID("pllc2_clk", &sh7372_pllc2_clk), | 509 | CLKDEV_CON_ID("pllc2_clk", &sh7372_pllc2_clk), |
510 | CLKDEV_CON_ID("fsidiva", &fsidivs[FSIDIV_A]), | 510 | CLKDEV_CON_ID("fsiack", &fsiack_clk), |
511 | CLKDEV_CON_ID("fsidivb", &fsidivs[FSIDIV_B]), | 511 | CLKDEV_CON_ID("fsibck", &fsibck_clk), |
512 | 512 | ||
513 | /* DIV4 clocks */ | 513 | /* DIV4 clocks */ |
514 | CLKDEV_CON_ID("i_clk", &div4_clks[DIV4_I]), | 514 | CLKDEV_CON_ID("i_clk", &div4_clks[DIV4_I]), |
@@ -606,8 +606,8 @@ static struct clk_lookup lookups[] = { | |||
606 | CLKDEV_ICK_ID("spu2", "sh_fsi2", &mstp_clks[MSTP223]), | 606 | CLKDEV_ICK_ID("spu2", "sh_fsi2", &mstp_clks[MSTP223]), |
607 | CLKDEV_ICK_ID("diva", "sh_fsi2", &fsidivs[FSIDIV_A]), | 607 | CLKDEV_ICK_ID("diva", "sh_fsi2", &fsidivs[FSIDIV_A]), |
608 | CLKDEV_ICK_ID("divb", "sh_fsi2", &fsidivs[FSIDIV_B]), | 608 | CLKDEV_ICK_ID("divb", "sh_fsi2", &fsidivs[FSIDIV_B]), |
609 | CLKDEV_ICK_ID("xcka", "sh_fsi2", &sh7372_fsiack_clk), | 609 | CLKDEV_ICK_ID("xcka", "sh_fsi2", &fsiack_clk), |
610 | CLKDEV_ICK_ID("xckb", "sh_fsi2", &sh7372_fsibck_clk), | 610 | CLKDEV_ICK_ID("xckb", "sh_fsi2", &fsibck_clk), |
611 | }; | 611 | }; |
612 | 612 | ||
613 | void __init sh7372_clock_init(void) | 613 | void __init sh7372_clock_init(void) |
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index 26cd1016fad8..b582facc1cf6 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h | |||
@@ -477,8 +477,6 @@ extern struct clk sh7372_extal2_clk; | |||
477 | extern struct clk sh7372_dv_clki_clk; | 477 | extern struct clk sh7372_dv_clki_clk; |
478 | extern struct clk sh7372_dv_clki_div2_clk; | 478 | extern struct clk sh7372_dv_clki_div2_clk; |
479 | extern struct clk sh7372_pllc2_clk; | 479 | extern struct clk sh7372_pllc2_clk; |
480 | extern struct clk sh7372_fsiack_clk; | ||
481 | extern struct clk sh7372_fsibck_clk; | ||
482 | 480 | ||
483 | extern void sh7372_intcs_suspend(void); | 481 | extern void sh7372_intcs_suspend(void); |
484 | extern void sh7372_intcs_resume(void); | 482 | extern void sh7372_intcs_resume(void); |