TI中文支持网
TI专业的中文技术问题搜集分享网站

AM335X LCD controller

您好:

    在am335x平台上使用一款LCD屏,设备树配置如下:  

panel {
compatible = "ti,tilcdc,panel";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&lcd_pins_s0>;
backlight = <&lcd_bl>;
panel-info {
ac-bias = <255>;
ac-bias-intrpt = <0>;
dma-burst-sz = <16>;
bpp = <16>;
fdd = <0x80>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order = <0>;
tft-alt-mode = <1>; fifo-th = <0>;
};

display-timings {
native-mode = <&timing0>;
timing0: 800×480 {
clock-frequency = <30000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <40>;
hsync-len = <6>;
vback-porch = <18>;
vfront-porch = <22>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
};
};
};

&lcdc {
status = "okay";

blue-and-red-wiring = "crossed";
};

时序是参考技术手册配的,启动后发现屏一直是白屏,还有一些彩色条纹,是我设备树配置有问题吗?

Steven Liu1:

时序配置的有问题?记得之前写过一篇文档,参考这个检查一下?

AM335x Linux下LCD屏幕的配置

赞(0)
未经允许不得转载:TI中文支持网 » AM335X LCD controller
分享到: 更多 (0)