From mboxrd@z Thu Jan 1 00:00:00 1970 From: Priit Laes Date: Thu, 22 Jan 2015 21:28:36 +0200 Subject: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet In-Reply-To: <20150122094732.3064bc5e@i7> References: <1421698570-1327-1-git-send-email-plaes@plaes.org> <54BE6993.1060706@redhat.com> <20150122094732.3064bc5e@i7> Message-ID: <1421954916.11253.5.camel@plaes.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2015-01-22 at 09:47 +0200, Siarhei Siamashka wrote: > On Tue, 20 Jan 2015 15:43:31 +0100 > Hans de Goede wrote: > > > Hi, [...] > > We have already talked with plaes on IRC yesterday, just now > bringing it here. I have finally updated the > http://linux-sunxi.org/LCD page to add LVDS panels data and now for > Gemei_G9 we have the following settings there: > > CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:24,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" > > CONFIG_VIDEO_LCD_PANEL_LVDS=y > # warning: unsupported 'lcd_lvds_mode' : 1 > CONFIG_VIDEO_LCD_POWER="PH8" > CONFIG_VIDEO_LCD_BL_EN="PH7" > CONFIG_VIDEO_LCD_BL_PWM="PB2" > > It's good that lcd_lvds_mode=1 apparently works without problems, > while this was not fully expected according to > http://lists.denx.de/pipermail/u-boot/2015-January/200168.html > > Also confirming whether 18-bit or 24-bit is the correct color > depth would be a good idea. This tablet has 'lcd_frm = 1' and > 'lcd_lvds_bitwidth = 0' in fex. > So I tried the 24bit depth setting and it messed up some of the colors (though black remained black and white remained white) in the penguin image in top left corner. Therefore this tablet seems to have 18bit LCD. P?ikest, Priit :)