• Eric Miao's avatar
    [ARM] pxafb: allow better platform configurable smart panel timing · c1f99c21
    Eric Miao authored
    For smart panels (LCD panel with internal framebuffer), the following
    LCCR3 register bits have different meanings than the parallel one:
    
      LCCR3_PCP - controls the L_PCLK_WR polarity
      LCCR3_HSP - controls the L_LCLK_A0 polarity
      LCCR3_VSP - controls the L_FCLK_RD polarity
    
    To keep minimum change to the original parallel timing, the .lcd_conn
    flags and 'pxafb_mode_info.sync' are re-used to reflect this:
    
      LCD_PCLK_EDGE_{RISE,FALL} - configures LCCR3_PCP
      sync & FB_SYNC_{HOR,VERT}_HIGH_ACT - configures LCCR3_{HSP,VSP}
    Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
    c1f99c21
pxafb.c 49.3 KB