Enabling High-Performance SPI...
summary
Linux SPI-MEM and MTD gain octal DTR, per-operation max-frequency and a controller-side PHY tuning flow that programs TX/RX/read delays (Cadence DLL) via an execute_tuning callback and a DT post-config frequency hint; tuning uses a 1D SDR and 2D DDR search over delay knobs and a known 128‑byte pattern. Results show ~60% read and ~30% write gains from octal DTR, 40–70% from continuous read, and up to 6× throughput on one spinor platform; upstreaming works but needs controller fixes for CS handling and errata.
AI-written summary · about
chapters (19)
- 0:00Introduction and speakers
- 1:25Background on SPI NAND and MTD
- 6:00Enabling octal SDR mode
- 8:31Octal DTR mode improvements
- 10:37Continuous read mode
- 14:47Increasing clock speeds
- 16:55Fixed capture point limitations
- 17:39PHY tuning with Cadence controller
- 20:25Tuning algorithms SDR and DDR
- 22:36Integration with SPIMEM stack
- 26:52Runtime PHY usage
- 28:18DDR plus PHY tuning results
- 30:49Spansion flash variant handling
- 31:52Series development history
- 32:55Future upstreaming and open topics
- 37:15Q&A on tuning costs and tests
- 41:20Q&A on temperature and ECC
- 44:08Q&A on saving tuning data
- 46:01Q&A on tuning time and boot phase
