summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/clock-mx23.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-25 11:58:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 14:19:59 +0100
commit2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee (patch)
tree5360130c97dfdc2f602cee2bd2af72854ccc05ca /arch/arm/mach-mxs/clock-mx23.c
parent78159566b7ec120a1020cfc9469ac526bdd05387 (diff)
downloadlinux-stable-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.tar.gz
linux-stable-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.tar.bz2
linux-stable-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.zip
ARM: mxs: Add pwm clocks and device registration
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/clock-mx23.c')
-rw-r--r--arch/arm/mach-mxs/clock-mx23.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/clock-mx23.c b/arch/arm/mach-mxs/clock-mx23.c
index 7c5dace92b91..38ee1b17a27d 100644
--- a/arch/arm/mach-mxs/clock-mx23.c
+++ b/arch/arm/mach-mxs/clock-mx23.c
@@ -447,7 +447,11 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK(NULL, "hclk", hbus_clk)
_REGISTER_CLOCK(NULL, "usb", usb_clk)
_REGISTER_CLOCK(NULL, "audio", audio_clk)
- _REGISTER_CLOCK(NULL, "pwm", pwm_clk)
+ _REGISTER_CLOCK("mxs-pwm.0", NULL, pwm_clk)
+ _REGISTER_CLOCK("mxs-pwm.1", NULL, pwm_clk)
+ _REGISTER_CLOCK("mxs-pwm.2", NULL, pwm_clk)
+ _REGISTER_CLOCK("mxs-pwm.3", NULL, pwm_clk)
+ _REGISTER_CLOCK("mxs-pwm.4", NULL, pwm_clk)
};
static int clk_misc_init(void)