AW_LCD
For each Allwinner SoC based solution, display interface listed below:
| Board | SoC | Display Output Interfaces |
|---|---|---|
| K2B | H618 | HDMI |
| K2C | H618 | HDMI |
| K4B | T113 | MIPI DSI, Single LVDS |
| K5C | A133 | MIPI DSI, Single LVDS, Dual LVDS |
| K9 | T527 | MIPI DSI、Single LVDS、Dual LVDS、HDMI |
| K10B | A733 | MIPI DSI、Single LVDS、HDMIS |
Terminology
| Term | Description |
|---|---|
| HDMI | High-Definition Multimedia Interface. |
| MIPI DSI | Mobile Industry Processor Interface Display Serial Interface. |
| Single LVDS | Single-Channel Low-Voltage Differential Signaling. |
| Dual LVDS | Dual-Channel Low-Voltage Differential Signaling. |
Display Qualified Products List
Note
Path annotations indicate the display interface and display model configuration, e.g., MIPI DSI - AT101DS40I refers to the MIPI DSI interface based AT101DS40I (model) display.
MIPI DSI interface screen peripheral information is as follows:
| Model | Size | Resolution | Touch |
|---|---|---|---|
| AT101DS40I | 10.1-inch | 800x1280 | Y |
| MX101BA1340 | 10.1-inch | 800x1280 | Y |
| MX080B2140 | 8.0-inch | 800x1280 | Y |
| F050008M01 | 5.0-inch | 720x1280 | Y |
LVDS interface screen peripheral information is as follows:
| Interface Type | Model | Size | Resolution | Touch |
|---|---|---|---|---|
| LVDS Single link | MX070IBC | 7.0-inch | 1024x600 | Y |
| LVDS Dual link | / | 21~27 inch | 1920x1080 | N |
DTS Configuration
T113
The DTS configuration paths for screens on the T113 platform (K4B) are as follows:
// MIPI DSI - AT101DS40I
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/t113-s3-kickpi-lcd-mipi-10-800-1280-v1.dtsi
kernel/linux-5.4/arch/arm/boot/dts/t113-s3-kickpi-lcd-mipi-10-800-1280-v1.dtsi
// MIPI DSI - MX101BA1340
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/t113-s3-kickpi-lcd-mipi-10-800-1280-v2.dtsi
kernel/linux-5.4/arch/arm/boot/dts/t113-s3-kickpi-lcd-mipi-10-800-1280-v2.dtsi
// MIPI DSI - F050008M01
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/t113-s3-kickpi-lcd-mipi-5-720-1280.dtsi
kernel/linux-5.4/arch/arm/boot/dts/t113-s3-kickpi-lcd-mipi-5-720-1280.dtsi
// MIPI DSI - MX080B2140
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/t113-s3-kickpi-lcd-mipi-8-800-1280.dtsi
kernel/linux-5.4/arch/arm/boot/dts/t113-s3-kickpi-lcd-mipi-8-800-1280.dtsi
A133
The DTS configuration paths for screens on the A133 platform (K5C) are as follows:
// MIPI DSI - MX101BA1340
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-mipi-10-800-1280-v2.dtsi
// MIPI DSI - AT101DS40I
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-mipi-10-800-1280-v1.dtsi
// MIPI DSI - MX080B2140
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-mipi-8-800-1280.dtsi
// MIPI DSI - F050008M01
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-mipi-5-720-1280.dtsi
// Signal LVDS
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-lvds-7-1024-600.dtsi
// Dual LVDS
longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/lcd-lvds-21-1920-1080.dtsi
Driver Files
T113
The driver paths for screen configuration on the T113 platform (K4B) are as follows:
// MIPI DSI - MX101BA1340
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
// MIPI DSI - F050008M01
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
// MIPI DSI - AT101DS40I
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
// MIPI DSI - MX080B2140
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
A133
The driver paths for screen configuration on the A133 platform (K5C) are as follows:
// MIPI DSI - AT101DS40I
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
// MIPI DSI - F050008M01
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
// MIPI DSI - MX080B2140
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
// MIPI DSI - MX101BA1340
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
T527
Note
For the T527 platform, U-Boot and the Kernel each require their own dedicated DTS (Device Tree Source) file. The two are not shared and are configured independently.
The DTS configuration path for the K9 screen on the T527 platform is as follows:
Android
kernel:
// MIPI DSI0 - F050008M01
longan/device/config/chips/t527/configs/demo/lcd-mipi0-5-720-1280-kernel.dtsi
// Signal LVDS0
longan/device/config/chips/t527/configs/demo/lcd-lvds0-7-1024-600-kernel.dtsi
uboot:
// MIPI DSI0 - F050008M01
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/lcd-mipi0-5-720-1280-uboot.dtsi
// Signal LVDS0
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/lcd-lvds0-7-1024-600-uboot.dtsi
Debian 11
kernel:
// MIPI DSI0 - F050008M01
bsp/configs/linux-5.15/lcd-mipi0-5-720-1280-kernel.dtsi
// Signal LVDS0
bsp/configs/linux-5.15/lcd-lvds0-7-1024-600-kernel.dtsi
uboot:
// MIPI DSI0 - F050008M01
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/lcd-mipi0-5-720-1280-uboot.dtsi
// Signal LVDS0
brandy/brandy-2.0/u-boot-2018/arch/arm/dts/lcd-lvds0-7-1024-600-uboot.dtsi
A733
uboot:
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/a733-kickpi-lcd-lvds0-7-1024-600.dtsi
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/a733-kickpi-lcd-mipi0-multi-detect.dtsi
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/a733-kickpi-lcd-mipi0-10-800-1280-MX101BA1340.dtsi
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/a733-kickpi-lcd-mipi0-8-800-1280-MX080B2140.dtsi
longan/brandy/brandy-2.0/u-boot-2018/arch/arm/dts/a733-kickpi-lcd-mipi0-5-720-1280-F050008M01.dtsi
kernel:
longan/bsp/configs/linux-5.15/a733-kickpi-lcd-lvds0-7-1024-600.dtsi
longan/bsp/configs/linux-5.15/a733-kickpi-lcd-mipi0-multi-detect.dtsi
longan/bsp/configs/linux-5.15/a733-kickpi-lcd-mipi0-10-800-1280-MX101BA1340.dtsi
longan/bsp/configs/linux-5.15/a733-kickpi-lcd-mipi0-8-800-1280-MX080B2140.dtsi
longan/bsp/configs/linux-5.15/a733-kickpi-lcd-mipi0-5-720-1280-F050008M01.dtsi
Driver Files
T113
The driver path for the K4B screen configuration on the T113 platform is as follows:
// MIPI DSI - MX101BA1340
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
// MIPI DSI - F050008M01
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
// MIPI DSI - AT101DS40I
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
// MIPI DSI - MX080B2140
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
kernel/linux-5.4/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
A133
The driver path for the K5C screen configuration on the A133 platform is as follows:
// MIPI DSI - AT101DS40I
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280_AT101DS40I.c
// MIPI DSI - F050008M01
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
// MIPI DSI - MX080B2140
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_8_800x1280.c
// MIPI DSI - MX101BA1340
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.h
longan/kernel/linux-4.9/drivers/video/fbdev/sunxi/disp2/disp/lcd/mipi_10_800x1280.c
T527
The driver path for the K9 screen configuration on the T527 platform is as follows:
Android
// MIPI DSI - F050008M01
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
longan/brandy/brandy-2.0/u-boot-2018/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
longan/bsp/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.c
longan/bsp/drivers/video/sunxi/disp2/disp/lcd/mipi_5_720x1280.h
Debugging Information
View the properties of the current display output:
Operation example:
# cat /sys/class/disp/disp/attr/sys
screen 0:
de_rate 300000000 hz, ref_fps:66
mgr0: 720x1280 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[1] force_sync[0] unblank direct_show[false] iommu[1]
dmabuf: cache[7] cache max[37] umap skip[0] overflow[4]
lcd output backlight(102) fps:66.5 720x1280
err:2 skip:99 irq:17699 vsync:12094 vsync_skip:0
BUF enable ch[3] lyr[0] z[0] prem[Y] a[globl 255] fmt[ 1] fb[ 736,1280; 368, 640; 368, 640] crop[ 0, 0, 720,1280] frame[ 0, 0, 720,1280] addr[fec00000,fecf0000,fed29800] flags[0x 0] trd[0,0]
depth[ 0] disp[0]all:685, sub:685, cur:685, free:682, skip:0
RK_LCD
The display output interface information for Rockchip platforms is as follows:
| Board | SoC | Display Output Interfaces |
|---|---|---|
| K1 | RK3568 | MIPI DSI、Single LVDS、HDMI、EDP |
| K1 MINI | RK3568 | MIPI DSI X2、Single LVDS、Dual LVDS |
| K1B | RK3568 | MIPI DSI、Single LVDS、HDMI |
| K3 | RK3562 | MIPI DSI、Single LVDS、Dual LVDS |
| K3B | RK3562 | MIPI DSI、Single LVDS |
| K7 | RK3576 | MIPI DSI、HDMI、USB TYPE-C DP |
| K7C | RK3576 | MIPI DSI、HDMI |
| K8 | RK3588 | MIPI DSI X2、HDMI X2、USB TYPE-C DP、 |
| K8D | RK3588S | MIPI DSI、HDMI X1 |
| K11C | RK3566 | MIPI DSI、EDP、HDMI |
Related Terminology
| Term | Description |
|---|---|
| HDMI | High-Definition Multimedia Interface. |
| TYPE-C DP | Type-C interface implementing DisplayPort (DP) video transmission functionality. |
| MIPI DSI | Mobile Industry Processor Interface Display Serial Interface. |
| LVDS | Low-Voltage Differential Signaling. |
| Single LVDS | Single-Channel Low-Voltage Differential Signaling. |
| Dual LVDS | Dual-Channel Low-Voltage Differential Signaling. |
| EDP | Embedded DisplayPort. |
Interface Resources
RK3562
RK3562 has only 1 VP node. The correspondence is as follows:
| VP No. | VP Supported Display Interfaces | VP Max Resolution |
|---|---|---|
| VP | RGB / MIPI DSI / LVDS | 2048x1080@60Hz |
RK3566
The RK3566 has 2 VP nodes. Each VP node can be connected to one display. The mapping is as follows:
Note
The dual-screen display on the RK3566 is a mirror display, sharing the same internal input source. Currently, only Android products on the RK3566 support dual-screen display, and both screens are required to have the same refresh frame rate.
| VP No. | VP Supported Display Interfaces | VP Max Resolution |
|---|---|---|
| VP0 | MIPI DSI0 / MIPI DSI1 / HDMI / EDP | 4096x2304@60Hz |
| VP1 | MIPI DSI0 / MIPI DSI1 / LVDS / HDMI / EDP | 2048x1536@60Hz |
RK3568
RK3568 has 3 VP nodes. Each VP node can connect to 1 display screen. The correspondence is as follows:
| VP No. | VP Supported Display Interfaces | VP Max Resolution |
|---|---|---|
| VP0 | MIPI DSI0 / MIPI DSI1 / HDMI / EDP | 4096x2304@60Hz |
| VP1 | MIPI DSI0 / MIPI DSI1 / LVDS / HDMI / EDP | 2048x1536@60Hz |
| VP2 | LVDS / RGB | 1920x1080@60Hz |
RK3576
RK3576 has 4 VP nodes. Each VP node can connect to 1 display screen. The correspondence is as follows:
| VP No. | VP Supported Display Interfaces | VP Max Resolution |
|---|---|---|
| VP0 | MIPI DSI / EDP / HDMI / DP | 4K@120Hz |
| VP1 | RGB / MIPI DSI / EDP / HDMI / DP | 2560x1600@60Hz |
| VP2 | RGB / MIPI DSI / EDP / HDMI / DP | 1920x1080@60Hz |
RK3588
RK3588 has 4 VP nodes. Each VP node can connect to 1 display screen. The correspondence is as follows:
| VP No. | VP Supported Display Interfaces | VP Max Resolution |
|---|---|---|
| VP0 | DP0 / DP1 / EDP0 / EDP1 / HDMI0 / HDMI1 | 7680x4320@60Hz |
| VP1 | DP0 / DP1 / EDP0 / EDP1 / HDMI0 / HDMI1 | 4096x4320@60Hz |
| VP2 | DP0 / DP1 / EDP0 / EDP1 / HDMI0 / HDMI1 / MIPI DSI0 / MIPI DSI1 | 4096x4320@60Hz |
| VP3 | MIPI DSI0 / MIPI DSI1 / RGB | 2048x1080@60Hz |
Screen Peripherals
MIPI DSI interface screen peripheral information is as follows:
| Model | Size | Resolution | Touch |
|---|---|---|---|
| AT101DS40I | 10.1-inch | 800x1280 | Y |
| MX101BA1340 | 10.1-inch | 800x1280 | Y |
| MX080B2140 | 8.0-inch | 800x1280 | Y |
| F050008M01 | 5.0-inch | 720x1280 | Y |
LVDS interface screen peripheral information is as follows:
| Interface Type | Model | Size | Resolution | Touch |
|---|---|---|---|---|
| LVDS Single link | MX070IBC | 7.0-inch | 1024x600 | Y |
| LVDS Dual link | / | 21~27 inch | 1920x1080 | N |
DTS Configuration
Screen device tree name introduction:
RK3562
RK3562 platform MIPI DSI screen dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3562-kickpi-lcd-mipi-8-800-1280.dtsi
arch/arm64/boot/dts/rockchip/rk3562-kickpi-lcd-mipi-10.1-800-1280.dtsi
arch/arm64/boot/dts/rockchip/rk3562-kickpi-lcd-mipi-5-720-1280.dtsi
arch/arm64/boot/dts/rockchip/rk3562-kickpi-lcd-mipi-10.1-800-1280-v2.dtsi
RK3562 platform Single LVDS screen dts configuration is as follows:
RK3562 platform Dual LVDS screen dts configuration is as follows:
RK3566
RK3566 platform MIPI DSI screen dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3566-kickpi-lcd-mipi0-8-800-1280-MX080B2140.dtsi
arch/arm64/boot/dts/rockchip/rk3566-kickpi-lcd-mipi0-5-720-1280-F050008M01.dtsi
arch/arm64/boot/dts/rockchip/rk3566-kickpi-lcd-mipi0-10.1-800-1280-MX101BA1340.dtsi
RK3562 platform Single LVDS screen dts configuration is as follows:
RK3562 platform eDP screen dts configuration is as follows:
RK3568
RK3568 platform MIPI DSI screen dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-mipi1-8-800-1280.dtsi
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-mipi1-5-720-1280.dtsi
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-mipi1-10.1-800-1280-v2.dtsi
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-mipi0-10.1-800-1280.dtsi
RK3568 platform HDMI interface dts configuration is as follows:
RK3568 platform Single LVDS screen dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-lvds0-7-1024-600.dtsi
arch/arm64/boot/dts/rockchip/rk3568-kickpi-lcd-lvds1-7-1024-600.dtsi
RK3568 platform Dual LVDS screen dts configuration is as follows:
RK3568 platform EDP screen dts configuration is as follows:
RK3576
RK3576 platform MIPI DSI screen dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3576-kickpi-lcd-mipi-8-800-1280-MX080B2140.dtsi
arch/arm64/boot/dts/rockchip/rk3576-kickpi-lcd-mipi-10.1-800-1280-AT101DS40I.dtsi
arch/arm64/boot/dts/rockchip/rk3576-kickpi-lcd-mipi-10.1-800-1280-MX101BA1340.dtsi
arch/arm64/boot/dts/rockchip/rk3576-kickpi-lcd-mipi-5-720-1280-F050008M01.dtsi
RK3576 platform HDMI interface dts configuration is as follows:
RK3576 platform TYPE-C DP interface dts configuration is as follows:
RK3588
RK3588 platform MIPI DSI screen dts configuration is as follows:
// mipi0
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi0-5-720-1280-F050008M01.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi0-8-800-1280-MX080B2140.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi0-10.1-800-1280-MX101BA1340.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi0-10.1-800-1280-AT101DS40I.dtsi
// mipi1
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi1-5-720-1280-F050008M01.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi1-8-800-1280-MX080B2140.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi1-10.1-800-1280-AT101DS40I.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-mipi1-10.1-800-1280-MX101BA1340.dtsi
RK3588 platform HDMI interface dts configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-hdmi0.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-lcd-hdmi1.dtsi
RK3588 platform TYPE-C DP interface dts configuration is as follows:
RK3588 platform multi-screen display configuration is as follows:
arch/arm64/boot/dts/rockchip/rk3588-kickpi-4lcd-hdmi0-hdmi1-mipi0-mipi1.dtsi
arch/arm64/boot/dts/rockchip/rk3588-kickpi-4lcd-hdmi0-hdmi1-dp-mipi0.dtsi
Single Screen Configuration
To compile and configure a single display screen, add the corresponding dtsi file configuration in the dts configuration.
K8 configuration for MIPI DSI AT101DS40I screen display:
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
@@ -9,15 +9,6 @@
#include "rk3588-kickpi-evb.dtsi"
#include "rk3588-rk806-single.dtsi"
+#include "rk3588-kickpi-lcd-mipi0-10.1-800-1280-AT101DS40I.dtsi"
#include "rk3588-kickpi-lcd-dp.dtsi"
#include "rk3588-kickpi-lcd-hdmi0.dtsi"
Multi-Screen Configuration
To compile and configure multiple display screens, add the corresponding multi-screen configuration in the dts configuration file. Please refer to the provided multi-screen configuration dtsi files.
RK3588
Example configuration for RK3588 with HDMI0, HDMI1, DP, and MIPI0 multi-screen display:
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
@@ -36,6 +36,8 @@
#include "rk3588-kickpi-mipi-camera-dphy1.dtsi"
+#include "rk3588-kickpi-4lcd-hdmi0-hdmi1-dp-mipi0.dtsi"
+
/ {
/* If hdmirx node is disabled, delete the reserved-memory node here. */
reserved-memory {
In the rk3588-kickpi-4lcd-hdmi0-hdmi1-dp-mipi0.dtsi file, for the MIPI0 module part, part1 selects the corresponding MIPI0 DSI screen configuration (MX080B2140 model screen configuration), and part2 selects the VP port for MIPI0 display (MIPI0 picture is output by the VP3 port). Other parts are similar.
/* part1 */
//#include "rk3588-kickpi-lcd-mipi0-10.1-800-1280-AT101DS40I.dtsi"
//#include "rk3588-kickpi-lcd-mipi0-10.1-800-1280-MX101BA1340.dtsi"
#include "rk3588-kickpi-lcd-mipi0-8-800-1280-MX080B2140.dtsi"
//#include "rk3588-kickpi-lcd-mipi0-5-720-1280-F050008M01.dtsi"
/* part2 */
&route_dsi0 {
status = "okay";
// connect = <&vp2_out_dsi0>;
connect = <&vp3_out_dsi0>;
};
&dsi0_in_vp2 {
status = "disabled";
};
&dsi0_in_vp3 {
status = "okay";
};
Q&A
- After compiling the image from source code and connecting HDMI, the display shows a vertical screen image?
Modify the corresponding device tree to disable MIPI-related display configurations. Example for K8 disabling MIPI display related configurations:
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-kickpi-k8.dtsi
@@ -9,15 +9,6 @@
#include "rk3588-kickpi-evb.dtsi"
#include "rk3588-rk806-single.dtsi"
-#include "rk3588-kickpi-lcd-mipi0-10.1-800-1280-AT101DS40I.dtsi"
-#include "rk3588-kickpi-lcd-mipi1-10.1-800-1280-AT101DS40I.dtsi"
#include "rk3588-kickpi-lcd-dp.dtsi"
#include "rk3588-kickpi-lcd-hdmi0.dtsi"