LCD
The RK3568 is equipped with four display output interfaces, namely HDMI, MIPI, LVDS, and EDP. It supports a maximum of three simultaneous display outputs.
1. Introduction to Display Interface Resources
RK3568
The RK3568 has three VP nodes, and each VP node can be connected to a display. The corresponding relationships are shown in the following table:
VP0
MIPI0 / MIPI1 / HDMI / EDP
4096x2304@60Hz
VP1
MIPI0 / MIPI1 / LVDS / HDMI / EDP
2048x1536@60Hz
VP2
LVDS / RGB
1920x1080@60Hz
The pins of the MIPI0 and LVDS interfaces conflict, so only one can be selected.
The VP2 node only supports LVDS/RGB. Therefore, one of the three displays must be LVDS (the RGB interface is not led out) in a triple-screen display setup.
HDMI
4096x2160@60Hz
RGB/YUV420 10Bit
MIPI
1920x1080@60Hz
RGB 8Bit
Dual MIPI
2560x1440@60Hz
RGB 8Bit
LVDS
1280x800@60Hz
RGB 8Bit
EDP
2560x1600@60Hz
RGB 10Bit
RGB
1920x1080@60Hz
RGB 8Bit
2. Single Display Driver Configuration
Display configuration mainly involves modifying the device tree LCD configuration file. The device tree LCD configuration directory for the RK3568 is as follows:
The
rk3568-kickpi-lcd-hdmi.dtsi
file needs to be enabled by default.If there are problems with display debugging, you can contact after-sales for technical support.
MIPI
The RK3568 has two MIPI LCD interfaces, namely MIPI0 and MIPI1. Among them, MIPI0 is multiplexed with LVDS.
For the MIPI0 interface, refer to rk3568-kickpi-lcd-mipi0-10.1-800-1280.dtsi
.
For the MIPI1 interface, refer to rk3568-kickpi-lcd-mipi1-10.1-800-1280.dtsi
.
LVDS
For the LVDS interface, refer to rk3568-kickpi-lcd-lvds-7-1024-600.dtsi
.
EDP
For the EDP interface, refer to rk3568-kickpi-lcd-edp-15.6-1920-1080.dtsi
.
3. Multi-Screen Display System Configuration
In a multi-screen display solution, pay attention to the following when selecting LCD parameters:
It is recommended to choose displays with the same aspect ratio; otherwise, the picture may be stretched or have black borders.
Kernel Device Tree Configuration
On the basis of completing single-screen debugging, refer to the above-provided multi-screen device tree configuration files.
Android Multi-Screen Configuration
Use DSI as the primary screen and HDMI-A as the secondary screen
Use DSI/eDP as the primary screen and LVDS/HDMI-A as the secondary screen
4. Single Touchscreen Driver Configuration
Take GT9XX as an example.
Driver Porting
Port the driver provided by the manufacturer to the SDK directory and modify the compilation files.
Copy the driver files to the touch driver folder $(SDK_DIR)\kernel-5.10\drivers\input\touchscreen
.
Modify the kconfig
file by adding the following:
Modify the Makefile
by adding the following:
Add CONFIG_TOUCHSCREEN_GT9XX=y
to the kernel configuration.
The kernel configuration file is, for example, arch/arm64/configs/rockchip_defconfig
. For different versions of defconfig
, please find the corresponding version file in the Git history.
Kernel Device Tree Configuration
i2c_gt9xx configuration:
Rotating the Touch Direction
Adjust the touchscreen direction based on the device tree. The following directions are only applicable to the GT9XX driver.
0 degrees (default)
90 degrees
180 degrees
270 degrees
5. Multi-Screen Touch System Configuration
Kernel Device Tree Configuration
I2C + I2C
Android Single-Screen Touch Configuration
Android 13.0
Disable touch on the secondary screen. Whether it is an external or internal device, the touch function only works on the primary screen.
Android Multi-Screen Touch Configuration
Determine the device name
Add an IDC configuration file
Last updated