REL 1.0
Page 20 of 59
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15M Android User Manual
2.4.4
Display device on the Linux Image
This chapter describes how to set up the display device in the device tree. Here, the LCD display is connected with
LVDS0 channel. The LCD display supports 800x480 resolution, RGB666 pixel format and 16 bpp.
Add the display formats in the frame buffer as mentioned below
mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
Add the display timing parameters such as horizontal and vertical active period, blanking period, pixel clock,
etc., as mentioned below in following driver path “drivers/video/fbdev/mxc/mxc_lcdif.c”
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
primary;
crtc = "ipu1-di0";
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: ldb-wvga {
clock-frequency = <33260000>;
hactive = <800>;
vactive = <480>;
hback-porch = <88>;
hfront-porch = <40>;
vback-porch = <33>;
vfront-porch = <10>;
hsync-len = <128>;
vsync-len = <2>;
};
};
};
};
2.4.5
Modify display density
Default display density is set to 128. To fit the GUI properly in the LCD screen, reduce the display density in init.rc file
setprop ro.sf.lcd_density 128