Skip to content

Commit

Permalink
omapfb: add support for MIPI-DCS compatible LCDs
Browse files Browse the repository at this point in the history
Fixed-by: Mike Wege <ext-mike.wege@nokia.com>
Fixed-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Fixed-by: Timo Savola <tsavola@movial.fi>
Fixed-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Fixed-by: Trilok Soni <soni.trilok@gmail.com>
Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Imre Deak authored and Linus Torvalds committed Sep 23, 2009
1 parent 28ff0c1 commit 66d2f99
Show file tree
Hide file tree
Showing 4 changed files with 639 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/plat-omap/include/mach/lcd_mipid.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ enum mipid_test_result {
struct mipid_platform_data {
int nreset_gpio;
int data_lines;

void (*shutdown)(struct mipid_platform_data *pdata);
void (*set_bklight_level)(struct mipid_platform_data *pdata,
int level);
int (*get_bklight_level)(struct mipid_platform_data *pdata);
int (*get_bklight_max)(struct mipid_platform_data *pdata);
};

#endif
Expand Down
8 changes: 8 additions & 0 deletions drivers/video/omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ config FB_OMAP
help
Frame buffer driver for OMAP based boards.

config FB_OMAP_LCD_MIPID
bool "MIPI DBI-C/DCS compatible LCD support"
depends on FB_OMAP && SPI_MASTER
help
Say Y here if you want to have support for LCDs compatible with
the Mobile Industry Processor Interface DBI-C/DCS
specification. (Supported LCDs: Philips LPH8923, Sharp LS041Y3)

config FB_OMAP_BOOTLOADER_INIT
bool "Check bootloader initialization"
depends on FB_OMAP
Expand Down
1 change: 1 addition & 0 deletions drivers/video/omap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ objs-$(CONFIG_ARCH_OMAP15XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1510.o
objs-y$(CONFIG_MACH_OMAP_OSK) += lcd_osk.o

objs-y$(CONFIG_MACH_OMAP_APOLLON) += lcd_apollon.o
objs-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o

omapfb-objs := $(objs-yy)

Loading

0 comments on commit 66d2f99

Please sign in to comment.