[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221105185911.1547847-1-j.neuschaefer@gmx.net>
Date: Sat, 5 Nov 2022 19:59:03 +0100
From: Jonathan Neuschäfer <j.neuschaefer@....net>
To: linux-spi@...r.kernel.org, openbmc@...ts.ozlabs.org
Cc: Lee Jones <lee@...nel.org>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Jonathan Neuschäfer <j.neuschaefer@....net>,
Mark Brown <broonie@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org
Subject: [PATCH 0/8] Nuvoton WPCM450 FIU SPI flash controller
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.
This patchset depends on the WPCM450 clock support patchset,
[PATCH v5 0/6] Nuvoton WPCM450 clock and reset driver
Jonathan
Jonathan Neuschäfer (8):
pinctrl: nuvoton: wpcm450: Refactor MFSEL setting code
pinctrl: nuvoton: wpcm450: Fix handling of inverted MFSEL bits
dt-bindings: spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU)
dt-bindings: mfd: syscon: Add nuvoton,wpcm450-shm
ARM: dts: wpcm450: Add FIU SPI controller node
ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash
spi: wpcm-fiu: Add driver for Nuvoton WPCM450 Flash Interface Unit
(FIU)
spi: wpcm-fiu: Add direct map support
.../devicetree/bindings/mfd/syscon.yaml | 1 +
.../bindings/spi/nuvoton,wpcm450-fiu.yaml | 76 +++
.../nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 9 +
arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 16 +
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c | 32 +-
drivers/spi/Kconfig | 11 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-wpcm-fiu.c | 507 ++++++++++++++++++
8 files changed, 644 insertions(+), 9 deletions(-)
create mode 100644 Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
create mode 100644 drivers/spi/spi-wpcm-fiu.c
--
2.35.1
Powered by blists - more mailing lists