aboutsummaryrefslogtreecommitdiff
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-12-01 09:02:34 +0800
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 c63b65c9442..0aa3a1a49ee 100644
--- a/include/linux/mfd/da903x.h
+++ b/include/linux/mfd/da903x.h
@@ -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;