spi: Add support pl022 spi driver 37/292737/1
authorxingyu.wu <xingyu.wu@starfivetech.com>
Thu, 30 Jun 2022 06:45:38 +0000 (14:45 +0800)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Fri, 12 May 2023 06:01:57 +0000 (15:01 +0900)
commit5bcb58df60679e29256825f0ec40a22c938e3891
tree9cd9fce6ad7d06094d509b07242bd81a32fc2a84
parenta1eec61ef8f8638023e2b27744ede9642e7d24fd
spi: Add support pl022 spi driver

Add support pl022 spi driver and device tree of starfive JH7110. This
driver is from [1], and the imported patch list[2]. We modified
compatible and clock in the device-tree to fix kernel v6.1.

[1] https://github.com/starfive-tech/linux

[2] patch list from v5.15.y
  d88bd4b6aa1d ziv.xu    spi-pl022-starfive:Enable spi to be compiled into modules
  871266269a62 ziv.xu    spi-pl022-starfive:fix the problem of spi overlay reload
  9e71e5c05fee ziv.xu    spi-pl022-starfive.c: prompt warning when frequency does not surpport
  a1c1236322ba ziv.xu    spi-pl022-starfive.c: make spi work without dma
  9962a36e5788 Ziv.Xu    add device pm for spi
  9bd42158c0bd Xingyu Wu spi:starfive:Modify compatible name
  c9c015abab34 xingyu.wu spi:pl022-starfive:Turn off dma channel search under overlay
  c4eef3b4b80e xingyu.wu spi:pl022-starfive:Avoid power device error when CONFIG_PM enable
  e10123abbc5d xingyu.wu spi:Modify pl022 driver format
  a86c836215ce xingyu.wu spi-pl022:starfive:Add platform bus register to adapt overlay
  17c6be971d69 xingyu.wu spi-pl022:starfive:Add spi driver for StarFive SoC platform

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
Change-Id: I631a219d56ea26e6609e33daa6c470b512da2698
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/spi/Kconfig [changed mode: 0644->0755]
drivers/spi/Makefile [changed mode: 0644->0755]
drivers/spi/spi-pl022-starfive.c [new file with mode: 0644]