]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: lp855x_bl: support new LP8557 device
authorKim, Milo <Milo.Kim@ti.com>
Fri, 22 Feb 2013 00:44:06 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:25 +0000 (17:22 -0800)
commitf277c3e11297a338752ba98f0e41699a52075285
tree5bb294732ee8502a139d578d61d1faaae2031618
parent8fcdc6c777c4fa906051e87df2d9419f313fe77a
backlight: lp855x_bl: support new LP8557 device

LP8557 is one of LP855x family device, but it has different register map
and initialization process.  To support this device, device specific
configuration is done through the lp855x_device_config structure.

Few register definitions are fixed for better readability.
  BRIGHTNESS_CTRL -> LP855X_BRIGHTNESS_CTRL
  DEVICE_CTRL     -> LP855X_DEVICE_CTRL
  EEPROM_START    -> LP855X_EEPROM_START
  EEPROM_END      -> LP855X_EEPROM_END
  EPROM_START     -> LP8556_EPROM_START
  EPROM_END       -> LP8556_EPROM_END

And LP8557 register definitions are added.  New register function,
lp855x_update_bit() is added.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/backlight/lp855x-driver.txt
drivers/video/backlight/Kconfig
drivers/video/backlight/lp855x_bl.c
include/linux/platform_data/lp855x.h