devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] Renesas NAND controller support
@ 2021-12-17 14:20 Miquel Raynal
  2021-12-17 14:20 ` [PATCH v6 1/4] dt-bindings: mtd: renesas: Describe Renesas R-Car Gen3 & RZ/N1 NAND controller Miquel Raynal
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Miquel Raynal @ 2021-12-17 14:20 UTC (permalink / raw)
  To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
	Pratyush Yadav, Michael Walle, linux-mtd
  Cc: Rob Herring, devicetree, Milan Stevanovic, Jimmy Lalande,
	Thomas Petazzoni, linux-renesas-soc, Magnus Damm, Gareth Williams,
	Phil Edworthy, Geert Uytterhoeven, Wolfram Sang, Chris Brandt,
	Ralph Siemsen, Miquel Raynal

Hello,

Here is a short series bringing support for Renesas NAND controller
found on R-Car Gen3 and RZ/N1 SoCs.

The driver has been tested with a fully-upstream device tree on top of a
v5.16-rc4. The DT used is very close to the r9a06g032-db.

Cheers,
Miquèl

Changes in v6:
* Added Geert's R-by on the DT patch.
* Changed all the naming due to Wolfram's feedback. This controller is
  also found on the R-Car Gen3 family. Hence I used a much more generic
  name for the driver, the bindings, the variables, etc. The bindings
  have been updated to match the two different SoC families as well.
* Updated the MODULE_LICENSE macro as suggested by Wolfram.
 
Changes in v5:
* Add Rob's ack on the bindings.
* Dropped the #address/size-cells properties (handled by nand-controller.yaml).
* Fixed a typo reported by the kernel test robot (when building as a module).

Changes in v4:
* Set unevaluatedProperties set to false in the bindings.
* Change the clock names by removing the nand_ prefix which is
  redundant, even though the clocks are named like this in the spec. The
  name remains clear enough anyway.

Changes in v3:
* Rebased on top of a fully-upstream recent kernel.
* Renamed the clocks in the bindings and the driver to match the
  documentation (lower-cased): nand_hclk & nand_eclk.
* Added a new commit describing the NAND controller in the r9a06g032
  DTSI.
* Added the Reviewed-by and Tested-by tags received.

Changes in v2:
* Added the family-specific rzn1 compatible as suggested by Geert.
  Updated the bindings, the binding file name, the compatible used in
  the driver, the MAINTAINERS entry, etc.
* Added an ARCH_RENESAS Kconfig dependency.
* Changed the type (to unsigned) of a couple of variables.
* Returned earlier when possible to reduce indentation.
* Used platform_get_irq_optional() instead of platform_get_irq() to avoid
  a useless warning.
* Handled probe deferral correctly.
* Applied a massive s/nfc/nandc/ as suggested by Geert to avoid
  confusions with the near-field-communication device.
* Mentioned Evatronix as original authors of the IP in the commit log and
  in the header.
* Added an additional check on the validity of the child nodes reg property.
* A couple of style fixes.

Miquel Raynal (4):
  dt-bindings: mtd: renesas: Describe Renesas R-Car Gen3 & RZ/N1 NAND
    controller
  mtd: rawnand: renesas: Add new NAND controller driver
  MAINTAINERS: Add an entry for Renesas NAND controller
  ARM: dts: r9a06g032: Describe the NAND controller

 .../bindings/mtd/renesas-nandc.yaml           |   66 +
 MAINTAINERS                                   |    7 +
 arch/arm/boot/dts/r9a06g032.dtsi              |   11 +
 drivers/mtd/nand/raw/Kconfig                  |    7 +
 drivers/mtd/nand/raw/Makefile                 |    1 +
 .../mtd/nand/raw/renesas-nand-controller.c    | 1424 +++++++++++++++++
 6 files changed, 1516 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/renesas-nandc.yaml
 create mode 100644 drivers/mtd/nand/raw/renesas-nand-controller.c

-- 
2.27.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-12-21 17:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-17 14:20 [PATCH v6 0/4] Renesas NAND controller support Miquel Raynal
2021-12-17 14:20 ` [PATCH v6 1/4] dt-bindings: mtd: renesas: Describe Renesas R-Car Gen3 & RZ/N1 NAND controller Miquel Raynal
2021-12-17 15:44   ` Geert Uytterhoeven
2021-12-17 15:51     ` Miquel Raynal
2021-12-17 15:52       ` Geert Uytterhoeven
2021-12-17 21:38   ` Wolfram Sang
2021-12-21 17:10   ` Miquel Raynal
2021-12-17 14:20 ` [PATCH v6 2/4] mtd: rawnand: renesas: Add new NAND controller driver Miquel Raynal
2021-12-17 21:37   ` Wolfram Sang
2021-12-21 17:10   ` Miquel Raynal
2021-12-17 14:20 ` [PATCH v6 3/4] MAINTAINERS: Add an entry for Renesas NAND controller Miquel Raynal
2021-12-17 21:34   ` Wolfram Sang
2021-12-21  9:16     ` Miquel Raynal
2021-12-21 17:10   ` Miquel Raynal
2021-12-17 14:20 ` [PATCH v6 4/4] ARM: dts: r9a06g032: Describe the " Miquel Raynal
2021-12-17 21:38   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).