aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/Kconfig
diff options
context:
space:
mode:
authorInKi Dae <inki.dae@samsung.com>2010-05-24 15:21:36 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-26 12:34:16 -0400
commitee378a5c6550dcbfe6fa9c71b84ca2eb19cb288e (patch)
treeac844a7051dfd5be701e10de09cc576390513802 /drivers/video/backlight/Kconfig
parentc7c06d8a95fd6b83d9f71a0cfecd3f91945d17e5 (diff)
backlight: add S6E63M0 AMOLED LCD Panel driver
This is S6E63M0 AMOLED LCD Panel(480x800) driver using 3-wired SPI interface also almost features for lcd panel driver has been implemented in here. and I added new structure common for all the lcd panel drivers to include/linux/lcd.h file. LCD Panel driver needs interfaces for controlling device power such as power on/off and reset. these interfaces are device specific so it should be implemented to machine code at this time, we should create new structure for registering these functions as callbacks and also a header file for that structure and finally registered callback functions would be called by lcd panel driver. such header file(including new structure for lcd panel) would be added for all the lcd panel drivers. If anyone provides common structure for registering such callback functions then we could reduce unnecessary header files for lcd panel. I thought that suitable anyone could be include/linux/lcd.h so a new lcd_platform_data structure was added there. [akpm@linux-foundation.org: coding-style fixes] [randy.dunlap@oracle.com: fix s6e63m0 kconfig] [randy.dunlap@oracle.com: fix device attribute functions return types] Signed-off-by: InKi Dae <inki.dae@samsung.com> Reviewed-by: KyungMin Park <kyungmin.park.samsung.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/backlight/Kconfig')
-rw-r--r--drivers/video/backlight/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 39ecaf71c1f..cbd80978460 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -101,6 +101,14 @@ config LCD_HP700
101 If you have an HP Jornada 700 series handheld (710/720/728) 101 If you have an HP Jornada 700 series handheld (710/720/728)
102 say Y to enable LCD control driver. 102 say Y to enable LCD control driver.
103 103
104config LCD_S6E63M0
105 tristate "S6E63M0 AMOLED LCD Driver"
106 depends on SPI && BACKLIGHT_CLASS_DEVICE
107 default n
108 help
109 If you have an S6E63M0 LCD Panel, say Y to enable its
110 LCD control driver.
111
104endif # LCD_CLASS_DEVICE 112endif # LCD_CLASS_DEVICE
105 113
106# 114#