NotePublic/Software/OperatingSystem/Linux/Development/KernelDriver/Linux_SPI_子系统_x86平台.md

18 lines
569 B
Markdown
Raw Normal View History

2019-07-04 19:08:06 +08:00
# Linux SPI 设备驱动开发x86平台
## Platform
arch->x86->platform 下创建 board 文件。
## Match
spi_register_board_info <------------------------+
|
pxa2xx_spi_probe |
devm_spi_register_controller |
spi_register_controller |
spi_match_controller_to_boardinfo <--+
bus_num 必须一致才会执行 spi_new_device()
2019-07-04 19:14:49 +08:00
补充 spidev [参考](https://blog.csdn.net/kunkliu/article/details/77966311)