[PW_SID:1086166] spi: support the SpacemiT K1 SPI controller#1823
[PW_SID:1086166] spi: support the SpacemiT K1 SPI controller#1823linux-riscv-bot wants to merge 3 commits into
Conversation
Add support for the SPI controller implemented by the SpacemiT K1 SoC. Acked-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Guodong Xu <guodong@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
This patch introduces the driver for the SPI controller found in the SpacemiT K1 SoC. Currently the driver supports master mode only. The SPI hardware implements RX and TX FIFOs, 32 entries each, and supports both PIO and DMA mode transfers. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Guodong Xu <guodong@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Define a node for the fourth SoC SPI controller (number 3) on the SpacemiT K1 SoC. Enable it on the Banana Pi BPI-F3 board, which exposes this feature via its GPIO block: GPIO PIN 19: MOSI GPIO PIN 21: MISO GPIO PIN 23: SCLK GPIO PIN 24: SS (inverted) Define pincontrol configurations for the pins as used on that board. (This was tested using a GigaDevice GD25Q64E SPI NOR chip.) Reviewed-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Guodong Xu <guodong@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 1: "[v9,1/3] spi: dt-bindings: add SpacemiT K1 SPI support" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 2: "[v9,2/3] spi: spacemit: introduce SpacemiT K1 SPI controller driver" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
|
Patch 3: "[v9,3/3] riscv: dts: spacemit: define a SPI controller node" |
PR for series 1086166 applied to workflow__riscv__fixes
Name: spi: support the SpacemiT K1 SPI controller
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1086166
Version: 9