diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-06 06:14:17 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-06 15:17:20 -0400 |
commit | af7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc (patch) | |
tree | 5bd51ed12452e283806827e1793415ba6011b757 /arch/arm/mach-ux500/clock.c | |
parent | dc6048c7f97beaf8c5bb97ed772f43330d04727a (diff) |
ARM: 6104/1: nomadik-gpio: use clk API
Add clocks with appropriate names in platforms that use it, and use the
clk API in nomadik-gpio.
Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r-- | arch/arm/mach-ux500/clock.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c index c325dad1679c..1b2c9890e8b4 100644 --- a/arch/arm/mach-ux500/clock.c +++ b/arch/arm/mach-ux500/clock.c | |||
@@ -364,7 +364,8 @@ static DEFINE_PRCC_CLK(7, cfgreg_ed, 0, -1, NULL); | |||
364 | 364 | ||
365 | static struct clk_lookup u8500_common_clks[] = { | 365 | static struct clk_lookup u8500_common_clks[] = { |
366 | /* Peripheral Cluster #1 */ | 366 | /* Peripheral Cluster #1 */ |
367 | CLK(gpio0, "gpioblock0", NULL), | 367 | CLK(gpio0, "gpio.0", NULL), |
368 | CLK(gpio0, "gpio.1", NULL), | ||
368 | CLK(slimbus0, "slimbus0", NULL), | 369 | CLK(slimbus0, "slimbus0", NULL), |
369 | CLK(i2c2, "nmk-i2c.2", NULL), | 370 | CLK(i2c2, "nmk-i2c.2", NULL), |
370 | CLK(sdi0, "sdi0", NULL), | 371 | CLK(sdi0, "sdi0", NULL), |
@@ -374,7 +375,10 @@ static struct clk_lookup u8500_common_clks[] = { | |||
374 | CLK(uart0, "uart0", NULL), | 375 | CLK(uart0, "uart0", NULL), |
375 | 376 | ||
376 | /* Peripheral Cluster #3 */ | 377 | /* Peripheral Cluster #3 */ |
377 | CLK(gpio2, "gpioblock2", NULL), | 378 | CLK(gpio2, "gpio.2", NULL), |
379 | CLK(gpio2, "gpio.3", NULL), | ||
380 | CLK(gpio2, "gpio.4", NULL), | ||
381 | CLK(gpio2, "gpio.5", NULL), | ||
378 | CLK(sdi5, "sdi5", NULL), | 382 | CLK(sdi5, "sdi5", NULL), |
379 | CLK(uart2, "uart2", NULL), | 383 | CLK(uart2, "uart2", NULL), |
380 | CLK(ske, "ske", NULL), | 384 | CLK(ske, "ske", NULL), |
@@ -383,7 +387,7 @@ static struct clk_lookup u8500_common_clks[] = { | |||
383 | CLK(fsmc, "fsmc", NULL), | 387 | CLK(fsmc, "fsmc", NULL), |
384 | 388 | ||
385 | /* Peripheral Cluster #5 */ | 389 | /* Peripheral Cluster #5 */ |
386 | CLK(gpio3, "gpioblock3", NULL), | 390 | CLK(gpio3, "gpio.8", NULL), |
387 | 391 | ||
388 | /* Peripheral Cluster #6 */ | 392 | /* Peripheral Cluster #6 */ |
389 | CLK(hash1, "hash1", NULL), | 393 | CLK(hash1, "hash1", NULL), |
@@ -418,7 +422,8 @@ static struct clk_lookup u8500_ed_clks[] = { | |||
418 | CLK(msp1_ed, "msp1", NULL), | 422 | CLK(msp1_ed, "msp1", NULL), |
419 | 423 | ||
420 | /* Peripheral Cluster #2 */ | 424 | /* Peripheral Cluster #2 */ |
421 | CLK(gpio1_ed, "gpioblock1", NULL), | 425 | CLK(gpio1_ed, "gpio.6", NULL), |
426 | CLK(gpio1_ed, "gpio.7", NULL), | ||
422 | CLK(ssitx_ed, "ssitx", NULL), | 427 | CLK(ssitx_ed, "ssitx", NULL), |
423 | CLK(ssirx_ed, "ssirx", NULL), | 428 | CLK(ssirx_ed, "ssirx", NULL), |
424 | CLK(spi0_ed, "spi0", NULL), | 429 | CLK(spi0_ed, "spi0", NULL), |
@@ -458,7 +463,8 @@ static struct clk_lookup u8500_v1_clks[] = { | |||
458 | CLK(msp1_v1, "msp1", NULL), | 463 | CLK(msp1_v1, "msp1", NULL), |
459 | 464 | ||
460 | /* Peripheral Cluster #2 */ | 465 | /* Peripheral Cluster #2 */ |
461 | CLK(gpio1_v1, "gpioblock1", NULL), | 466 | CLK(gpio1_v1, "gpio.6", NULL), |
467 | CLK(gpio1_v1, "gpio.7", NULL), | ||
462 | CLK(ssitx_v1, "ssitx", NULL), | 468 | CLK(ssitx_v1, "ssitx", NULL), |
463 | CLK(ssirx_v1, "ssirx", NULL), | 469 | CLK(ssirx_v1, "ssirx", NULL), |
464 | CLK(spi0_v1, "spi0", NULL), | 470 | CLK(spi0_v1, "spi0", NULL), |