Skip to main content

Peripheral Drivers

This document introduces the purpose of writing, the scope of application, and the relevant personnel involved. It also provides a detailed explanation of the peripheral driver support for the SpacemiT K1 platform.

Purpose

This manual is designed to assist developers in understanding and quickly getting started with the peripheral drivers for the SpacemiT K1 CPU. It covers the board-level configuration of various interfaces, kernel configuration (CONFIG), driver testing methods, debugging interface descriptions, and common issue troubleshooting. This information is intended to facilitate secondary driver development and system integration for developers.

Scope of Usage

This document is applicable to platforms based on the SpacemiT K1 CPU and their software development kits.

Relevant Personnel

  • Driver Development Engineers
  • System Integration Engineers

Functional Description

Peripheral drivers (or device drivers) act as interfaces between hardware devices and the operating system. In Linux systems, peripheral drivers are modular components that act as a bridge between hardware and the operating system. They are responsible for initializing, configuring, managing hardware, transferring data, and handling errors.

The SpacemiT K1 features a wide range of IO capabilities, integrating multiple sets of interfaces such as PCIe, USB, GMAC, SPI, and more, providing comprehensive peripheral connection options. This document covers the usage instructions for the high-speed expansion interface drivers, audio/video interface drivers, industrial expansion interface drivers, and storage interface drivers involved in K1:

  • High-Speed Expansion Interface Drivers: PCIe, USB, GMAC, etc.
  • Audio/Video Interface Drivers: DSI, HDMI, CSI, etc.
  • Industrial Control Interface Drivers: UART, CAN-FD, I2C, SPI, PWM, etc.
  • Storage Interface Drivers: SDHC, SPI-Flash, etc.

Quick Index

High-Speed Expansion Interface Drivers

Audio/Video Interface Drivers

Low-Speed Expansion Interface Drivers

Storage Interface Drivers

System Basic Drivers

Power Subsystem Drivers

Third-Party Peripheral Drivers

Other Drivers