spi: rockchip-slave: Add code

1.Implement one msg mechanism
2.Support SRAM extension by dts rockchip,sram property

Change-Id: I0fccc5d4347294488b5382ad3ba5ae72b35610f2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2023-11-21 10:58:57 +08:00
parent e97ec4041d
commit 15bd02f5c3
3 changed files with 1069 additions and 0 deletions

View File

@@ -785,6 +785,17 @@ config SPI_ROCKCHIP_SFC
ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
the driver automatically falls back to PIO mode.
config SPI_ROCKCHIP_SLAVE
tristate "Rockchip SPI Slave controller driver"
depends on ARCH_ROCKCHIP || COMPILE_TEST
default SPI_ROCKCHIP if !ROCKCHIP_MINI_KERNEL
help
This selects a driver for Rockchip SPI Slave controller.
If you say yes to this option, support will be included for Rockchip
SPI Slave controller.
Rockchip SPI Slave controller support DMA transport and IRQ mode.
config SPI_RB4XX
tristate "Mikrotik RB4XX SPI master"
depends on SPI_MASTER && ATH79

View File

@@ -106,6 +106,7 @@ obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom-qspi.o
obj-$(CONFIG_SPI_QUP) += spi-qup.o
obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o
obj-$(CONFIG_SPI_ROCKCHIP_SFC) += spi-rockchip-sfc.o
obj-$(CONFIG_SPI_ROCKCHIP_SLAVE) += spi-rockchip-slave.o
obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
obj-$(CONFIG_MACH_REALTEK_RTL) += spi-realtek-rtl.o
obj-$(CONFIG_SPI_RPCIF) += spi-rpc-if.o

File diff suppressed because it is too large Load Diff