Skip to content

spi: Support SPI I/O protocol lines

Jagan Teki u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: spi-mem: Xfer opcode alone for non spi-memdrivers/spi/spi-mem.c+38 -250 replies
2/3spi: Support SPI I/O protocol linesdrivers/spi/spi-mem.c drivers/spi/spi-uclass.c include/spi.h+21 -00 replies
3/3spi: sifive: Fix format register proto fielddrivers/spi/spi-sifive.c+8 -32 replies
3/3spi: sifive: Fix format register proto field+0 -00 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/3] spi: Support SPI I/O protocol lines

Some of the SPI controllers have a special set of format registers that defines how the transfer initiated to the FIFO by means of I/O protocol lines.

Each mode of transfer from slave would be required to configure the I/O protocol lines so-that the master would identify how many number I/O protocol lines were used and alter the protocol bits on the controller.

To address this issue (on these kinds of SPI controllers) this series is trying to send the I/O protocol lines being used on particular transfers.

patch 1: Transfer the opcode alone

patch 2: Add SPI I/O protocol lines via spi->proto

patch 3: Use spi->proto on SiFive SPI controller

Any inputs?
Jagan.

Jagan Teki (3):
spi: spi-mem: Xfer opcode alone for non spi-mem
spi: Support SPI I/O protocol lines
spi: sifive: Fix format register proto field

 drivers/spi/spi-mem.c    | 68 +++++++++++++++++++++++++---------------
 drivers/spi/spi-sifive.c | 11 +++++--
 drivers/spi/spi-uclass.c |  7 +++++
 include/spi.h            |  9 ++++++
 4 files changed, 67 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.1