mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 10:20:24 -05:00
These feature are required for an upcoming Apple MacBook topcase (HID over SPI) driver: A delay after toggling CS is required to avoid anomalies like an extra junk byte in front of the message. Keeping CS asserted is required to be able to read a status report after writing a command. (The device won't return the status if CS was deasserted.) Sleep is not allowed in the interrupt context where the Apple input driver runs its transactions. Use a flag to tell the SPI driver to avoid mtx_sleep. Reviewed by: manu (ok to SPI part of larger patch) MFC afret: 1 month Differential revision: https://reviews.freebsd.org/D29534 |
||
|---|---|---|
| .. | ||
| ofw_spibus.c | ||
| spi.h | ||
| spibus.c | ||
| spibus_if.m | ||
| spibusvar.h | ||
| spigen.c | ||