1. 19 Mar, 2012 2 commits
    • Anatolij Gustschin's avatar
      fbdev: da8xx: add support for SP10Q010 display · f413070e
      Anatolij Gustschin authored
      Add timing data for Hitachi SP10Q010 display and allow configuration
      of the 4bpp palette. For 4bpp framebuffer enable reversed order of
      pixels in a byte. This requires defining FB_CFB_REV_PIXELS_IN_BYTE
      and additionally setting var.nonstd to the value FB_NONSTD_REV_PIX_IN_B.
      Note that it is not enough to set da8xx_fb_var.nonstd to this value
      statically, since FBIOPUT_VSCREENINFO ioctl might pass var struct with
      .nonstd field set to zero or another value. Therefore this setting must
      be adjusted in fb_check_var() according to the requested bpp value.
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Manjunathappa, Prakash <prakash.pm@ti.com>
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      f413070e
    • Anatolij Gustschin's avatar
      fbdev: da8xx:: fix reporting of the display timing info · 084e104b
      Anatolij Gustschin authored
      Timing info is not properly reported by the driver, e.g.:
      
      $ fbset -i
      mode "480x272-35"
          # D: 7.895 MHz, H: 12.165 kHz, V: 35.158 Hz
          geometry 480 272 480 544 16
          timings 126666 64 64 32 32 41 10
      
      According to the timing values defined for LK043T1DG01 display
      it should be reported as:
      
      mode "480x272-53"
          # D: 7.895 MHz, H: 15.038 kHz, V: 52.579 Hz
          geometry 480 272 480 544 16
          timings 126666 2 2 2 2 41 10
      
      Initialize additional fb_var_screeninfo fields so fix this problem.
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Manjunathappa, Prakash <prakash.pm@ti.com>
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      084e104b
  2. 13 Mar, 2012 3 commits
  3. 12 Mar, 2012 35 commits