Skip to content

Introduce SPI locking bus interface to SPI framework

Bryan Wu linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: Add two new APIs spi_lock_bus() and spi_unlock_bus() to spi framework.drivers/spi/spi.c include/linux/spi/spi.h+55 -00 replies
2/2Blackfin SPI Driver: implement spi_lock_bus(), spi_unlock_bus() in blackfin spi controller driver.drivers/spi/spi_bfin5xx.c+78 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Introduce SPI locking bus interface to SPI framework

Hi Dave,

Yi introduced SPI locking bus interface to SPI framework. This is required by some SPI devices in bus sharing situation, for example, the MMC card driver over SPI.

We also use this API in our Blackfin SPI master driver and tested on our own MMC over SPI driver. Since that MMC over SPI driver is different with the mainline version, we will try to bring up the MMC_SPI driver by adding these new SPI locking bus API.

Please kindly review.

Thanks
-Bryan