diff --git a/Software/OperatingSystem/Linux/Development/KernelDriver/Linux_SPI_设备驱动开发_x86平台.md b/Software/OperatingSystem/Linux/Development/KernelDriver/Linux_SPI_设备驱动开发_x86平台.md new file mode 100644 index 0000000..7d3d206 --- /dev/null +++ b/Software/OperatingSystem/Linux/Development/KernelDriver/Linux_SPI_设备驱动开发_x86平台.md @@ -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()