临时添加文件

This commit is contained in:
ithink.chan 2019-07-04 19:08:06 +08:00
parent 1a85f70808
commit 0f53a7e247
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# 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()