diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2009-11-05 10:27:13 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-12-01 09:02:34 +0800 |
commit | b3a8549593696f5f3efcdbf280e2c8e0fe894855 (patch) | |
tree | ce031f9fbf7d2b23aa6e3c513764f015ab505230 /include/linux/mfd | |
parent | f64dcac0b1247842db2530959cbe3df1cb1947c4 (diff) | |
download | op-kernel-dev-b3a8549593696f5f3efcdbf280e2c8e0fe894855.zip op-kernel-dev-b3a8549593696f5f3efcdbf280e2c8e0fe894855.tar.gz |
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/linux/mfd')
-rw-r--r-- | include/linux/mfd/da903x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/da903x.h b/include/linux/mfd/da903x.h index c63b65c..0aa3a1a 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; |