RK3399调试LG的双LVDS屏幕出现花屏
http://note.youdao.com/yws/res/1013/WEBRESOURCEb6733562f397848ba04f2d005c7cfbbf &dsi {status = "okay";
rockchip,lane-rate = <864>;//lvds_clock*6*2
dsi_panel: panel {
compatible ="simple-panel-dsi";
reg = <0>;
//ddc-i2c-bu
//power-supply = <&vcc_lcd>;
//pinctrl-0 = <&lcd_panel_reset &lcd_panel_enable>;
backlight = <&backlight>;
/*
enable-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
*/
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
dsi,format = <MIPI_DSI_FMT_RGB888>;
//bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
//dsi,lvds-force-clk = <800>; // 800/2/3 ~= 65Mhz
dsi,lanes = <4>;
dsi,channel = <0>;
enable-delay-ms = <70>;
prepare-delay-ms = <12>;
unprepare-delay-ms = <12>;
disable-delay-ms = <30>;
size,width = <527>;
size,height = <297>;
status = "okay";
panel-init-sequence = [
29 00 06 14 01 08 00 00 00
29 00 06 3c 01 0c 00 0a 00
29 00 06 64 01 0c 00 00 00
29 00 06 68 01 0c 00 00 00
29 00 06 6c 01 0c 00 00 00
29 00 06 70 01 0c 00 00 00
29 00 06 34 01 1f 00 00 00
29 00 06 10 02 1f 00 00 00
29 00 06 04 01 01 00 00 00
29 00 06 04 02 01 00 00 00
29 00 06 50 04 00 01 f0 03
29 00 06 54 04 14 00 50 00
29 00 06 58 04 80 07 9c 00
29 00 06 5c 04 05 00 0a 00
29 00 06 60 04 38 04 05 00
29 00 06 64 04 01 00 00 00
29 00 06 a0 04 06 c0 00 00
29 00 06 04 05 04 00 00 00
29 00 06 80 04 00 01 02 03
29 00 06 84 04 04 07 05 08
29 00 06 88 04 09 0a 0e 0f
29 00 06 8c 04 0b 0c 0d 10
29 00 06 90 04 16 17 11 12
29 00 06 94 04 13 14 15 1b
29 14 06 98 04 18 19 1a 06
29 78 06 9c 04 33 04 00 00
];
panel-exit-sequence = [
05 05 01 28
05 78 01 10
];
power_ctr: power_ctr {
rockchip,debug = <0>;
power_enable = <1>;
bl_en:bl_en {
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_bl_en>;
rockchip,delay = <0>;
};
lcd_en:lcd_en {
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_lcd_en>;
rockchip,delay = <10>;
};
lcd_pwr_en: lcd-pwr-en {
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_pwr_en>;
rockchip,delay = <10>;
};
lcd_rst: lcd-rst {
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_reset>;
rockchip,delay = <6>;
};
};
disp_timings: display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <72000000>; //@60
hactive = <1920>;
vactive = <1080>;
hsync-len = <80>; //20, 50
hback-porch = <20>; //50, 56
hfront-porch = <156>;//50, 30 //1580
vsync-len = <5>;
vback-porch = <10>;
vfront-porch = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
};
面板是LG的 LM238WF1不管怎么调节 都是花屏,希望能在这里得到一些有用的信息,谢谢。
问题已解决,成功点亮屏幕。 hh3151128 发表于 2020-10-16 10:48
问题已解决,成功点亮屏幕。
怎么搞 leezj 发表于 2020-10-19 14:59
怎么搞
屏幕规格书拿数据,有需求可以加我微信,hh3151128
页:
[1]