ARM: S5PV210: Set 1000ns as PWM backlight period on SMDKV210
authorJingoo Han <jg1.han@samsung.com>
Thu, 8 Dec 2011 01:08:38 +0000 (10:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 8 Dec 2011 01:09:30 +0000 (10:09 +0900)
commitde611dd4078499d5aa5ae9655652687ae630585f
treefd6ec207822f224b81662fedf4baf9eb8cca3ff6
parentd7a4c45ec24b6c6773ff302c3c9cb5ed46c8e211
ARM: S5PV210: Set 1000ns as PWM backlight period on SMDKV210

The SMDK board uses LT3591 as backlight LED driver of LTE480WV LCD.
According to the LT3591 datasheet, the switching frequency should
be 1MHz. So, PWM period is calculated by following formula:

PWM period = 1/switching frequency
   = 1/1MHz
   = 1000ns

Thus, the PWM backlight period should be 1000ns.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/mach-smdkv210.c