backlight: da903x_bl: control WLED output current in da9034
Update WLED output current source before changing brightness. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
committed by
Eric Miao
parent
f64dcac0b1
commit
b3a8549593
@@ -96,6 +96,10 @@ struct da9034_touch_pdata {
|
||||
int y_inverted;
|
||||
};
|
||||
|
||||
struct da9034_backlight_pdata {
|
||||
int output_current; /* output current of WLED, from 0-31 (in mA) */
|
||||
};
|
||||
|
||||
/* DA9030 battery charger data */
|
||||
struct power_supply_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user