]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branches 'pxa-ezx', 'pxa-magician' and 'pxa-palm' into pxa
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 10 Jul 2008 18:50:38 +0000 (19:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Jul 2008 18:50:38 +0000 (19:50 +0100)
1  2  3 
MAINTAINERS
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/Makefile
drivers/video/pxafb.c
include/asm-arm/arch-pxa/regs-lcd.h

diff --combined MAINTAINERS
index f172c4220583a931780596baf2846f1ec8be7b17,c68a1189140c75f240d197a58983ba918a7720f7,5375740cac64a89fdc1c25944603c6697f46bc6e..8a5ffef669763aa36f317d42000a5a5f630db411
@@@@ -228,21 -228,21 -228,21 +228,21 @@@@ ACPI BATTERY DRIVER
   P:   Alexey Starikovskiy
   M:   astarikovskiy@suse.de
   L:   linux-acpi@vger.kernel.org
-- W:   http://acpi.sourceforge.net/
++ W:   http://www.lesswatts.org/projects/acpi/
   S:   Supported
   
   ACPI EC DRIVER
   P:   Alexey Starikovskiy
   M:   astarikovskiy@suse.de
   L:   linux-acpi@vger.kernel.org
-- W:   http://acpi.sourceforge.net/
++ W:   http://www.lesswatts.org/projects/acpi/
   S:   Supported
   
   ACPI FAN DRIVER
   P:   Len Brown
   M:   len.brown@intel.com
   L:   linux-acpi@vger.kernel.org
-- W:   http://acpi.sourceforge.net/
++ W:   http://www.lesswatts.org/projects/acpi/
   S:   Supported
   
   ACPI PCI HOTPLUG DRIVER
@@@@ -255,14 -255,14 -255,14 +255,14 @@@@ ACPI THERMAL DRIVE
   P:   Len Brown
   M:   len.brown@intel.com
   L:   linux-acpi@vger.kernel.org
-- W:   http://acpi.sourceforge.net/
++ W:   http://www.lesswatts.org/projects/acpi/
   S:   Supported
   
   ACPI VIDEO DRIVER
   P:   Rui Zhang
   M:   rui.zhang@intel.com
   L:   linux-acpi@vger.kernel.org
-- W:   http://acpi.sourceforge.net/
++ W:   http://www.lesswatts.org/projects/acpi/
   S:   Supported
   
   ACPI WMI DRIVER
@@@@ -274,7 -274,7 -274,7 +274,7 @@@@ S:      Maintaine
   
   AD1889 ALSA SOUND DRIVER
   P:     Kyle McMartin
-- M:     kyle@parisc-linux.org
++ M:     kyle@mcmartin.ca
   P:     Thibaut Varene
   M:     T-Bone@parisc-linux.org
   W:     http://wiki.parisc-linux.org/AD1889
@@@@ -486,17 -486,6 -486,6 +486,17 @@@@ M:      kernel@wantstofly.or
   L:   linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
   S:   Maintained
   
 ++ARM/EZX SMARTPHONES (A780, A910, A1200, E680, ROKR E2 and ROKR E6)
 ++P: Daniel Ribeiro
 ++M: drwyrm@gmail.com
 ++P: Stefan Schmidt
 ++M: stefan@openezx.org
 ++P: Harald Welte
 ++M: laforge@openezx.org
 ++L: openezx-devel@lists.openezx.org (subscribers-only)
 ++W: http://www.openezx.org/
 ++S: Maintained
 ++
   ARM/GUMSTIX MACHINE SUPPORT
   P:   Steve Sakoman
   M:   sakoman@gmail.com
@@@@ -582,6 -571,6 -571,12 +582,12 @@@@ P:      Dirk Opfe
   M:   dirk@opfer-online.de
   S:   Maintained
   
++ ARM/PALMTX SUPPORT
++ P:   Marek Vasut
++ M:   marek.vasut@gmail.com
++ W:   http://hackndev.com
++ S:   Maintained
++ 
   ARM/PLEB SUPPORT
   P:   Peter Chubb
   M:   pleb@gelato.unsw.edu.au
@@@@ -993,13 -982,13 -988,6 +999,6 @@@@ L:      bonding-devel@lists.sourceforge.ne
   W:   http://sourceforge.net/projects/bonding/
   S:   Supported
   
-- BROADBAND PROCESSOR ARCHITECTURE
-- P:   Arnd Bergmann
-- M:   arnd@arndb.de
-- L:   linuxppc-dev@ozlabs.org
-- W:   http://www.penguinppc.org/ppc64/
-- S:   Supported
-- 
   BROADCOM B44 10/100 ETHERNET DRIVER
   P:   Gary Zambrano
   M:   zambrano@broadcom.com
@@@@ -1013,8 -1002,8 -1001,8 +1012,8 @@@@ L:    netdev@vger.kernel.or
   S:   Supported
   
   BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER
-- P:   Eliezer Tamir
-- M:   eliezert@broadcom.com
++ P:   Eilon Greenstein
++ M:   eilong@broadcom.com
   L:   netdev@vger.kernel.org
   S:   Supported
   
@@@@ -1063,6 -1052,6 -1051,14 +1062,14 @@@@ L:  linux-kernel@vger.kernel.or
   L:   discuss@x86-64.org
   S:   Maintained
   
++ CELL BROADBAND ENGINE ARCHITECTURE
++ P:   Arnd Bergmann
++ M:   arnd@arndb.de
++ L:   linuxppc-dev@ozlabs.org
++ L:   cbe-oss-dev@ozlabs.org
++ W:   http://www.ibm.com/developerworks/power/cell/
++ S:   Supported
++ 
   CFAG12864B LCD DRIVER
   P:   Miguel Ojeda Sandonis
   M:   maxextreme@gmail.com
@@@@ -1212,6 -1201,6 -1208,7 +1219,7 @@@@ M:    pj@sgi.co
   M:   menage@google.com
   L:   linux-kernel@vger.kernel.org
   W:   http://www.bullopensource.org/cpuset/
++ W:   http://oss.sgi.com/projects/cpusets/
   S:   Supported
   
   CRAMFS FILESYSTEM
@@@@ -1250,6 -1239,6 -1247,20 +1258,20 @@@@ L:  video4linux-list@redhat.co
   W:   http://linuxtv.org
   S:   Maintained
   
++ CXGB3 ETHERNET DRIVER (CXGB3)
++ P:   Divy Le Ray
++ M:   divy@chelsio.com
++ L:   netdev@vger.kernel.org
++ W:   http://www.chelsio.com
++ S:   Supported
++ 
++ CXGB3 IWARP RNIC DRIVER (IW_CXGB3)
++ P:   Steve Wise
++ M:   swise@chelsio.com
++ L:   general@lists.openfabrics.org
++ W:   http://www.openfabrics.org
++ S:   Supported
++ 
   CYBERPRO FB DRIVER
   P:   Russell King
   M:   rmk@arm.linux.org.uk
@@@@ -1607,7 -1596,7 -1618,7 +1629,7 @@@@ ETHERNET BRIDG
   P:   Stephen Hemminger
   M:   shemminger@linux-foundation.org
   L:   bridge@lists.linux-foundation.org
-- W:   http://bridge.sourceforge.net/
++ W:   http://www.linux-foundation.org/en/Net:Bridge
   S:   Maintained
   
   ETHERTEAM 16I DRIVER
@@@@ -1656,8 -1645,8 -1667,10 +1678,10 @@@@ W:  http://linux-fbdev.sourceforge.net
   S:   Maintained
   
   FREESCALE DMA DRIVER
-- P;   Zhang Wei
-- M:   wei.zhang@freescale.com
++ P:   Li Yang
++ M:   leoli@freescale.com
++ P:   Zhang Wei
++ M:   zw@zh-kernel.org
   L:   linuxppc-embedded@ozlabs.org
   L:   linux-kernel@vger.kernel.org
   S:   Maintained
@@@@ -1821,7 -1810,7 -1834,7 +1845,7 @@@@ S:    Maintaine
   
   HARMONY SOUND DRIVER
   P:   Kyle McMartin
-- M:   kyle@parisc-linux.org
++ M:   kyle@mcmartin.ca
   L:   linux-parisc@vger.kernel.org
   S:   Maintained
   
@@@@ -2340,7 -2329,7 -2353,8 +2364,8 @@@@ S:    Maintaine
   KERNEL BUILD (kbuild: Makefile, scripts/Makefile.*)
   P:   Sam Ravnborg
   M:   sam@ravnborg.org
-- T:   git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild.git
++ T:   git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild-next.git
++ T:   git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild-fixes.git
   L:   linux-kbuild@vger.kernel.org
   S:   Maintained
   
@@@@ -2362,24 -2351,24 -2376,24 +2387,24 @@@@ S:        Supporte
   KERNEL VIRTUAL MACHINE (KVM)
   P:   Avi Kivity
   M:   avi@qumranet.com
-- L:   kvm-devel@lists.sourceforge.net
-- W:   kvm.sourceforge.net
++ L:   kvm@vger.kernel.org
++ W:   http://kvm.qumranet.com
   S:   Supported
   
   KERNEL VIRTUAL MACHINE (KVM) FOR POWERPC
   P:   Hollis Blanchard
   M:   hollisb@us.ibm.com
-- L:   kvm-ppc-devel@lists.sourceforge.net
-- W:   kvm.sourceforge.net
++ L:   kvm-ppc@vger.kernel.org
++ W:   http://kvm.qumranet.com
   S:   Supported
   
-- KERNEL VIRTUAL MACHINE For Itanium(KVM/IA64)
++ KERNEL VIRTUAL MACHINE For Itanium (KVM/IA64)
   P:   Anthony Xu
   M:   anthony.xu@intel.com
   P:   Xiantao Zhang
   M:   xiantao.zhang@intel.com
-- L:   kvm-ia64-devel@lists.sourceforge.net
-- W:   kvm.sourceforge.net
++ L:   kvm-ia64@vger.kernel.org
++ W:   http://kvm.qumranet.com
   S:   Supported
   
   KERNEL VIRTUAL MACHINE for s390 (KVM/s390)
@@@@ -2558,7 -2547,7 -2572,6 +2583,6 @@@@ LINUX SECURITY MODULE (LSM) FRAMEWOR
   P:   Chris Wright
   M:   chrisw@sous-sol.org
   L:   linux-security-module@vger.kernel.org
-- W:   http://lsm.immunix.org
   T:   git kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git
   S:   Supported
   
@@@@ -2830,6 -2819,6 -2843,15 +2854,15 @@@@ M:  jirislaby@gmail.co
   L:   linux-kernel@vger.kernel.org
   S:   Maintained
   
++ MYRICOM MYRI-10G 10GbE DRIVER (MYRI10GE)
++ P:   Andrew Gallatin
++ M:   gallatin@myri.com
++ P:   Brice Goglin
++ M:   brice@myri.com
++ L:   netdev@vger.kernel.org
++ W:   http://www.myri.com/scs/download-Myri10GE.html
++ S:   Supported
++ 
   NATSEMI ETHERNET DRIVER (DP8381x)
   P:   Tim Hockin
   M:   thockin@hockin.org
@@@@ -2850,8 -2839,8 -2872,8 +2883,8 @@@@ S:    Maintaine
   NETEFFECT IWARP RNIC DRIVER (IW_NES)
   P:   Faisal Latif
   M:   flatif@neteffect.com
-- P:   Nishi Gupta
-- M:   ngupta@neteffect.com
++ P:   Chien Tung
++ M:   ctung@neteffect.com
   P:   Glenn Streiff
   M:   gstreiff@neteffect.com
   L:   general@lists.openfabrics.org
@@@@ -3105,7 -3094,7 -3127,7 +3138,7 @@@@ S:    Maintaine
   
   PARISC ARCHITECTURE
   P:   Kyle McMartin
-- M:   kyle@parisc-linux.org
++ M:   kyle@mcmartin.ca
   P:   Matthew Wilcox
   M:   matthew@wil.cx
   P:   Grant Grundler
@@@@ -3143,7 -3132,7 -3165,7 +3176,7 @@@@ PCI ERROR RECOVER
   P:   Linas Vepstas
   M:   linas@austin.ibm.com
   L:   linux-kernel@vger.kernel.org
-- L:   linux-pci@atrey.karlin.mff.cuni.cz
++ L:   linux-pci@vger.kernel.org
   S:   Supported
   
   PCI SUBSYSTEM
@@@@ -3249,7 -3238,7 -3271,7 +3282,7 @@@@ S:    Maintaine
   
   PPP OVER ETHERNET
   P:   Michal Ostrowski
-- M:   mostrows@speakeasy.net
++ M:   mostrows@earthlink.net
   S:   Maintained
   
   PPP OVER L2TP
@@@@ -3314,9 -3303,9 -3336,11 +3347,11 @@@@ L:  video4linux-list@redhat.co
   W:   http://www.isely.net/pvrusb2/
   S:   Maintained
   
-- PXA2xx SUPPORT
-- P:   Nicolas Pitre
-- M:   nico@cam.org
++ PXA2xx/PXA3xx SUPPORT
++ P:   Eric Miao
++ M:   eric.miao@marvell.com
++ P:   Russell King
++ M:   linux@arm.linux.org.uk
   L:   linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
   S:   Maintained
   
@@@@ -3423,10 -3412,10 -3447,7 +3458,7 @@@@ L:  rtc-linux@googlegroups.co
   S:   Maintained
   
   REISERFS FILE SYSTEM
-- P:   Hans Reiser
-- M:   reiserfs-dev@namesys.com
   L:   reiserfs-devel@vger.kernel.org
-- W:   http://www.namesys.com
   S:   Supported
   
   RFKILL
@@@@ -3646,13 -3635,13 -3667,6 +3678,6 @@@@ M:  romieu@fr.zoreil.co
   L:   netdev@vger.kernel.org
   S:   Maintained
   
-- SIS 5513 IDE CONTROLLER DRIVER
-- P:   Lionel Bouton
-- M:   Lionel.Bouton@inet6.fr
-- W:   http://inet6.dyn.dhs.org/sponsoring/sis5513/index.html
-- W:   http://gyver.homeip.net/sis5513/index.html
-- S:   Maintained
-- 
   SIS 900/7016 FAST ETHERNET DRIVER
   P:   Daniele Venzano
   M:   venza@brownhat.org
@@@@ -3777,6 -3766,6 -3791,14 +3802,14 @@@@ M:  dbrownell@users.sourceforge.ne
   L:   spi-devel-general@lists.sourceforge.net
   S:   Maintained
   
++ SPU FILE SYSTEM
++ P:   Jeremy Kerr
++ M:   jk@ozlabs.org
++ L:   linuxppc-dev@ozlabs.org
++ L:   cbe-oss-dev@ozlabs.org
++ W:   http://www.ibm.com/developerworks/power/cell/
++ S:   Supported
++ 
   STABLE BRANCH:
   P:   Greg Kroah-Hartman
   M:   greg@kroah.com
@@@@ -4010,7 -3999,7 -4032,7 +4043,7 @@@@ TULIP NETWORK DRIVER
   P:   Grant Grundler
   M:   grundler@parisc-linux.org
   P:   Kyle McMartin
-- M:   kyle@parisc-linux.org
++ M:   kyle@mcmartin.ca
   L:   netdev@vger.kernel.org
   S:   Maintained
   
@@@@ -4032,12 -4021,12 -4054,41 +4065,41 @@@@ M:        ballabio_dario@emc.co
   L:   linux-scsi@vger.kernel.org
   S:   Maintained
   
++ UCLINUX (AND M68KNOMMU)
++ P:   Greg Ungerer
++ M:   gerg@uclinux.org
++ W:   http://www.uclinux.org/
++ L:   uclinux-dev@uclinux.org  (subscribers-only)
++ S:   Maintained
++ 
++ UCLINUX FOR NEC V850
++ P:   Miles Bader
++ 
++ UCLINUX FOR RENESAS H8/300
++ P:   Yoshinori Sato
++ M:   ysato@users.sourceforge.jp
++ W:   http://uclinux-h8.sourceforge.jp/
++ S:   Supported
++ 
   UDF FILESYSTEM
   P:   Jan Kara
   M:   jack@suse.cz
   W:   http://linux-udf.sourceforge.net
   S:   Maintained
   
++ UFS FILESYSTEM
++ P:   Evgeniy Dushistov
++ M:   dushistov@mail.ru
++ L:   linux-kernel@vger.kernel.org
++ S:   Maintained
++ 
++ UltraSPARC (sparc64):
++ P:   David S. Miller
++ M:   davem@davemloft.net
++ L:   sparclinux@vger.kernel.org
++ T:   git kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git
++ S:   Maintained
++ 
   UNIFORM CDROM DRIVER
   P:   Jens Axboe
   M:   axboe@kernel.dk
@@@@ -4084,6 -4073,6 -4135,13 +4146,13 @@@@ L:  netdev@vger.kernel.or
   W:   http://www.linux-usb.org/usbnet
   S:   Maintained
   
++ USB DIAMOND RIO500 DRIVER
++ P:   Cesar Miquel
++ M:   miquel@df.uba.ar
++ L:   rio500-users@lists.sourceforge.net
++ W:   http://rio500.sourceforge.net
++ S:   Maintained
++ 
   USB EHCI DRIVER
   P:   David Brownell
   M:   dbrownell@users.sourceforge.net
@@@@ -4315,6 -4304,6 -4373,14 +4384,14 @@@@ M:  gregkh@suse.d
   L:   linux-kernel@vger.kernel.org
   S:   Maintained
   
++ UTIL-LINUX-NG PACKAGE
++ P:   Karel Zak
++ M:   kzak@redhat.com
++ L:   util-linux-ng@vger.kernel.org
++ W:   http://kernel.org/~kzak/util-linux-ng/
++ T:   git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git
++ S:   Maintained
++ 
   VFAT/FAT/MSDOS FILESYSTEM:
   P:   OGAWA Hirofumi
   M:   hirofumi@mail.parknet.co.jp
@@@@ -4338,42 -4327,42 -4404,6 +4415,6 @@@@ M:  romieu@fr.zoreil.co
   L:   netdev@vger.kernel.org
   S:   Maintained
   
-- UCLINUX (AND M68KNOMMU)
-- P:   Greg Ungerer
-- M:   gerg@uclinux.org
-- W:   http://www.uclinux.org/
-- L:   uclinux-dev@uclinux.org  (subscribers-only)
-- S:   Maintained
-- 
-- UCLINUX FOR NEC V850
-- P:   Miles Bader
-- 
-- UCLINUX FOR RENESAS H8/300
-- P:   Yoshinori Sato
-- M:   ysato@users.sourceforge.jp
-- W:   http://uclinux-h8.sourceforge.jp/
-- S:   Supported
-- 
-- UFS FILESYSTEM
-- P:   Evgeniy Dushistov
-- M:   dushistov@mail.ru
-- L:   linux-kernel@vger.kernel.org
-- S:   Maintained
-- 
-- UltraSPARC (sparc64):
-- P:   David S. Miller
-- M:   davem@davemloft.net
-- L:   sparclinux@vger.kernel.org
-- T:   git kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git
-- S:   Maintained
-- 
-- USB DIAMOND RIO500 DRIVER
-- P:   Cesar Miquel
-- M:   miquel@df.uba.ar
-- L:   rio500-users@lists.sourceforge.net
-- W:   http://rio500.sourceforge.net
-- S:   Maintained
-- 
   VIDEO FOR LINUX
   P:   Mauro Carvalho Chehab
   M:   mchehab@infradead.org
@@@@ -4407,10 -4396,10 -4437,10 +4448,10 @@@@ M:        johnpol@2ka.mipt.r
   S:   Maintained
   
   W83791D HARDWARE MONITORING DRIVER
-- P:   Charles Spirakis
-- M:   bezaur@gmail.com
++ P:   Marc Hulsman
++ M:   m.hulsman@tudelft.nl
   L:   lm-sensors@lm-sensors.org
-- S:   Odd Fixes
++ S:   Maintained
   
   W83793 HARDWARE MONITORING DRIVER
   P:   Rudolf Marek
index 3818b472022121c0a817deb5eb54bece5c002c5c,61a131fd44a75dcaddb4166707641aac0238e743,2793076bd33a710ff788afbea9fcf38f72527ec6..1a7ceb8866f9b7264d401a7e38a96a619e839612
@@@@ -189,7 -189,6 -189,7 +189,6 @@@@ config MACH_ARMCOR
   
   config MACH_MAGICIAN
        bool "Enable HTC Magician Support"
- -     depends on ARCH_PXA
        select PXA27x
        select IWMMXT
   
@@@@ -199,6 -198,6 -199,20 +198,20 @@@@ config MACH_PCM02
        select IWMMXT
        select PXA_SSP
   
++ config ARCH_PXA_PALM
++      bool "PXA based Palm PDAs"
++      select HAVE_PWM
++ 
++ config MACH_PALMTX
++      bool "Palm T|X"
++      default y
++      depends on ARCH_PXA_PALM
++      select PXA27x
++      select IWMMXT
++      help
++        Say Y here if you intend to run this kernel on a Palm T|X
++        handheld computer.
++ 
   config MACH_PCM990_BASEBOARD
        bool "PHYTEC PCM-990 development board"
        select HAVE_PWM
@@@@ -220,42 -219,6 -234,6 +233,42 @@@@ config PCM990_DISPLAY_NON
   endchoice
   
   
 ++config PXA_EZX
 ++     bool "Motorola EZX Platform"
 ++     select PXA27x
 ++     select IWMMXT
 ++     select HAVE_PWM
 ++
 ++config MACH_EZX_A780
 ++     bool "Motorola EZX A780"
 ++     default y
 ++     depends on PXA_EZX
 ++
 ++config MACH_EZX_E680
 ++     bool "Motorola EZX E680"
 ++     default y
 ++     depends on PXA_EZX
 ++
 ++config MACH_EZX_A1200
 ++     bool "Motorola EZX A1200"
 ++     default y
 ++     depends on PXA_EZX
 ++
 ++config MACH_EZX_A910
 ++     bool "Motorola EZX A910"
 ++     default y
 ++     depends on PXA_EZX
 ++
 ++config MACH_EZX_E6
 ++     bool "Motorola EZX E6"
 ++     default y
 ++     depends on PXA_EZX
 ++
 ++config MACH_EZX_E2
 ++     bool "Motorola EZX E2"
 ++     default y
 ++     depends on PXA_EZX
 ++
   endmenu
   
   config PXA25x
index 1dded6499d0b01627ae680e6869bef4ac523ceec,c4dfbe87fc4e4768f555b53a7f679836b0e70e5e,d7dc3a76e33c1ec11e36abc583791f61c7e02def..0865236513c7853659e1cd7918c1c967a233b6d3
@@@@ -37,6 -37,6 -37,7 +37,7 @@@@ obj-$(CONFIG_MACH_TOSA)               += tosa.
   obj-$(CONFIG_MACH_EM_X270)   += em-x270.o
   obj-$(CONFIG_MACH_MAGICIAN)  += magician.o
   obj-$(CONFIG_ARCH_PXA_ESERIES)       += eseries.o
++ obj-$(CONFIG_MACH_PALMTX)+= palmtx.o
   
   ifeq ($(CONFIG_MACH_ZYLONITE),y)
     obj-y                              += zylonite.o
@@@@ -46,7 -46,6 -47,6 +47,7 @@@@ endi
   obj-$(CONFIG_MACH_LITTLETON) += littleton.o
   
   obj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
 ++obj-$(CONFIG_PXA_EZX)           += ezx.o
   
   # Support for blinky lights
   led-y := leds.o
diff --combined drivers/video/pxafb.c
index 295ff4e1955ee9006d23831bf071e4ae95fcc5b4,3682bbd7e50e5c2dcbd13aec75664dae594fd1e8,736ee1d3206da184d6ee32f91a70ab288f4c6637..5cc1b8073726a7f91cec9ba6c8faf90c1cd58143
@@@@ -227,22 -227,6 -227,6 +227,22 @@@@ static int pxafb_bpp_to_lccr3(struct fb
        case 4:  ret = LCCR3_4BPP; break;
        case 8:  ret = LCCR3_8BPP; break;
        case 16: ret = LCCR3_16BPP; break;
 ++     case 24:
 ++             switch (var->red.length + var->green.length +
 ++                             var->blue.length + var->transp.length) {
 ++             case 18: ret = LCCR3_18BPP_P | LCCR3_PDFOR_3; break;
 ++             case 19: ret = LCCR3_19BPP_P; break;
 ++             }
 ++             break;
 ++     case 32:
 ++             switch (var->red.length + var->green.length +
 ++                             var->blue.length + var->transp.length) {
 ++             case 18: ret = LCCR3_18BPP | LCCR3_PDFOR_3; break;
 ++             case 19: ret = LCCR3_19BPP; break;
 ++             case 24: ret = LCCR3_24BPP | LCCR3_PDFOR_3; break;
 ++             case 25: ret = LCCR3_25BPP; break;
 ++             }
 ++             break;
        }
        return ret;
   }
