Page MenuHomeFreeBSD

bcm2835/spi: Support SPI_FLAG_KEEP_CS
ClosedPublic

Authored by jhibbits on Nov 14 2023, 6:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 4:48 PM
Unknown Object (File)
Mon, Oct 13, 4:48 PM
Unknown Object (File)
Mon, Oct 13, 4:48 PM
Unknown Object (File)
Mon, Oct 13, 3:37 AM
Unknown Object (File)
Tue, Oct 7, 1:06 AM
Unknown Object (File)
Aug 19 2025, 2:56 PM
Unknown Object (File)
Aug 19 2025, 2:14 PM
Unknown Object (File)
Aug 19 2025, 1:46 PM
Subscribers

Details

Summary

3c08673438 brought in SPI_FLAG_KEEP_CS to keep the SPI chip select held
post-transfer completion. Add this support to bcm2835 SPI for SPI
devices that need it. As part of this, the owner thread needed carried
through so that no other thread can take over the SPI bus until the
owner releases the chip select.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable