5bc2698fee98cfe19d275db95ff6248b19bd77c0
[openwrt.git] / target / linux / s3c24xx / patches-2.6.31 / 056-jbt6k74.patch
1 From ad6c7d39f8898477da5e810dfc2cc7560618661f Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Tue, 21 Jul 2009 19:11:41 +0200
4 Subject: [PATCH] 055-jbt6k74.patch
5
6 ---
7  drivers/video/display/Kconfig  |   11 +++++++++++
8  drivers/video/display/Makefile |    1 +
9  2 files changed, 12 insertions(+), 0 deletions(-)
10
11 diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig
12 index f99af93..1c9e760 100644
13 --- a/drivers/video/display/Kconfig
14 +++ b/drivers/video/display/Kconfig
15 @@ -21,4 +21,15 @@ config DISPLAY_SUPPORT
16  comment "Display hardware drivers"
17         depends on DISPLAY_SUPPORT
18  
19 +config DISPLAY_JBT6K74
20 +       tristate "TPO JBT6K74-AS TFT display ASIC control interface"
21 +       depends on SPI_MASTER && SYSFS && LCD_CLASS_DEVICE
22 +       help
23 +         SPI driver for the control interface of TFT panels containing
24 +         the TPO JBT6K74-AS controller ASIC, such as the TPO TD028TTEC1
25 +         TFT diplay module used in the Openmoko Freerunner GSM phone.
26 +
27 +         The control interface is required for display operation, as it
28 +         controls power management, display timing and gamma calibration.
29 +
30  endmenu
31 diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile
32 index c0ea832..011b69d 100644
33 --- a/drivers/video/display/Makefile
34 +++ b/drivers/video/display/Makefile
35 @@ -3,4 +3,5 @@
36  display-objs                           := display-sysfs.o
37  
38  obj-$(CONFIG_DISPLAY_SUPPORT)          += display.o
39 +obj-$(CONFIG_DISPLAY_JBT6K74)          += jbt6k74.o
40  
41 -- 
42 1.5.6.5
43