@@@@ -361,41 -345,6 -345,6 +361,41 @@@@ static int pxafb_check_var(struct fb_va
                var->green.offset = 5;  var->green.length = 6;
                var->blue.offset  = 0;  var->blue.length  = 5;
                var->transp.offset = var->transp.length = 0;
 ++     } else if (var->bits_per_pixel > 16) {
 ++             struct pxafb_mode_info *mode;
 ++
 ++             mode = pxafb_getmode(inf, var);
 ++             if (!mode)
 ++                     return -EINVAL;
 ++
 ++             switch (mode->depth) {
 ++             case 18: /* RGB666 */
 ++                     var->transp.offset = var->transp.length     = 0;
 ++                     var->red.offset    = 12; var->red.length    = 6;
 ++                     var->green.offset  = 6;  var->green.length  = 6;
 ++                     var->blue.offset   = 0;  var->blue.length   = 6;
 ++                     break;
 ++             case 19: /* RGBT666 */
 ++                     var->transp.offset = 18; var->transp.length = 1;
 ++                     var->red.offset    = 12; var->red.length    = 6;
 ++                     var->green.offset  = 6;  var->green.length  = 6;
 ++                     var->blue.offset   = 0;  var->blue.length   = 6;
 ++                     break;
 ++             case 24: /* RGB888 */
 ++                     var->transp.offset = var->transp.length     = 0;
 ++                     var->red.offset    = 16; var->red.length    = 8;
 ++                     var->green.offset  = 8;  var->green.length  = 8;
 ++                     var->blue.offset   = 0;  var->blue.length   = 8;
 ++                     break;
 ++             case 25: /* RGBT888 */
 ++                     var->transp.offset = 24; var->transp.length = 1;
 ++                     var->red.offset    = 16; var->red.length    = 8;
 ++                     var->green.offset  = 8;  var->green.length  = 8;
 ++                     var->blue.offset   = 0;  var->blue.length   = 8;
 ++                     break;
 ++             default:
 ++                     return -EINVAL;
 ++             }
        } else {
                var->red.offset = var->green.offset = 0;
                var->blue.offset = var->transp.offset = 0;
@@@@ -427,7 -376,7 -376,7 +427,7 @@@@ static int pxafb_set_par(struct fb_inf
        struct pxafb_info *fbi = (struct pxafb_info *)info;
        struct fb_var_screeninfo *var = &info->var;
   
 --     if (var->bits_per_pixel == 16)
 ++     if (var->bits_per_pixel >= 16)
                fbi->fb.fix.visual = FB_VISUAL_TRUECOLOR;
        else if (!fbi->cmap_static)
                fbi->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR;
   
        fbi->fb.fix.line_length = var->xres_virtual *
                                  var->bits_per_pixel / 8;
 --     if (var->bits_per_pixel == 16)
 ++     if (var->bits_per_pixel >= 16)
                fbi->palette_size = 0;
        else
                fbi->palette_size = var->bits_per_pixel == 1 ?
         */
        pxafb_set_truecolor(fbi->fb.fix.visual == FB_VISUAL_TRUECOLOR);
   
 --     if (fbi->fb.var.bits_per_pixel == 16)
 ++     if (fbi->fb.var.bits_per_pixel >= 16)
                fb_dealloc_cmap(&fbi->fb.cmap);
        else
                fb_alloc_cmap(&fbi->fb.cmap, 1<<fbi->fb.var.bits_per_pixel, 0);
@@@@ -624,8 -573,8 -573,8 +624,8 @@@@ static int setup_frame_dma(struct pxafb
                dma_desc->fdadr = fbi->dma_buff_phys + dma_desc_off;
                fbi->fdadr[dma] = fbi->dma_buff_phys + dma_desc_off;
        } else {
--              pal_desc = &fbi->dma_buff->pal_desc[dma];
--              pal_desc_off = offsetof(struct pxafb_dma_buff, dma_desc[pal]);
++              pal_desc = &fbi->dma_buff->pal_desc[pal];
++              pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]);
   
                pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE;
                pal_desc->fidr  = 0;
@@@@ -882,8 -831,6 -831,6 +882,8 @@@@ static int pxafb_activate_var(struct fb
                case 4:
                case 8:
                case 16:
 ++             case 24:
 ++             case 32:
                        break;
                default:
                        printk(KERN_ERR "%s: invalid bit depth %d\n",
@@@@ -1021,11 -968,6 -968,6 +1021,11 @@@@ static void pxafb_setup_gpio(struct pxa
   
        for (gpio = 58; ldd_bits; gpio++, ldd_bits--)
                pxa_gpio_mode(gpio | GPIO_ALT_FN_2_OUT);
 ++     /* 18 bit interface */
 ++     if (fbi->fb.var.bits_per_pixel > 16) {
 ++             pxa_gpio_mode(86 | GPIO_ALT_FN_2_OUT);
 ++             pxa_gpio_mode(87 | GPIO_ALT_FN_2_OUT);
 ++     }
        pxa_gpio_mode(GPIO74_LCD_FCLK_MD);
        pxa_gpio_mode(GPIO75_LCD_LCLK_MD);
        pxa_gpio_mode(GPIO76_LCD_PCLK_MD);
@@@@ -1334,6 -1276,6 -1276,8 +1334,8 @@@@ static int __init pxafb_map_video_memor
                fbi->dma_buff_phys = fbi->map_dma;
                fbi->palette_cpu = (u16 *) fbi->dma_buff->palette;
   
++              pr_debug("pxafb: palette_mem_size = 0x%08lx\n", fbi->palette_size*sizeof(u16));
++ 
   #ifdef CONFIG_FB_PXA_SMARTPANEL
                fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff;
                fbi->n_smart_cmds = 0;
@@@@ -1409,7 -1351,7 -1353,6 +1411,6 @@@@ static struct pxafb_info * __init pxafb
        struct pxafb_info *fbi;
        void *addr;
        struct pxafb_mach_info *inf = dev->platform_data;
--      struct pxafb_mode_info *mode = inf->modes;
   
        /* Alloc the pxafb_info and pseudo_palette in one step */
        fbi = kmalloc(sizeof(struct pxafb_info) + sizeof(u32) * 16, GFP_KERNEL);
index 999b2a02ce21bafe963c98b66c8c44d49e02bbb8,f762493f51418dc33a46dea0ad3a68b799b745af,3ba464c913a5d9afa891e1d4a761973f2f5889bb..820a189684a9308109ecb712fade173302c5a345
@@@@ -1,5 -1,5 -1,8 +1,8 @@@@
   #ifndef __ASM_ARCH_REGS_LCD_H
   #define __ASM_ARCH_REGS_LCD_H
++ 
++ #include <asm/arch/bitfield.h>
++ 
   /*
    * LCD Controller Registers and Bits Definitions
    */
   #define LCCR3_4BPP   (2 << 24)
   #define LCCR3_8BPP   (3 << 24)
   #define LCCR3_16BPP  (4 << 24)
 ++#define LCCR3_18BPP  (5 << 24)
 ++#define LCCR3_18BPP_P        (6 << 24)
 ++#define LCCR3_19BPP  (7 << 24)
 ++#define LCCR3_19BPP_P        (1 << 29)
 ++#define LCCR3_24BPP  ((1 << 29) | (1 << 24))
 ++#define LCCR3_25BPP  ((1 << 29) | (2 << 24))
   
   #define LCCR3_PDFOR_0        (0 << 30)
   #define LCCR3_PDFOR_1        (1 << 30)
   #define LCCR0_QDM    (1 << 11)       /* LCD Quick Disable mask */
   #define LCCR0_PDD    (0xff << 12)    /* Palette DMA request delay */
   #define LCCR0_PDD_S  12
-- #define LCCR0_BM     (1 << 20)       /* Branch mask */
++ #define LCCR0_BM     (1 << 20)       /* Branch mask */
   #define LCCR0_OUM    (1 << 21)       /* Output FIFO underrun mask */
   #define LCCR0_LCDT   (1 << 22)       /* LCD panel type */
   #define LCCR0_RDSTM  (1 << 23)       /* Read status interrupt mask */