# drivers_adapter_khdf_linux **Repository Path**: coderookie20180809/drivers_adapter_khdf_linux ## Basic Information - **Project Name**: drivers_adapter_khdf_linux - **Description**: Linux kernel adapter of the Hardware Driver Foundation (HDF) | HDF Linux内核适配 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 155 - **Created**: 2022-06-10 - **Last Updated**: 2024-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # linux\_khdf - [Introduction](#section11660541593) - [Directory Structure](#section161941989596) - [Repositories Involved](#section1371113476307) ## Introduction This repository stores the code and compilation scripts of the OpenHarmony driver subsystem adapted to the Linux kernel. So that you can deploy the hardware driver foundation \(HDF\) in Linux kernel. ## Directory Structure ``` /drivers/adapter/khdf/linux ├── utils # Compilation scripts for building and configuring the parsing code ├── manager # Code for starting and adapting to the HDF ├── model # Code for adapting to Linux │ ├── audio # Audio driver model │ ├── display # Display driver model │ ├── input # Input driver model │ ├── misc # Misc driver model, including dsoftbus, light, vibrator │ ├── network # WLAN driver model │ ├── sensor # Sensor driver model │ ├── storage # Storage driver model │ ├── usb # USB 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 │ ├── adc # ADC APIs │ ├── emmc # EMMC APIs │ ├── gpio # GPIO APIs │ ├── i2c # I2C APIs │ ├── mipi_csi # MIPI CSI APIs │ ├── mipi_dsi # MIPI DSI APIs │ ├── mmc # MMC APIs │ ├── pwm # PWM APIs │ ├── regulator # Regulator APIs │ ├── rtc # RTC APIs │ ├── sdio # SDIO APIs │ ├── spi # SPI APIs │ ├── uart # UART APIs │ └── watchdog # WATCHDOG APIs ├── test # Testcase for testing the Linux kernel driver ``` ## Repositories Involved [Driver subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/driver-subsystem.md) [drivers\_framework](https://gitee.com/openharmony/drivers_framework/blob/master/README.md) [drivers\_adapter](https://gitee.com/openharmony/drivers_adapter/blob/master/README.md) [drivers\_adapter\_khdf\_linux](https://gitee.com/openharmony/drivers_adapter_khdf_linux/blob/master/README.md) [drivers\_peripheral](https://gitee.com/openharmony/drivers_peripheral/blob/master/README.md)