设计说明
本模块源代码在内核目录 linux-5.10/drivers/video/artinchip/disp
下,目录结构如下:
├── aic_com.h // 显示驱动共用的头文件,其中定义了寄存器、共用数据结构、全局函数等 ├── aic_fb.c // 对接 fbdev 框架,并进行扩展 ├── aic_de.c // 显示引擎驱动 ├── aic_dsi.c // mipi-dsi 显示接口驱动 ├── aic_lvds.c // lvds 显示接口驱动 ├── aic_rgb.c // rgb 显示接口驱动 ├── hw/ // 显示引擎和显示接口的寄存器封装 └── panel/ // 屏驱动
关于本模块的 bindings 文档,可查看以下目录中的 txt 文件:
- /Documentation/devicetree/bindings/display/
- /Documentation/devicetree/bindings/display/panel/
文件名 | 含义 |
---|---|
aic_hal_rgb.c | RGB 显示接口 HAL 层,操作 RGB 接口寄存器 |
aic_hal_de.c | DE 显示引擎 HAL 层,操作 DE 接口寄存器 |
aic_hal_dsi.c | MIPI-DSI 显示接口 HAL 层,操作 dsi 接口寄存器 |
aic_hal_dbi.c | MIPI-DBI 显示接口 HAL 层,操作 dbi 接口寄存器 |