lkml.org 
[lkml]   [2022]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Nuvoton WPCM450 FIU SPI flash controller
Date
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

\
 
 \ /
  Last update: 2022-11-24 20:14    [W:1.918 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site