Skip to content

LCD

The display output interface information for Allwinner platforms is as follows:

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
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.

Screen Peripherals

Note

Path annotations will indicate the display interface and screen model configuration, e.g., MIPI DSI - AT101DS40I refers to the MIPI DSI interface configured for the AT101DS40I model screen.

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

Debugging Information

View the properties of the current display output:

cat /sys/class/disp/disp/attr/sys

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