Skip to content

Instantly share code, notes, and snippets.

@cwshu
Created January 2, 2019 06:15
Show Gist options
  • Save cwshu/737a47407886fad5085dd321026d68af to your computer and use it in GitHub Desktop.
Save cwshu/737a47407886fad5085dd321026d68af to your computer and use it in GitHub Desktop.
Linux SPI driver
Slides:
- 2017, Groking the Linux SPI Subsystem: http://events17.linuxfoundation.org/sites/events/files/slides/Groking%20the%20Linux%20SPI%20Subsystem.pdf
- 2014, What’s going on with SPI?: https://elinux.org/images/2/20/Whats_going_on_with_SPI--mark_brown.pdf
Some reference:
- Overview of Linux kernel SPI support: https://www.kernel.org/doc/Documentation/spi/spi-summary
- The Linux driver implementer’s API guide » Serial Peripheral Interface (SPI): https://www.kernel.org/doc/html/v4.15/driver-api/spi.html
- SPI (Serial Peripheral Interface) busses: https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-bus.txt
- drivers/spi/spi-xxx.c
Some note
+++++++++
1. delay_usecs in struct spi_transfer/spi_message
- https://www.ptt.cc/bbs/LinuxDev/M.1338976035.A.DE6.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment