Difference between revisions of "Translations:LeMaker Guitar:LCD/20/zh-hans"

From BananaPro/Pi
Jump to: navigation, search
(Created page with "'''第2步''':配置7寸LCD分辨率('''1024* 600)<br /> 编辑kernel dts文件:''linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts''。设置refresh=...")
 
 
Line 1: Line 1:
 
'''第2步''':配置7寸LCD分辨率('''1024* 600)<br />
 
'''第2步''':配置7寸LCD分辨率('''1024* 600)<br />
 
编辑kernel dts文件:''linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts''。设置refresh= <60>, xres = <1024>, yres = <600>。
 
编辑kernel dts文件:''linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts''。设置refresh= <60>, xres = <1024>, yres = <600>。
<source lang="bash">
 
lcd0: lcd0@b02a0000 {
 
pinctrl-names = "default";
 
pinctrl-0 = <&lvds_state_default>;
 
lcd_power_gpios = <&gpio 36 0>;    /*GPIOB4*/
 
lcd_reset_gpios = <&gpio 49 0>;    /*GPIOB17*/
 
port_type = "lvds";
 
data_width = <0>;     /* 0:24bit ,1:18bit */
 
videomode-0 = <&lcd_mode0>;
 
vsync_inversion = <0>;
 
hsync_inversion = <0>;
 
dclk_inversion = <0>;
 
lde_inversion = <0>;
 
lvds_ctl = <0x000a9523>;     /* last two bit: 3:8bit ,1:6bit */
 
lvds_alg_ctl0 = <0xc141a030>;
 
lightness = <128>;
 
saturation = <7>;
 
contrast = <5>;
 
lcd_mode0:mode@1024x600p60 {
 
refresh = <60>;              /* 刷新频率*/
 
xres = <1024>;              /* 宽度 */
 
yres = <600>;                /* 高度*/
 
/*in pico second, 0.000 000 000 001s*/
 
pixclock = <20000>;
 
left_margin = <56>;
 
right_margin = <60>;
 
upper_margin = <13>;
 
lower_margin = <18>;
 
hsync_len = <4>;
 
vsync_len = <4>;
 
/*0: FB_VMODE_NONINTERLACED, 1:FB_VMODE_INTERLACED*/
 
vmode = <0>;
 
};
 
};
 

Latest revision as of 17:52, 15 June 2016

Message definition (LeMaker Guitar:LCD)
'''Step 2''': Configure 7 inch LCD resolution('''1024* 600)<br />
Edit the kernel dts file: ''linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts''. set refresh = <60>, xres = <1024>, yres = <600>.
Translation'''第2步''':配置7寸LCD分辨率('''1024* 600)<br />
编辑kernel dts文件:''linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts''。设置refresh= <60>, xres = <1024>, yres = <600>。

第2步:配置7寸LCD分辨率(1024* 600)
编辑kernel dts文件:linux-actions-bsp/linux-actions/arch/arm/boot/dts/lemaker_guitar_bbb.dts。设置refresh= <60>, xres = <1024>, yres = <600>。