diff options
author | William Lai <b04597@freescale.com> | 2010-10-11 21:04:48 +0800 |
---|---|---|
committer | William Lai <b04597@freescale.com> | 2010-10-14 09:42:39 +0800 |
commit | 6b0f3a58488964cbce3d96d5083c7c342ea86c14 (patch) | |
tree | b5e89cb90bab8b1d36b88d185e49225b43540fc4 /arch/arm/mach-mx5/devices.c | |
parent | 0cb66bfe09ca41821c96f220020fb79805383bb2 (diff) |
ENGR00132459-3 MX5: Support 2 PWM based backlights
Support 2 PWM based backlights, and add PWMO invertion
option on i.MX53 ARD.
Signed-off-by: William Lai<b04597@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/devices.c')
-rw-r--r-- | arch/arm/mach-mx5/devices.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c index cba86e51af1d..5a4106c634aa 100644 --- a/arch/arm/mach-mx5/devices.c +++ b/arch/arm/mach-mx5/devices.c @@ -281,9 +281,14 @@ struct platform_device mxc_pwm2_device = { .resource = pwm2_resources, }; -struct platform_device mxc_pwm_backlight_device = { +struct platform_device mxc_pwm1_backlight_device = { .name = "pwm-backlight", - .id = -1, + .id = 0, +}; + +struct platform_device mxc_pwm2_backlight_device = { + .name = "pwm-backlight", + .id = 1, }; static struct resource flexcan0_resources[] = { |