our board is mx6q,and android version is 4.4.3_r1. kernel 3.10.53 u-boot 2014.04
below is the u-boot seting.
static struct display_info_t const displays[] = {{
.bus = -1,
.addr = 0,
.pixfmt = IPU_PIX_FMT_RGB666,
.detect = NULL,
.enable = NULL,
.mode = {
.name = "Hannstar-XGA",
.refresh = 60,
.xres = 800,//1024,
.yres = 480,//768,
.pixclock = 19531,//15385,
.left_margin = 160,//220,
.right_margin = 160,//40,
.upper_margin = 18,//21,
.lower_margin = 18,//7,
.hsync_len = 60,
.vsync_len = 10,
.sync = FB_SYNC_EXT,
.vmode = FB_VMODE_NONINTERLACED
} }
below is the kernel device tree seting
| lvds-channel@0 { |
| | crtc = "ipu2-di0"; |
| | status = "okay"; |
| | fsl,data-mapping = "spwg"; |
| | fsl,data-width = <18>; |
| | display-timings { |
| | | native-mode = <&timing0>; |
| | | timing0: hsd100pxn1 { |
| | | | clock-frequency = <65000000>; |
| | | | hactive = <800>; |
| | | | vactive = <480>; |
| | | | hback-porch = <160>; |
| | | | hfront-porch = <160>; |
| | | | vback-porch = <18>; |
| | | | vfront-porch = <18>; |
| | | | hsync-len = <60>; |
| | | | vsync-len = <10>; |
| | | }; |
| | }; |
| }; |