Skip to content
  • eric miao's avatar
    pxafb: introduce register independent LCD connection type for pxafb · 84f43c30
    eric miao authored
    
    
    Reasons:
    
      1. straight forward: the name "LCD_COLOR_DSTN_16BPP" is much better
         than "LCCR0_Pas | LCCR0_Color | LCCR0_Dual"
    
      2. by defining LCD connection types as constants, it allows only
         valid possibilities
    
      3. by removing the dependency of register bits definitions, those
         can be later moved into the body of pxafb.c, instead of having
         a regs-lcd.h around
    
    Currently, only lubbock, mainstone, zylonite and littleton have been
    modified to support these types (see coming patches after this).
    Other platforms are encouraged to change their way describing the
    LCD controller connections.
    
    Signed-off-by: default avatareric miao <eric.miao@marvell.com>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    84f43c30