From 0f53a7e247526eeffe42b5e5ee6355c5073738e2 Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Thu, 4 Jul 2019 19:08:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=B7=BB=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Linux_SPI_设备驱动开发_x86平台.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Software/OperatingSystem/Linux/Development/KernelDriver/Linux_SPI_设备驱动开发_x86平台.md 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()