summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/lp855x.h
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-10-05 04:12:50 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 22:04:52 +0400
commit6275ce9f7ffdccd414a92f6ec8fe0d7584037ee5 (patch)
treeed4781335c15e848c5f8c6b298fabf7a67d30526 /include/linux/platform_data/lp855x.h
parent7c9332d19e54d3eb1beab931a43930fe7ad1d468 (diff)
downloadlinux-6275ce9f7ffdccd414a92f6ec8fe0d7584037ee5.tar.xz
backlight: lp855x: add FAST bit description for LP8556
LP8556 backlight driver supports fast refresh mode when exiting the low power mode. This bit can be configurable in the platform side. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Bryan Wu <bryan.wu@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/platform_data/lp855x.h')
-rw-r--r--include/linux/platform_data/lp855x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h
index cc76f1f18f18..761f31752367 100644
--- a/include/linux/platform_data/lp855x.h
+++ b/include/linux/platform_data/lp855x.h
@@ -46,6 +46,8 @@
#define LP8556_I2C_CONFIG ((ENABLE_BL << BL_CTL_SHFT) | \
(LP8556_I2C_ONLY << BRT_MODE_SHFT))
#define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT)
+#define LP8556_FAST_CONFIG BIT(7) /* use it if EPROMs should be maintained
+ when exiting the low power mode */
enum lp855x_chip_id {
LP8550,