|
发表于 2019-4-12 10:40:13
只看该作者
沙发
补充:上面显示不全,补上
&lvds_panel {
status = "okay";
compatible ="simple-panel";
//backlight = <&backlight>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
power-supply = <&vcc_lcd>;
delay,disable = <10>;
enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
//rockchip,data-mapping = "jeida";
rockchip,data-mapping = "vesa";
rockchip,data-width = <24>;
rockchip,output = "duallvds";
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <148000000>;
hactive = <1920>; /* Horizontal display area thd 1024 DCLK */
vactive = <1080>; /* Vertical display area tvd 600 H */
hback-porch = <48>; /* HS Width +Back Porch 160 160 160 DCLK (Thw+ thbp)*/
hfront-porch = <60>; /* HS front porch thfp 16 160 216 DCLK */
vback-porch = <8>; /* VS front porch tvfp 1 12 127 H */
vfront-porch = <33>; /* VS Width+Back Porch 23 23 23 H (Tvw+ tvbp) */
hsync-len = <32>; /* HS Pulse Width thw 1 - 140 DCLK */
vsync-len = <4>; /* VS Pulse Width tvw 1 - 20 H */
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
}; |
|