|
发表于 2019-12-24 09:58:06
只看该作者
板凳
你好,请问规格书是值得核心板的规格书还是显示屏的规格书呢?另外,rockchip,lane-rate这个参数在什么位置呢?
下面是完整的dis配置:
&dsi {
status = "okay";
dsi_panel: panel {
compatible ="simple-panel-dsi";
reg = <0>;
backlight = <&backlight>;
enable-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&lcd_panel_pwr_en &lcd_panel_reset >;
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 = <35>;
prepare-delay-ms = <6>;
unprepare-delay-ms = <0>;
disable-delay-ms = <20>;
size,width = <120>;
size,height = <170>;
status = "okay";
panel-init-sequence = [
29 02 06 3C 01 09 00 07 00
29 02 06 14 01 06 00 00 00
29 02 06 64 01 0B 00 00 00
29 02 06 68 01 0B 00 00 00
29 02 06 6C 01 0B 00 00 00
29 02 06 70 01 0B 00 00 00
29 02 06 34 01 1F 00 00 00
29 02 06 10 02 1F 00 00 00
29 02 06 04 01 01 00 00 00
29 02 06 04 02 01 00 00 00
29 02 06 50 04 20 01 F0 03
29 02 06 54 04 19 00 5A 00
29 02 06 58 04 20 03 24 00
29 02 06 5C 04 0A 00 19 00
29 02 06 60 04 00 05 0A 00
29 02 06 64 04 01 00 00 00
29 02 06 A0 04 06 80 44 00
29 02 06 A0 04 06 80 04 00
29 02 06 04 05 04 00 00 00
29 02 06 80 04 00 01 02 03
29 02 06 84 04 04 07 05 08
29 02 06 88 04 09 0A 0E 0F
29 02 06 8C 04 0B 0C 0D 10
29 02 06 90 04 16 17 11 12
29 02 06 94 04 13 14 15 1B
29 02 06 98 04 18 19 1A 06
/*
29 02 06 80 04 1A 1A 1A 1A
29 02 06 84 04 1A 19 1A 1A
29 02 06 88 04 18 18 19 19
29 02 06 8C 04 18 18 18 18
29 02 06 90 04 19 19 18 12
29 02 06 94 04 13 14 15 19
29 02 06 98 04 18 19 1A 19
*/
29 02 06 9C 04 31 04 00 00
];
panel-exit-sequence = [
05 05 01 28
05 78 01 10
];
disp_timings: display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <69960000>;
hactive = <1280>;
vactive = <800>;
hsync-len = <10>;
hback-porch = <100>;
hfront-porch = <200>;
vsync-len = <20>;
vback-porch = <50>;
vfront-porch = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
};
|
|