aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2009-11-05 10:27:13 -0500
committerEric Miao <eric.y.miao@gmail.com>2009-11-30 20:02:34 -0500
commitb3a8549593696f5f3efcdbf280e2c8e0fe894855 (patch)
treece031f9fbf7d2b23aa6e3c513764f015ab505230 /include
parentf64dcac0b1247842db2530959cbe3df1cb1947c4 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/da903x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/da903x.h b/include/linux/mfd/da903x.h
index c63b65c94429..0aa3a1a49ee3 100644
--- a/include/linux/mfd/da903x.h
+++ b/include/linux/mfd/da903x.h
@@ -96,6 +96,10 @@ struct da9034_touch_pdata {
96 int y_inverted; 96 int y_inverted;
97}; 97};
98 98
99struct da9034_backlight_pdata {
100 int output_current; /* output current of WLED, from 0-31 (in mA) */
101};
102
99/* DA9030 battery charger data */ 103/* DA9030 battery charger data */
100struct power_supply_info; 104struct power_supply_info;
101 105