summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/pwm.c
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2011-02-22 17:34:58 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:10:19 +0800
commitda391dd9bd62d2b471e4730fbfb32317c701067d (patch)
tree22ce1837a086aef80f1f44610d0016e74f04d7fc /arch/arm/plat-mxc/pwm.c
parentbf63283de4230e999e50f21c11ca9ad8d0ec6c77 (diff)
ENGR00141217-3 MX53 MSL part upgrade to 2.6.38
imx51_babbage: imx53_smd: add i2c device imx53_smd: add i2c board device info imx53_smd: add esdhc device support imx53_smd: Add SRTC devices imx53_smd: enable the AHCI SATA imx53_smd: Add GPIO Keypad support imx53_ard: enable ARD board bootup imx53_ard: add ethernet pin mux imx53_ard: add smsc911x device imx53_loco: add i2c device imx53_loco: change sii902x i2c device imx53_loco: register v4l2 output device imx53_loco: add srtc device imx53_loco: enable the AHCI SATA imx53_loco: Add GPIO Keypad support imx53_evk: add evk and arm2 boards io setting and set up display imx5: add ipu\vpu imx5: clock.c: remove RATE_PROPAGATES imx5: Add clock, dvfs, busfreq, sdram_autogating support. imx5: fix warnings on boot imx5: add v4l2 device imx5: add board_is_rev support imx5: Add sdma support for i.Mx53 and i.Mx51 imx5: add p1003 imx5: add ipuv3 imx5: add sata imx5: add pmic board files imx5: add pm function imx5: add iram config imx5: add gpu imx5: fix clock debug enable_count error imx53: add gpio irq support for mx53 imx53: change PWM backlight device register method to dynamic imx53: change v4l2 device register method to dynamic imx53: add vpu devices support imx53: add dvfs-core and busfreq devices register method imx53: Add usb devices imx53: add i2c pad settings imx53: add ssi support Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Zeng Zhaoming <b32542@freescale.com> Signed-off-by: Richard Zhu <r65037@freescale.com> Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Signed-off-by: Zhang Yan <b34916@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/pwm.c')
-rwxr-xr-x[-rw-r--r--]arch/arm/plat-mxc/pwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/pwm.c b/arch/arm/plat-mxc/pwm.c
index f4b68beddbb3..5db482373db4 100644..100755
--- a/arch/arm/plat-mxc/pwm.c
+++ b/arch/arm/plat-mxc/pwm.c
@@ -60,7 +60,8 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
if (pwm == NULL || period_ns == 0 || duty_ns > period_ns)
return -EINVAL;
- if (cpu_is_mx27() || cpu_is_mx3() || cpu_is_mx25() || cpu_is_mx51()) {
+ if (cpu_is_mx27() || cpu_is_mx3() || cpu_is_mx25() || cpu_is_mx51() ||
+ cpu_is_mx53()) {
unsigned long long c;
unsigned long period_cycles, duty_cycles, prescale;
u32 cr;