lkml.org 
[lkml]   [2020]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/6] add STM32 FMC2 EBI controller driver
Date
The FMC2 functional block makes the interface with: synchronous and
asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped
peripherals) and NAND flash memories.
Its main purposes are:
- to translate AXI transactions into the appropriate external device
protocol
- to meet the access time requirements of the external devices
All external devices share the addresses, data and control signals with the
controller. Each external device is accessed by means of a unique Chip
Select. The FMC2 performs only one access at a time to an external device.

Changes in v5:
- NAND:
- do not display errors if the driver is deferred.
- look at the parent compatible string to match what we expect.
- bindings:
- add Rob reviewed-by tag on patch 3.
- fix indent descriptions.
- add new NFC compatible string to handle reg number of entries.

Changes in v4:
- bindings:
- fix filename: st,stm32-fmc2-ebi.yaml

Changes in v3:
- NAND:
- rename labels used on errors
- add in the commit log the reason to increase FMC2_TIMEOUT_MS (patch 3)
- add Miquel reviewed-by tag (patches 2/4/5/9)
- EBI:
- move in memory folder
- merge MFD and BUS drivers to avoid a MFD driver
- bindings:
- pattern name has been modified
- vendor properties have been modified
- s/_/-/
- add unit suffix (-ns) on timing properties

Christophe Kerello (6):
mtd: rawnand: stm32_fmc2: do not display errors if the driver is
deferred
dt-bindings: mtd: update STM32 FMC2 NAND controller documentation
dt-bindings: memory-controller: add STM32 FMC2 EBI controller
documentation
memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver
mtd: rawnand: stm32_fmc2: use regmap APIs
mtd: rawnand: stm32_fmc2: get resources from parent node

.../memory-controllers/st,stm32-fmc2-ebi.yaml | 252 ++++
.../bindings/mtd/st,stm32-fmc2-nand.yaml | 83 +-
drivers/memory/Kconfig | 10 +
drivers/memory/Makefile | 1 +
drivers/memory/stm32-fmc2-ebi.c | 1206 ++++++++++++++++++++
drivers/mtd/nand/raw/Kconfig | 1 +
drivers/mtd/nand/raw/stm32_fmc2_nand.c | 311 ++---
7 files changed, 1688 insertions(+), 176 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi.yaml
create mode 100644 drivers/memory/stm32-fmc2-ebi.c

--
1.9.1

\
 
 \ /
  Last update: 2020-06-12 17:24    [W:0.077 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site