lkml.org 
[lkml]   [2012]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] backlight: add new lp8788 backlight driver
On Fri, 21 Dec 2012 07:55:23 +0000
"Kim, Milo" <Milo.Kim@ti.com> wrote:

> TI LP8788 PMU supports regulators, battery charger, RTC, ADC, backlight driver
> and current sinks.
> This patch enables LP8788 backlight module.
>
> (Brightness mode)
> The brightness is controlled by PWM input or I2C register.
> All modes are supported in the driver.
>
> (Platform data)
> Configurable data can be defined in the platform side.
> name : backlight driver name. (default: "lcd-backlight")
> initial_brightness : initial value of backlight brightness
> bl_mode : brightness control by PWM or lp8788 register
> dim_mode : dimming mode selection
> full_scale : full scale current setting
> rise_time : brightness ramp up step time
> fall_time : brightness ramp down step time
> pwm_pol : PWM polarity setting when bl_mode is PWM based
> period_ns : platform specific PWM period value. unit is nano.

There's also

DEVICE_ATTR(bl_ctl_mode, S_IRUGO, lp8788_get_bl_ctl_mode, NULL);

which isn't documented anywhere?



\
 
 \ /
  Last update: 2012-12-22 00:01    [W:0.714 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site