From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Fri, 25 Sep 2015 10:09:52 +0200 Subject: [U-Boot] [PATCH] sunxi: Add generic defconfigs for A33 Q8 tablets with 1024x600 / 800x480 LCD In-Reply-To: <56050096.8000304@redhat.com> References: <1443108253-14957-1-git-send-email-hdegoede@redhat.com> <56050096.8000304@redhat.com> Message-ID: <56050150.70101@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 25-09-15 10:06, Hans de Goede wrote: > Hi, > > On 25-09-15 04:35, Chen-Yu Tsai wrote: >> On Thu, Sep 24, 2015 at 11:24 PM, Hans de Goede wrote: > > > >>> diff --git a/configs/q8_a33_tablet_800x480_defconfig b/configs/q8_a33_tablet_800x480_defconfig >>> new file mode 100644 >>> index 0000000..a9c2b62 >>> --- /dev/null >>> +++ b/configs/q8_a33_tablet_800x480_defconfig >>> @@ -0,0 +1,24 @@ >>> +CONFIG_ARM=y >>> +CONFIG_ARCH_SUNXI=y >>> +CONFIG_MACH_SUN8I_A33=y >>> +CONFIG_DRAM_CLK=456 >>> +CONFIG_DRAM_ZQ=15291 >>> +CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE" >>> +CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT" >>> +CONFIG_USB0_ID_DET="PH8" >>> +CONFIG_AXP_GPIO=y >>> +CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:167,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0" >> >> FYI my q8h-v1.5 uses a slightly different mode line: >> >> x:800,y:480,depth:18,pclk_khz:36000,le:45,ri:209,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0 > > Yes, there are multiple modelines floating around for 800x480 panels, I've > 2 A13 tablets and the modeline of the fex file from tablet a causes the images > to not be properly centered on the screen of tablet b. Luckily the other way > around does work, so for the q8_a13_tablet_defconfig I'm using the modeline > from the fex file from tablet b. I hope we can do something similar with q8 > a23 and a33 800x480 tablets. > > I've been buying q8 tablets with cracked screens To be clear s/screen/digitizer/ aka touchscreen, it usually is almost always the touchscreen which gets cracked and replacing that costs 4 usd (and half an hour of work). Regards, Hans