SPI/zh

From FriendlyELEC WiKi
Revision as of 03:03, 10 July 2018 by Tzs (Talk | contribs)

Jump to: navigation, search

English

1 Q: S5P4418的/dev目录下只有一个spidev0.0这个设备节点, 怎么添加spidev1.0

对于3.4内核来说,4418 需要修改 arch/arm/plat-s5p4418/nanopi2/device.c;
想要增加一路的话,可先搜索 CONFIG_SPI_SPIDEV , 然后参考已有代码增加另一路的支持;
另外,arch/arm/plat-s5p4418/asb/device.c 有 spi2 的支持,修改时可参考;

2 Q: NanoPi NEO Air 有几路SPI?

硬件只引出了1路SPI