summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-05-26 03:00:59 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-26 13:08:33 +0100
commitc7c06d8a95fd6b83d9f71a0cfecd3f91945d17e5 (patch)
tree7e3d5f037fbf47846b6c48a8fb3ae9dcfd3d50d3 /include/linux/i2c
parented601fa46777cb529bda0dbec80c4aec704dd063 (diff)
downloadop-kernel-dev-c7c06d8a95fd6b83d9f71a0cfecd3f91945d17e5.zip
op-kernel-dev-c7c06d8a95fd6b83d9f71a0cfecd3f91945d17e5.tar.gz
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.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/i2c/adp8860.h b/include/linux/i2c/adp8860.h
index 115514b..0b4d398 100644
--- a/include/linux/i2c/adp8860.h
+++ b/include/linux/i2c/adp8860.h
@@ -132,6 +132,23 @@ struct adp8860_backlight_platform_data {
u8 led_fade_out; /* LED Fade-Out Timer */
u8 led_fade_law; /* fade-on/fade-off transfer characteristic */
u8 led_on_time;
+
+ /**
+ * Gain down disable. Setting this option does not allow the
+ * charge pump to switch to lower gains. NOT AVAILABLE on ADP8860
+ * 1 = the charge pump doesn't switch down in gain until all LEDs are 0.
+ * The charge pump switches up in gain as needed. This feature is
+ * useful if the ADP8863 charge pump is used to drive an external load.
+ * This feature must be used when utilizing small fly capacitors
+ * (0402 or smaller).
+ * 0 = the charge pump automatically switches up and down in gain.
+ * This provides optimal efficiency, but is not suitable for driving
+ * loads that are not connected through the ADP8863 diode drivers.
+ * Additionally, the charge pump fly capacitors should be low ESR
+ * and sized 0603 or greater.
+ */
+
+ u8 gdwn_dis;
};
#endif /* __LINUX_I2C_ADP8860_H */
OpenPOWER on IntegriCloud