LCD

Kernel Device Tree

  • Top-Level Device Tree Directory

Android SDK Path:

longan/device/config/chips/a133/configs/c3/kickpi-k5c.dts

#include "lcd-lvds-7-1024-600.dtsi"
//#include "lcd-lvds-21-1920-1080.dtsi"
//#include "lcd-mipi-10-800-1280-v1.dtsi"
//#include "lcd-mipi-10-800-1280-v2.dtsi"
//#include "lcd-mipi-8-800-1280.dtsi"
//#include "lcd-mipi-5-720-1280.dtsi"

Linux SDK Path:

device/config/chips/a133/configs/c3/kickpi-k5c.dts
  • Secondary Device Tree Directory

Android/Linux SDK Path:

longan/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/
Device Tree Files
Description

lcd-lvds-21-1920-1080.dtsi

21-27" LVDS (1920x1080)

lcd-lvds-7-1024-600.dtsi

7" LVDS (1024x600)

lcd-mipi-10-800-1280-v1.dtsi

10.1" MIPI (800x1280, v1)

lcd-mipi-10-800-1280-v2.dtsi

10.1" MIPI (800x1280, v2)

lcd-mipi-5-720-1280.dtsi

5" MIPI (720x1280)

lcd-mipi-8-800-1280.dtsi

8" MIPI (800x1280)


Screen Selection and Compilation

MIPI Screens

Model

Size

Resolution

Device Tree File

AT101DS40I

10.1-inch

800x1280

lcd-mipi-10-800-1280-v1.dtsi

MX101BA1340

10.1-inch

800x1280

lcd-mipi-10-800-1280-v2.dtsi

MX080B2140

8.0-inch

800x1280

lcd-mipi-8-800-1280.dtsi

F050008M01

5.0-inch

720x1280

lcd-mipi-5-720-1280.dtsi

LVDS Screens

Model

Size

Resolution

Device Tree File

MX070IBC

7.0-inch

1024x600

lcd-lvds-7-1024-600.dtsi

-

21-27 inch

1920x1080

lcd-lvds-21-1920-1080.dtsi

Example: Selecting the 7" LVDS screen:

Note: Only one lcd-*.dtsi file can be enabled at a time.


LCD Driver

  • UBOOT Driver Path:

  • Kernel Driver Path:


Single LVDS Interface

  • Hardware Label: LVDS_LCD (30-pin clamp connector).

  • Default Configuration: Supports 7" LVDS screen (1024x600).


Dual LVDS Interface

  • Hardware Label: DUAL_LVDS (30-pin vertical connector).

  • Voltage Options: 3.3V, 5V, 12V. Select voltage based on screen specifications to avoid damage!

K5 Board: image-20250312140810001

K5C Board: image-20250508150845033

Warnings:

  1. Ensure the power adapter provides sufficient current for the screen. Insufficient current may cause backlight flickering.

  2. If flickering occurs, disconnect power immediately and replace the adapter.


Debugging Information

View Current Display Properties:

Example Output:

Last updated