[PATCH 0/3] Add Rockchip SFC(serial flash controller) support
Chris Morgan
macroalpha82 at gmail.com
Wed May 26 11:16:33 PDT 2021
From: Chris Morgan <macromorgan at hotmail.com>
I'm trying to revive an abandoned patch series for the Rockchip serial
flash controller (SFC) found on the Rockchip PX30 SOC, as well as other
SOCs by Rockchip. I'm picking this up from version 8 of the patch
series located from here:
http://patchwork.ozlabs.org/project/linux-mtd/cover/1518091958-3672-1-git-send-email-andy.yan@rock-chips.com/
Changes made in this new series versus the v8 of the old series:
- Added function to read spi-rx-bus-width from device tree, in the
event that the SPI chip supports 4x mode but only has 2 pins
wired (such as the Odroid Go Advance).
- Changed device tree documentation from txt to yaml format.
- Made "reset" message a dev_dbg from a dev_info.
- Changed read and write fifo functions to remove redundant checks.
- Changed the write and read from relaxed to non-relaxed when
starting the DMA transfer or reading the DMA IRQ.
- Changed from dma_coerce_mask_and_coherent to just
dma_set_mask_and_coherent.
- Changed name of get_if_type to rockchip_sfc_get_if_type.
Chris Morgan (3):
mtd: spi-nor: add rockchip serial flash controller driver
mtd: spi-nor: Bindings for Rockchip serial flash controller
arm64: dts: rockchip: Add SFC to PX30
.../mtd/rockchip,serialflash-controller.yaml | 100 ++
arch/arm64/boot/dts/rockchip/px30.dtsi | 38 +
drivers/mtd/spi-nor/controllers/Kconfig | 7 +
drivers/mtd/spi-nor/controllers/Makefile | 1 +
.../mtd/spi-nor/controllers/rockchip-sfc.c | 944 ++++++++++++++++++
5 files changed, 1090 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mtd/rockchip,serialflash-controller.yaml
create mode 100644 drivers/mtd/spi-nor/controllers/rockchip-sfc.c
--
2.25.1
More information about the linux-mtd
mailing list