rk3399点32寸HV320FHB LVDS出现花屏
本帖最后由 风在摇曳风铃 于 2019-2-16 10:31 编辑如果我点21.5寸屏不会花屏,但是点32寸的屏就出现花屏,调试了半天也查不出到底什么原因,也不知道如何调试。
dts源码如下:
&dsi {
enable-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
status = "okay";
rockchip,lane-rate = <1000>;
panel@0 {
compatible ="simple-panel-dsi";
reg = <0>;
backlight = <&backlight>;
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_RGB888_1X24>;
dsi,lanes = <4>;
panel-init-sequence = [
29 00 06 3C 01 09 00 07 00
29 00 06 14 01 06 00 00 00
29 00 06 64 01 0B 00 00 00
29 00 06 68 01 0B 00 00 00
29 00 06 6C 01 0B 00 00 00
29 00 06 70 01 0B 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 20 01 F0 03
29 00 06 54 04 32 00 B4 00
29 00 06 58 04 80 07 48 00
29 00 06 5C 04 0A 00 19 00
29 00 06 60 04 38 04 0A 00
29 00 06 64 04 01 00 00 00
29 01 06 A0 04 06 80 44 00
29 00 06 A0 04 06 80 04 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 00 06 98 04 18 19 1A 06
29 02 06 9C 04 33 04 00 00
];
panel-exit-sequence = [
05 05 01 28
05 78 01 10
];
display-timings {
native-mode = <&timing_32inch>;
//native-mode = <&timing0>;
timing0: timing0 {
/*21.5 inch ok*/
clock-frequency = <148500000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <100>;
hfront-porch = <160>;
vback-porch = <25>;
vfront-porch = <10>;
hsync-len = <20>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
timing_32inch: timing_32inch {
clock-frequency = <132975000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <40>;
hfront-porch = <5>;
vback-porch = <30>;
vfront-porch = <10>;
hsync-len = <5>;
vsync-len = <5>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
}; 屏为双8LVDS接口 屏幕显示状态: 能看出是什么原因导致的吗 风在摇曳风铃 发表于 2019-2-22 10:14
能看出是什么原因导致的吗
display-timings和panel-init-sequence需要一起配置 最新屏参 leung先森 发表于 2019-2-22 10:53
display-timings和panel-init-sequence需要一起配置
现在已经修改一致了,还是出现问题。配置在下图 这问题已经拖了很久了,有谁能帮忙看下?十分感谢!这是该屏的屏参 一样的屏,一样的平台,用如下参数,以供其它人参考。
/*
* Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
/dts-v1/;
#include "rk3399-common.dtsi"
/ {
};
&dsi {
status = "okay";
rockchip,lane-rate = <862>;
panel@0 {
compatible = "simple-panel-dsi";
reg = <0>;
backlight = <&backlight>;
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
enable-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
reset-delay-ms = <160>;
enable-delay-ms = <160>;
prepare-delay-ms = <160>;
unprepare-delay-ms = <160>;
disable-delay-ms = <160>;
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>;
dsi,lanes = <4>;
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 64 00
29 00 06 58 04 80 07 a0 00
29 00 06 5c 04 0a 00 19 00
29 00 06 60 04 38 04 0a 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
];
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
//32 inch screen
clock-frequency = <123750000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <100>;
hsync-len = <20>;
hfront-porch = <160>;
vback-porch = <25>;
vfront-porch = <10>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
};
&route_dsi {
status = "okay";
logo,mode = "center";
};
大神,救命啊,我们也遇到了和您相同的问题,RK3399通过东芝775芯片点21寸屏没问题,点32寸京东方屏偶尔上电会上下抖,启动20次左右会出现一次抖屏,出现了就一直抖除非重启。想看下您最终的代码,如能解决问题,必有重谢
页:
[1]
2