1# linux\_khdf<a name="EN-US_TOPIC_0000001078489630"></a> 2 3- [Introduction](#section11660541593) 4- [Directory Structure](#section161941989596) 5- [Repositories Involved](#section1371113476307) 6 7## Introduction<a name="section11660541593"></a> 8 9This 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\). 10 11## Directory Structure<a name="section161941989596"></a> 12 13``` 14/drivers/hdf_core/adapter/khdf/linux 15├── utils # Compilation scripts for building and configuring the parsing code 16├── manager # Code for starting and adapting to the HDF 17├── model # Code for adapting to Linux 18│ ├── audio # Audio driver model 19│ ├── display # Display driver model 20│ ├── input # Input driver model 21│ ├── misc # Misc driver model, including dsoftbus, light, vibrator 22│ ├── network # WLAN driver model 23│ ├── sensor # Sensor driver model 24│ ├── storage # Storage driver model 25│ ├── usb # USB driver model 26├── network # Code for adapting to the Linux kernel network 27├── osal # POSIX APIs for adapting to the Linux kernel 28├── platform # Code for adapting the platform APIs to the Linux kernel 29│ ├── adc # ADC APIs 30│ ├── emmc # EMMC APIs 31│ ├── gpio # GPIO APIs 32│ ├── i2c # I2C APIs 33│ ├── mipi_csi # MIPI CSI APIs 34│ ├── mipi_dsi # MIPI DSI APIs 35│ ├── mmc # MMC APIs 36│ ├── pwm # PWM APIs 37│ ├── regulator # Regulator APIs 38│ ├── rtc # RTC APIs 39│ ├── sdio # SDIO APIs 40│ ├── spi # SPI APIs 41│ ├── uart # UART APIs 42│ └── watchdog # WATCHDOG APIs 43├── test # Testcase for testing the Linux kernel driver 44``` 45 46## Repositories Involved<a name="section1371113476307"></a> 47 48[Driver subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/driver.md) 49 50[drivers\_framework](https://gitee.com/openharmony/drivers_framework/blob/master/README.md) 51 52[drivers\_adapter](https://gitee.com/openharmony/drivers_adapter/blob/master/README.md) 53 54[drivers\_adapter\_khdf\_linux](https://gitee.com/openharmony/drivers_adapter_khdf_linux/blob/master/README.md) 55 56[drivers\_peripheral](https://gitee.com/openharmony/drivers_peripheral/blob/master/README.md) 57 58