diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2010-05-26 03:00:59 -0400 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-05-26 08:08:33 -0400 |
| commit | c7c06d8a95fd6b83d9f71a0cfecd3f91945d17e5 (patch) | |
| tree | 7e3d5f037fbf47846b6c48a8fb3ae9dcfd3d50d3 /include/linux/i2c | |
| parent | ed601fa46777cb529bda0dbec80c4aec704dd063 (diff) | |
backlight: adp8860: add support for ADP8861 & ADP8863
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/adp8860.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/i2c/adp8860.h b/include/linux/i2c/adp8860.h index 115514b7176..0b4d39855c9 100644 --- a/include/linux/i2c/adp8860.h +++ b/include/linux/i2c/adp8860.h | |||
| @@ -132,6 +132,23 @@ struct adp8860_backlight_platform_data { | |||
| 132 | u8 led_fade_out; /* LED Fade-Out Timer */ | 132 | u8 led_fade_out; /* LED Fade-Out Timer */ |
| 133 | u8 led_fade_law; /* fade-on/fade-off transfer characteristic */ | 133 | u8 led_fade_law; /* fade-on/fade-off transfer characteristic */ |
| 134 | u8 led_on_time; | 134 | u8 led_on_time; |
| 135 | |||
| 136 | /** | ||
| 137 | * Gain down disable. Setting this option does not allow the | ||
| 138 | * charge pump to switch to lower gains. NOT AVAILABLE on ADP8860 | ||
| 139 | * 1 = the charge pump doesn't switch down in gain until all LEDs are 0. | ||
| 140 | * The charge pump switches up in gain as needed. This feature is | ||
| 141 | * useful if the ADP8863 charge pump is used to drive an external load. | ||
| 142 | * This feature must be used when utilizing small fly capacitors | ||
| 143 | * (0402 or smaller). | ||
| 144 | * 0 = the charge pump automatically switches up and down in gain. | ||
| 145 | * This provides optimal efficiency, but is not suitable for driving | ||
| 146 | * loads that are not connected through the ADP8863 diode drivers. | ||
| 147 | * Additionally, the charge pump fly capacitors should be low ESR | ||
| 148 | * and sized 0603 or greater. | ||
| 149 | */ | ||
| 150 | |||
| 151 | u8 gdwn_dis; | ||
| 135 | }; | 152 | }; |
| 136 | 153 | ||
| 137 | #endif /* __LINUX_I2C_ADP8860_H */ | 154 | #endif /* __LINUX_I2C_ADP8860_H */ |
