[PATCH 0/8] spi: enable the SpacemiT K1 SoC QSPI
Alex Elder
elder at riscstar.com
Mon Oct 20 09:51:43 PDT 2025
This series adds support for the SpacemiT K1 SoC QSPI. This IP
is generally compatible with the Freescale QSPI driver, requiring
three minor changes to enable it to be supported. The changes
are:
- Adding support for optional resets
- Having the clock *not* be disabled when changing its rate
- Using a fixed 1K size for flash chips rather than having it
be related to the AHB buffer size.
-Alex
This series is available here:
https://github.com/riscstar/linux/tree/outgoing/qspi-v1
Alex Elder (8):
dt-bindings: spi: fsl-qspi: add optional resets
dt-bindings: spi: fsl-qspi: support SpacemiT K1
spi: fsl-qspi: add optional reset support
spi: fsl-qspi: add a clock disable quirk
spi: fsl-qspi: allot 1KB per chip
spi: fsl-qspi: support the SpacemiT K1 SoC
riscv: dts: spacemit: enable K1 SoC QSPI on BPI-F3
riscv: defconfig: enable SPI_FSL_QUADSPI as a module
.../bindings/spi/fsl,spi-fsl-qspi.yaml | 6 ++
.../boot/dts/spacemit/k1-bananapi-f3.dts | 6 ++
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi | 21 +++++++
arch/riscv/boot/dts/spacemit/k1.dtsi | 16 +++++
arch/riscv/configs/defconfig | 1 +
drivers/spi/Kconfig | 3 +-
drivers/spi/spi-fsl-qspi.c | 60 ++++++++++++++-----
7 files changed, 98 insertions(+), 15 deletions(-)
base-commit: 606da5bb165594c052ee11de79bf05bc38bc1aa6
--
2.48.1
More information about the linux-riscv
mailing list