40-RK3568 LCD Configuration
RK3568 is equipped with four display output interfaces, namely HDMI, MIPI, LVDS, EDP, of which up to three simultaneous display outputs are supported
1. Display interface resource introduction
RK3568
RK3568 has three VP nodes, and each VP node can be connected to a display screen. The corresponding relationship is shown in the table below
VP0
MIPI0/MIPI1/HDMI/EDP
4096x2304@60Hz
VP1
MIPI0/MIPI1/LVDS/HDMI/EDP
2048x1536@60Hz
VP2
LVDS/RGB
1920x1080@60Hz
MIPI0 conflicts with LVDS interface pins, only one can be selected
The VP2 node only supports LVDS/RGB, so one of the three-screen displays must be LVDS (the RGB interface is not introduced).
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 modify the device tree LCD configuration file, RK3568 device tree LCD configuration directory is as follows:
If there is a problem with the debugging of the display screen, you can contact the after-sales service for technical support.
MIPI
The RK3568 has two MIPI LCDs, MIPI0 and MIPI1, of which MIPI0 is multiplexed with LVDS
MIPI0 interface, reference rk3568-kickpi-lcd-mipi0- 10.1-800 -1280.dtsi
MIPI1 interface, reference rk3568-kickpi-lcd-mipi1- 10.1-800 -1280.dtsi
LVDS
LVDS interface, refer to rk3568-kickpi-lcd-lvds-7-1024-600
EDP
EDP interface, reference rk3568-kickpi-lcd-edp- 15.6-1920 -1080.dtsi
3. Multi-screen display system configuration
In the multi-screen display scheme, LCD parameter selection precautions:
It is recommended to choose a display screen with the same length-width ratio, otherwise the picture will be stretched or the picture will be black.
Kernel Device Tree Configuration
After completing the single-screen debugging, refer to the multi-screen device tree configuration file provided above
Android multi-screen configuration
DSI as the main screen, HDMI-A as the secondary screen
DSI\ eDP as the main screen, LVDS\ HDMI-A as the secondary screen
4. Single touchscreen driver configuration
Take the GT9XX as an example
driver porting
Porting the driver provided by the manufacturer into the SDK directory, and modifying and adding it to the compiled file
The driver file is copied to the touch driver folder under $ (SDK_DIR) \ kernel-5.10\ drivers\ input\ touchscreen
Modify kconfig: add the following
Modify the Makefile: Add the following
Kernel Configuration Add CONFIG_TOUCHSCREEN_GT9XX = y
Kernel configuration files such as arch/arm64/configs/rockchip_defconfig, different versions of defconfig please find the corresponding version file in the git history
Kernel Device Tree Configuration
i2c_gt9xx configuration:
Rotate the touch direction
Adjust the touch screen orientation based on the device tree. The following directions are only applicable to GT9XX drivers
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
Android13.0
Prohibit secondary screen touch, regardless of external or internal type of device, it acts on the main screen
Android multi-screen touch configuration
Determine the device name
Add IDC configuration file
Last updated