]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
backlight: lp855x: add FAST bit description for LP8556
authorKim, Milo <Milo.Kim@ti.com>
Wed, 26 Sep 2012 01:34:20 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:27:42 +0000 (17:27 +1000)
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>
include/linux/platform_data/lp855x.h

index cc76f1f18f18fc88b2c8cceb94901eb3976733ae..761f31752367c46bc61b1715ecb019e963663043 100644 (file)
@@ -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,