2021-03-11 10:38:32 +00:00
|
|
|
|
# linux\_khdf<a name="ZH-CN_TOPIC_0000001078489630"></a>
|
|
|
|
|
|
|
|
|
|
- [简介](#section11660541593)
|
|
|
|
|
- [目录](#section161941989596)
|
|
|
|
|
- [相关仓](#section1371113476307)
|
|
|
|
|
|
|
|
|
|
## 简介<a name="section11660541593"></a>
|
|
|
|
|
|
2021-04-06 07:56:38 +00:00
|
|
|
|
该仓主要存放OpenHarmony驱动子系统适配linux内核的代码和编译脚本,在linux内核中部署OpenHarmony驱动框架。
|
2021-03-11 10:38:32 +00:00
|
|
|
|
|
|
|
|
|
## 目录<a name="section161941989596"></a>
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
/drivers/adapter/khdf/linux
|
2022-01-05 23:59:47 +00:00
|
|
|
|
├── utils #linux内核下编译配置解析代码的编译脚本
|
2021-03-11 10:38:32 +00:00
|
|
|
|
├── manager #linux内核下启动适配启动HDF框架代码
|
|
|
|
|
├── model #驱动模型适配linux代码
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── audio #音频驱动模型
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── display #显示驱动模型
|
|
|
|
|
│ ├── input #输入驱动模型
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── misc #杂项驱动模型,包括dsoftbus、light、vibrator
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── network #wifi驱动模型
|
|
|
|
|
│ └── sensor #传感器驱动模型
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ └── storage #存储驱动模型
|
|
|
|
|
│ └── usb #USB驱动模型
|
2021-03-16 02:52:07 +00:00
|
|
|
|
├── network #适配linux内核网络代码
|
|
|
|
|
├── osal #适配linux内核的posix接口
|
2021-03-11 10:38:32 +00:00
|
|
|
|
├── platform #平台设备接口适配linux内核代码
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── adc #adc接口
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── emmc #emmc操作接口
|
|
|
|
|
│ ├── gpio #gpio接口
|
|
|
|
|
│ ├── i2c #i2c接口
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── mipi_csi #mipi csi接口
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── mipi_dsi #mipi dsi接口
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── mmc #mmc接口
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── pwm #pwm接口
|
2022-05-27 09:42:04 +00:00
|
|
|
|
│ ├── regulator #regulator接口
|
2021-03-16 02:52:07 +00:00
|
|
|
|
│ ├── rtc #rtc接口
|
|
|
|
|
│ ├── sdio #sdio接口
|
|
|
|
|
│ ├── spi #spi接口
|
|
|
|
|
│ ├── uart #uart接口
|
|
|
|
|
│ └── watchdog #watchdog接口
|
2022-01-06 00:01:39 +00:00
|
|
|
|
├── test #linux内核测试用例
|
2021-03-11 10:38:32 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 相关仓<a name="section1371113476307"></a>
|
|
|
|
|
|
2021-03-15 11:15:02 +00:00
|
|
|
|
[驱动子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E9%A9%B1%E5%8A%A8%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
|
2021-03-11 10:38:32 +00:00
|
|
|
|
|
2021-03-15 11:15:02 +00:00
|
|
|
|
[drivers\_framework](https://gitee.com/openharmony/drivers_framework/blob/master/README_zh.md)
|
2021-03-11 10:38:32 +00:00
|
|
|
|
|
2021-05-19 07:22:30 +00:00
|
|
|
|
[drivers\_adapter](https://gitee.com/openharmony/drivers_adapter/blob/master/README_zh.md)
|
2021-03-15 11:15:02 +00:00
|
|
|
|
|
2022-03-09 11:24:29 +00:00
|
|
|
|
[drivers\_adapter\_khdf\_linux](https://gitee.com/openharmony/drivers_adapter_khdf_linux/blob/master/README_zh.md)
|
2021-03-15 11:15:02 +00:00
|
|
|
|
|
2021-08-23 11:44:28 +00:00
|
|
|
|
[drivers\_peripheral](https://gitee.com/openharmony/drivers_peripheral/blob/master/README_zh.md)
|
2021-03-11 10:38:32 +00:00
|
|
|
|
|