14014.petalinux之通用spidev设备
文章目录1 通用配置1.1 内核驱动配置1.2 通用设备驱动spidev.c_修改匹配表1.3 设备树节点配置1 通用配置1.1 内核驱动配置petalinux-config -c kernel1.2 通用设备驱动spidev.c_修改匹配表static struct spi_driver spidev_spi_driver = { .driver = { .name = "spidev", .of_match_table = of_match_ptr(spidev_dt_ids),
复制链接