LTDC外设配置
LCD-TFT(Liquid Crystal Display - Thin Film Transistor)显示控制器外设(LTDC)用于为各种并行数字RGB LCD和TFT显示面板提供接口。
LTDC生成并行数字RGB信号和相关的控制信号(水平和垂直同步,像素时钟和数据使能)。此外,LTDC连接到DSI内部外围设备,该外围设备提供了与MIPI®DSI兼容显示面板进行通信的接口。
特性:
提供最大24bit的并行RGB信号
最大分辨率WXGA(1366x768) @60fps
2个带有专用FIFO的显示层
LTDC外设的信号
LCD-TFT signals | I/O | Description |
LCD_CLK | O | Clock output |
LCD_HSYNC | O | Horizontal synchronization |
LCD_VSYNC | O | Vertical synchronization |
LCD_DE | O | Not data enable |
LCD_R[7:0] | O | Data: 8-bit red data |
LCD_G[7:0] | O | Data: 8-bit green data |
LCD_B[7:0] | O | Data: 8-bit blue data |
Domain | Peripheral | Runtime allocation | Comment | |||
Instance | Cortex-A7 secure (OP-TEE) | Cortex-A7 non-secure (Linux) | Cortex-M4 (STM32Cube) | |||
Visual | LTDC | LTDC | ☐ |
LTDC配置为RGB-TFT液晶
/{
panel_rgb: panel-rgb {
compatible = "innolux,at070tn92";
//compatible = "innolux,zj070na-01p";
//compatible = "innolux,at043tn24";
pinctrl-names = "default", "sleep";
pinctrl-0 = <ltdc_pins_b>;
pinctrl-1 = <ltdc_pins_sleep_b>;
backlight = <&panel_backlight>;
status = "okay";
port {
panel_in_rgb: endpoint {
remote-endpoint = <<dc_out_rgb>;
};
};
};
<dc {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
ltdc_ep0_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&sii9022_in>;
};
};
};
作者:SteveChen 创建时间:2024-09-18 14:47
最后编辑:SteveChen 更新时间:2024-09-18 14:48
最后编辑:SteveChen 更新时间:2024-09-18 14:48