r3685 - branches/src/target/kernel/2.6.24.x/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Wed Dec 19 10:56:51 CET 2007


Author: laforge
Date: 2007-12-19 10:56:49 +0100 (Wed, 19 Dec 2007)
New Revision: 3685

Modified:
   branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch
Log:
JBT6K74: 
* add more verbose description
* rename CONFIG_SPI_SLAVE_JBT6K74 to CONFIG_SPI_JBT6K74
* remove inconsistent naming (JP6K74)


Modified: branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch	2007-12-19 09:34:34 UTC (rev 3684)
+++ branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch	2007-12-19 09:56:49 UTC (rev 3685)
@@ -1,34 +1,45 @@
-This driver adds support for LCM initialization of the JBT6K74 LCM
-as found on the FIC GTA01 hardware
+This driver adds support for the SPI-based control interface of the LCM (LCD
+Panel) found on the FIC GTA01 hardware.  
 
+The specific panel in this hardware is a TPO TD028TTEC1, but the driver should
+be able to drive any other diplay based on the JBT6K74-AS controller ASIC.
+
 Signed-off-by: Harald Welte <laforge at openmoko.org>
 
 Index: linux-2.6/drivers/spi/Kconfig
 ===================================================================
 --- linux-2.6.orig/drivers/spi/Kconfig
 +++ linux-2.6/drivers/spi/Kconfig
-@@ -237,5 +237,11 @@
+@@ -231,6 +231,17 @@
+ 	  sysfs interface, with each line presented as a kind of GPIO
+ 	  exposing both switch control and diagnostic feedback.
  
- # (slave support would go here)
- 
-+config SPI_SLAVE_JBT6K74
-+	tristate "tpo JP6K74 LCM ASIC control interface"
++config SPI_JBT6K74
++	tristate "TPO JBT6K74-AS TFT display ASIC control interface"
 +	depends on SPI_MASTER && SYSFS
 +	help
-+	  Driver for the tpo JP6K74-AS LCM SPI control interface.
++	  SPI driver for the control interface of TFT panels containing
++	  the TPO JBT6K74-AS controller ASIC, such as the TPO TD028TTEC1
++	  TFT diplay module used in the FIC/OpenMoko Neo1973 GSM phones.
 +
- endmenu # "SPI support"
- 
++	  The control interface is required for display operation, as it
++	  controls power management, display timing and gamma calibration.
++
+ #
+ # Add new SPI protocol masters in alphabetical order above this line
+ #
 Index: linux-2.6/drivers/spi/Makefile
 ===================================================================
 --- linux-2.6.orig/drivers/spi/Makefile
 +++ linux-2.6/drivers/spi/Makefile
-@@ -39,4 +39,5 @@
+@@ -33,6 +33,7 @@
+ obj-$(CONFIG_SPI_AT25)		+= at25.o
+ obj-$(CONFIG_SPI_SPIDEV)	+= spidev.o
+ obj-$(CONFIG_SPI_TLE62X0)	+= tle62x0.o
++obj-$(CONFIG_SPI_JBT6K74)	+= jbt6k74.o
  # 	... add above this line ...
  
- # SPI slave drivers (protocol for that link)
-+obj-$(CONFIG_SPI_SLAVE_JBT6K74)		+= jbt6k74.o
- # 	... add above this line ...
+ # SPI slave controller drivers (upstream link)
 Index: linux-2.6/drivers/spi/jbt6k74.c
 ===================================================================
 --- /dev/null
@@ -670,7 +681,7 @@
  config MACH_QT2410
  	bool "QT2410"
  	select CPU_S3C2410
-+	select SPI_SLAVE_JBT6K74
++	select SPI_JBT6K74
  	help
  	   Say Y here if you are using the Armzone QT2410
  





More information about the commitlog mailing list