From: Anatolij Gustschin Date: Tue, 13 Mar 2012 13:13:57 +0000 (+0100) Subject: fbdev: da8xx: add support for SP10Q010 display X-Git-Tag: v3.4-rc1~125^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f413070e3f0bccb40ca939b90699347daf815607;p=pandora-kernel.git fbdev: da8xx: add support for SP10Q010 display 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: Anatolij Gustschin Cc: Manjunathappa, Prakash Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed