diff options
author | Naga Radhesh <naga.radheshy@stericsson.com> | 2012-02-23 15:59:46 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:02:45 +0200 |
commit | 4f7bd6abc27d6271d11f8191b101676a4ddf58f2 (patch) | |
tree | 6befaac41e70a4c5c4d13b1459dd25fc5dc1e93e | |
parent | c8892d1059e4dfffd9c6121d4f345ba2eea4569a (diff) |
mach-ux500: platform data for pwm driver
platform data for pwm driver, which contains
no.of supported pwm and pwm out led's
ST-Ericsson ID: 366316
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 2ed4b9ce67b..4dcad4cb83d 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -293,6 +293,7 @@ static struct ab8500_platform_data ab8500_platdata = { .chargalg = &ab8500_chargalg_plat_data, .gpio = &ab8500_gpio_pdata, .sysctrl = &ab8500_sysctrl_pdata, + .pwmled = &ab8500_pwmled_plat_data, #ifdef CONFIG_INPUT_AB8500_ACCDET .accdet = &ab8500_accdet_pdata, #endif @@ -712,6 +713,8 @@ static struct led_pwm pwm_leds_data[] = { .max_brightness = 255, .lth_brightness = 90, .pwm_period_ns = 1023, + .dutycycle_steps = 16, + .period_steps = 4, }, [1] = { .name = "sec-lcd-backlight", |