aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/clock.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-05-06 11:14:17 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-06 20:17:20 +0100
commitaf7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc (patch)
tree5bd51ed12452e283806827e1793415ba6011b757 /arch/arm/mach-ux500/clock.c
parentdc6048c7f97beaf8c5bb97ed772f43330d04727a (diff)
downloadkernel_samsung_smdk4412-af7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc.zip
kernel_samsung_smdk4412-af7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc.tar.gz
kernel_samsung_smdk4412-af7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc.tar.bz2
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.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c
index c325dad..1b2c989 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);
static struct clk_lookup u8500_common_clks[] = {
/* Peripheral Cluster #1 */
- CLK(gpio0, "gpioblock0", NULL),
+ CLK(gpio0, "gpio.0", NULL),
+ CLK(gpio0, "gpio.1", NULL),
CLK(slimbus0, "slimbus0", NULL),
CLK(i2c2, "nmk-i2c.2", NULL),
CLK(sdi0, "sdi0", NULL),
@@ -374,7 +375,10 @@ static struct clk_lookup u8500_common_clks[] = {
CLK(uart0, "uart0", NULL),
/* Peripheral Cluster #3 */
- CLK(gpio2, "gpioblock2", NULL),
+ CLK(gpio2, "gpio.2", NULL),
+ CLK(gpio2, "gpio.3", NULL),
+ CLK(gpio2, "gpio.4", NULL),
+ CLK(gpio2, "gpio.5", NULL),
CLK(sdi5, "sdi5", NULL),
CLK(uart2, "uart2", NULL),
CLK(ske, "ske", NULL),
@@ -383,7 +387,7 @@ static struct clk_lookup u8500_common_clks[] = {
CLK(fsmc, "fsmc", NULL),
/* Peripheral Cluster #5 */
- CLK(gpio3, "gpioblock3", NULL),
+ CLK(gpio3, "gpio.8", NULL),
/* Peripheral Cluster #6 */
CLK(hash1, "hash1", NULL),
@@ -418,7 +422,8 @@ static struct clk_lookup u8500_ed_clks[] = {
CLK(msp1_ed, "msp1", NULL),
/* Peripheral Cluster #2 */
- CLK(gpio1_ed, "gpioblock1", NULL),
+ CLK(gpio1_ed, "gpio.6", NULL),
+ CLK(gpio1_ed, "gpio.7", NULL),
CLK(ssitx_ed, "ssitx", NULL),
CLK(ssirx_ed, "ssirx", NULL),
CLK(spi0_ed, "spi0", NULL),
@@ -458,7 +463,8 @@ static struct clk_lookup u8500_v1_clks[] = {
CLK(msp1_v1, "msp1", NULL),
/* Peripheral Cluster #2 */
- CLK(gpio1_v1, "gpioblock1", NULL),
+ CLK(gpio1_v1, "gpio.6", NULL),
+ CLK(gpio1_v1, "gpio.7", NULL),
CLK(ssitx_v1, "ssitx", NULL),
CLK(ssirx_v1, "ssirx", NULL),
CLK(spi0_v1, "spi0", NULL),