Merge branch 'akpm' (incoming from Andrew)
Merge misc patches from Andrew Morton: - Florian has vanished so I appear to have become fbdev maintainer again :( - Joel and Mark are distracted to welcome to the new OCFS2 maintainer - The backlight queue - Small core kernel changes - lib/ updates - The rtc queue - Various random bits * akpm: (164 commits) rtc: rtc-davinci: use devm_*() functions rtc: rtc-max8997: use devm_request_threaded_irq() rtc: rtc-max8907: use devm_request_threaded_irq() rtc: rtc-da9052: use devm_request_threaded_irq() rtc: rtc-wm831x: use devm_request_threaded_irq() rtc: rtc-tps80031: use devm_request_threaded_irq() rtc: rtc-lp8788: use devm_request_threaded_irq() rtc: rtc-coh901331: use devm_clk_get() rtc: rtc-vt8500: use devm_*() functions rtc: rtc-tps6586x: use devm_request_threaded_irq() rtc: rtc-imxdi: use devm_clk_get() rtc: rtc-cmos: use dev_warn()/dev_dbg() instead of printk()/pr_debug() rtc: rtc-pcf8583: use dev_warn() instead of printk() rtc: rtc-sun4v: use pr_warn() instead of printk() rtc: rtc-vr41xx: use dev_info() instead of printk() rtc: rtc-rs5c313: use pr_err() instead of printk() rtc: rtc-at91rm9200: use dev_dbg()/dev_err() instead of printk()/pr_debug() rtc: rtc-rs5c372: use dev_dbg()/dev_warn() instead of printk()/pr_debug() rtc: rtc-ds2404: use dev_err() instead of printk() rtc: rtc-efi: use dev_err()/dev_warn()/pr_err() instead of printk() ...
This commit is contained in:
@@ -49,12 +49,24 @@
|
||||
#define LP8556_FAST_CONFIG BIT(7) /* use it if EPROMs should be maintained
|
||||
when exiting the low power mode */
|
||||
|
||||
/* CONFIG register - LP8557 */
|
||||
#define LP8557_PWM_STANDBY BIT(7)
|
||||
#define LP8557_PWM_FILTER BIT(6)
|
||||
#define LP8557_RELOAD_EPROM BIT(3) /* use it if EPROMs should be reset
|
||||
when the backlight turns on */
|
||||
#define LP8557_OFF_OPENLEDS BIT(2)
|
||||
#define LP8557_PWM_CONFIG LP8557_PWM_ONLY
|
||||
#define LP8557_I2C_CONFIG LP8557_I2C_ONLY
|
||||
#define LP8557_COMB1_CONFIG LP8557_COMBINED1
|
||||
#define LP8557_COMB2_CONFIG LP8557_COMBINED2
|
||||
|
||||
enum lp855x_chip_id {
|
||||
LP8550,
|
||||
LP8551,
|
||||
LP8552,
|
||||
LP8553,
|
||||
LP8556,
|
||||
LP8557,
|
||||
};
|
||||
|
||||
enum lp855x_brightness_ctrl_mode {
|
||||
@@ -89,6 +101,13 @@ enum lp8556_brightness_source {
|
||||
LP8556_COMBINED2, /* pwm + i2c after the shaper block */
|
||||
};
|
||||
|
||||
enum lp8557_brightness_source {
|
||||
LP8557_PWM_ONLY,
|
||||
LP8557_I2C_ONLY,
|
||||
LP8557_COMBINED1, /* pwm + i2c after the shaper block */
|
||||
LP8557_COMBINED2, /* pwm + i2c before the shaper block */
|
||||
};
|
||||
|
||||
struct lp855x_rom_data {
|
||||
u8 addr;
|
||||
u8 val;
|
||||
|
Reference in New Issue
Block a user