mbox series

[v2,0/3] Nuvoton WPCM450 FIU SPI flash controller

Message ID 20221124191400.287918-1-j.neuschaefer@gmx.net
Headers show
Series Nuvoton WPCM450 FIU SPI flash controller | expand

Message

J. Neuschäfer Nov. 24, 2022, 7:13 p.m. UTC
This patchset adds DT bindings and a driver for the Flash Interface Unit
(FIU), the SPI flash controller in the Nuvoton WPCM450 BMC SoC. It
supports four chip selects, and direct (memory-mapped) access to 16 MiB
per chip. Larger flash chips can be accessed by software-defined SPI
transfers.

The existing NPCM7xx FIU driver is sufficitently incompatible with the
WPCM450 FIU that I decided to write a new driver.

Changelog for v2:

- Dropped the patches which have been applied in the meantime, leaving
  only three out of eight
- Changed the binding to require both items in the reg property, because
  there is no need to keep the second item optional, suggested by
  Krzysztof Kozlowski
- Various other cleanups suggested by Krzysztof Kozlowski and the kernel
  test robot


Jonathan


Jonathan Neuschäfer (3):
  dt-bindings: spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU)
  spi: wpcm-fiu: Add driver for Nuvoton WPCM450 Flash Interface Unit
    (FIU)
  spi: wpcm-fiu: Add direct map support

 .../bindings/spi/nuvoton,wpcm450-fiu.yaml     |  66 +++
 drivers/spi/Kconfig                           |  11 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-wpcm-fiu.c                    | 508 ++++++++++++++++++
 4 files changed, 586 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
 create mode 100644 drivers/spi/spi-wpcm-fiu.c

--
2.35.1

Comments

Mark Brown Nov. 25, 2022, 2:59 p.m. UTC | #1
On Thu, 24 Nov 2022 20:13:57 +0100, Jonathan Neuschäfer wrote:
> This patchset adds DT bindings and a driver for the Flash Interface Unit
> (FIU), the SPI flash controller in the Nuvoton WPCM450 BMC SoC. It
> supports four chip selects, and direct (memory-mapped) access to 16 MiB
> per chip. Larger flash chips can be accessed by software-defined SPI
> transfers.
> 
> The existing NPCM7xx FIU driver is sufficitently incompatible with the
> WPCM450 FIU that I decided to write a new driver.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] dt-bindings: spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU)
      commit: dd71cd4dd6c9bede8ee8277d650fcb9c1b12702c
[2/3] spi: wpcm-fiu: Add driver for Nuvoton WPCM450 Flash Interface Unit (FIU)
      commit: 1f8811a2613ef9e233d56885a19dd4c6e81a5d94
[3/3] spi: wpcm-fiu: Add direct map support
      commit: 9838c182471ee5532824bae7f2669d3539719f78

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark