This repository stores the code and compilation scripts for the OpenHarmony driver subsystem to adapt to the Linux kernel and to deploy the hardware driver foundation (HDF).
/drivers/adapter/khdf/linux
├── config # Compilation scripts for building and configuring the parsing code
├── hcs # HDF configuration and management
├── manager # Code for starting and adapting to the HDF
├── model # Code for adapting to Linux
│ ├── display # Display driver model
│ ├── input # Input driver model
│ ├── network # WLAN driver model
│ ├── sensor # Sensor driver model
├── network # Code for adapting to the Linux kernel network
├── osal # POSIX APIs for adapting to the Linux kernel
├── platform # Code for adapting the platform APIs to the Linux kernel
│ ├── emmc # EMMC APIs
│ ├── gpio # GPIO APIs
│ ├── i2c # I2C APIs
│ ├── mipi_dsi # MIPI DSI APIs
│ ├── pwm # PWM APIs
│ ├── rtc # RTC APIs
│ ├── sdio # SDIO APIs
│ ├── spi # SPI APIs
│ ├── uart # UART APIs
│ └── watchdog # WATCHDOG APIs
drivers_adapter_khdf_linux