Skip to content

Commit b18250a

Browse files
Eric MiaoRussell King
authored andcommitted
lcd: add SPI-based LCD and backlight driver for SHARP corgi/spitz
The driver is based on different source files including corgi_ssp.c, corgi_lcd.c and corgi_bl.c, previously authored by Richard Purdie and many others. The LCD and Backlight device actually share the same SPI device, so they are made into this single driver. Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent faa312d commit b18250a

4 files changed

Lines changed: 565 additions & 0 deletions

File tree

‎drivers/video/backlight/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ config LCD_CLASS_DEVICE
2424
To have support for your specific LCD panel you will have to
2525
select the proper drivers which depend on this option.
2626

27+
config LCD_CORGI
28+
tristate "LCD Panel support for SHARP corgi/spitz model"
29+
depends on LCD_CLASS_DEVICE && SPI_MASTER && PXA_SHARPSL
30+
help
31+
Say y here to support the LCD panels usually found on SHARP
32+
corgi (C7x0) and spitz (Cxx00) models.
33+
2734
config LCD_LTV350QV
2835
tristate "Samsung LTV350QV LCD Panel"
2936
depends on LCD_CLASS_DEVICE && SPI_MASTER

‎drivers/video/backlight/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Backlight & LCD drivers
22

33
obj-$(CONFIG_LCD_CLASS_DEVICE) += lcd.o
4+
obj-$(CONFIG_LCD_CORGI) += corgi_lcd.o
45
obj-$(CONFIG_LCD_LTV350QV) += ltv350qv.o
56
obj-$(CONFIG_LCD_ILI9320) += ili9320.o
67
obj-$(CONFIG_LCD_PLATFORM) += platform_lcd.o

0 commit comments

Comments
 (0)