Commit graph

10 commits

Author SHA1 Message Date
Devin Kim
b797c941d2 backlight: lm3530: remove board specific hard-coding value
get the board specific data from pdata. do not hard coding in driver.

Change-Id: Id2ebc4475755adcd81297064f32cc3169c55eaca
2013-03-04 12:48:08 -08:00
Devin Kim
68866784f6 backlight: lm3530: set CABC register on first bootup
If we don't apply CABC register setting at the first bootup, then it makes a
power difference between the bootup time and the first suspend and resume,
approximately 38mA.

Change-Id: I91c915af31e9ff6934ce733f3fb2c8b96e1adf31
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:46:42 -08:00
Devin Kim
f80be7d12e backlight: lm3530: decrease a little more backlight level
decrease backlight level to 70 nit at the charging mode

Change-Id: I3ad14dbcfc5daf5090219da21c3f348fdb97ff77
2013-03-04 12:45:59 -08:00
Devin Kim
7e45a10da4 backlight: lm3530: add the backlight map in platform data
Add the backlight map into platform data for calibrating
by the board specific values

Change-Id: Ib997a8cbf738b2700305028f47178f31420f9e85
2013-03-04 12:45:13 -08:00
choongryeol.lee
2cb854aebc mako: backlight: sync backlight on/off with lcd on/off
To avoid dispalying garbage during lcd on/off, the turning on
lcd should be done before backlight on and turning off backlight
should be finished before lcd off. But current implementation
doesn't guarantee these on/off sequence. This patch ensure the
sequence of lcd and backligth on/off.

Change-Id: I11771d395c1a68b4e70b63639f50c773a665b441
Signed-off-by: Iliyan Malchev <malchev@google.com>

Conflicts:
	drivers/video/msm/msm_fb.c
2013-03-04 12:43:34 -08:00
choongryeol.lee
20c283689b backlight: lm3530: add level setting to bl_set_intensity()
When application calls FBIOBLANK ioctl without backlight control,
even though bl_set_intensity() is called by fb_notifier_callback,
the backlight level cannot be set properly. So this patch add the
level changing to bl_set_intensity().

Change-Id: Id512c2f1bffbde2d47186d40071d05bc1388dc03
2013-03-04 12:43:33 -08:00
choongryeol.lee
01fc0013e4 mako: display: enable CABC function
CABC(Content Adaptive Backlight Control) is supported by
mako lcd panel. So this patch enables it to reduce power
consumption.

Change-Id: I433281bc5fe4e638cfeba1beb9cb61e1775f3896
2013-03-04 12:43:27 -08:00
Devin Kim
3b795c2300 backlight: lm3530: cleanup codes
- add include/linux/platform_data/lm35xx_bl.h
- remove redundant variables and codes
- handle the erorrs in probe
- fix the memory leak

Change-Id: I279ebc9098f70e78d618abdcc75df23bbf8e604a
2013-03-04 12:43:08 -08:00
Devin Kim
7ef56e4f71 backlight: lm3530: fix the abnormal backlght control
- use global mutex
- remove unneccessary earlysuspend codes

Change-Id: I999786f2879e27d1749bfee98cd0451eb24a9ccf
2013-03-04 09:12:25 -08:00
Jaeseong GIM
8b589d364f mako: enable lm3530 backlight driver
bring-up lm3530 backlight for mako board.

Change-Id: Ib1746f0ce13603e7f981e61f9b9ea83f91fa2b1a
2013-02-28 12:14:26 -08:00