From: Miquel Raynal <miquel.raynal@bootlin.com> To: Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Tudor Ambarus <Tudor.Ambarus@microchip.com>, Pratyush Yadav <p.yadav@ti.com>, Michael Walle <michael@walle.cc>, <linux-mtd@lists.infradead.org> Cc: Rob Herring <robh+dt@kernel.org>, <devicetree@vger.kernel.org>, Milan Stevanovic <milan.stevanovic@se.com>, Jimmy Lalande <jimmy.lalande@se.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-renesas-soc@vger.kernel.org, Magnus Damm <magnus.damm@gmail.com>, Gareth Williams <gareth.williams.jx@renesas.com>, Phil Edworthy <phil.edworthy@renesas.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Miquel Raynal <miquel.raynal@bootlin.com> Subject: [PATCH v5 0/4] Renesas RZ/N1 NAND controller support Date: Fri, 17 Dec 2021 10:02:44 +0100 [thread overview] Message-ID: <20211217090248.259122-1-miquel.raynal@bootlin.com> (raw) Hello, Here is a short series bringing support for Renesas RZ/N1 NAND controller. This time 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 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: rzn1: Describe Renesas RZ/N1 NAND controller mtd: rawnand: rzn1: Add new NAND controller driver MAINTAINERS: Add an entry for Renesas RZ/N1 NAND controller ARM: dts: r9a06g032: Describe NAND controller .../mtd/renesas,rzn1-nand-controller.yaml | 61 + MAINTAINERS | 7 + arch/arm/boot/dts/r9a06g032.dtsi | 12 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/rzn1-nand-controller.c | 1422 +++++++++++++++++ 6 files changed, 1509 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/renesas,rzn1-nand-controller.yaml create mode 100644 drivers/mtd/nand/raw/rzn1-nand-controller.c -- 2.27.0
WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com> To: Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Tudor Ambarus <Tudor.Ambarus@microchip.com>, Pratyush Yadav <p.yadav@ti.com>, Michael Walle <michael@walle.cc>, <linux-mtd@lists.infradead.org> Cc: Rob Herring <robh+dt@kernel.org>, <devicetree@vger.kernel.org>, Milan Stevanovic <milan.stevanovic@se.com>, Jimmy Lalande <jimmy.lalande@se.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-renesas-soc@vger.kernel.org, Magnus Damm <magnus.damm@gmail.com>, Gareth Williams <gareth.williams.jx@renesas.com>, Phil Edworthy <phil.edworthy@renesas.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Miquel Raynal <miquel.raynal@bootlin.com> Subject: [PATCH v5 0/4] Renesas RZ/N1 NAND controller support Date: Fri, 17 Dec 2021 10:02:44 +0100 [thread overview] Message-ID: <20211217090248.259122-1-miquel.raynal@bootlin.com> (raw) Hello, Here is a short series bringing support for Renesas RZ/N1 NAND controller. This time 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 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: rzn1: Describe Renesas RZ/N1 NAND controller mtd: rawnand: rzn1: Add new NAND controller driver MAINTAINERS: Add an entry for Renesas RZ/N1 NAND controller ARM: dts: r9a06g032: Describe NAND controller .../mtd/renesas,rzn1-nand-controller.yaml | 61 + MAINTAINERS | 7 + arch/arm/boot/dts/r9a06g032.dtsi | 12 + drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/rzn1-nand-controller.c | 1422 +++++++++++++++++ 6 files changed, 1509 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/renesas,rzn1-nand-controller.yaml create mode 100644 drivers/mtd/nand/raw/rzn1-nand-controller.c -- 2.27.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
next reply other threads:[~2021-12-17 9:02 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-17 9:02 Miquel Raynal [this message] 2021-12-17 9:02 ` [PATCH v5 0/4] Renesas RZ/N1 NAND controller support Miquel Raynal 2021-12-17 9:02 ` [PATCH v5 1/4] dt-bindings: mtd: rzn1: Describe Renesas RZ/N1 NAND controller Miquel Raynal 2021-12-17 9:02 ` Miquel Raynal 2021-12-17 9:02 ` [PATCH v5 2/4] mtd: rawnand: rzn1: Add new NAND controller driver Miquel Raynal 2021-12-17 9:02 ` Miquel Raynal 2021-12-17 10:15 ` Wolfram Sang 2021-12-17 10:15 ` Wolfram Sang 2021-12-17 10:55 ` Geert Uytterhoeven 2021-12-17 10:55 ` Geert Uytterhoeven 2021-12-17 9:02 ` [PATCH v5 3/4] MAINTAINERS: Add an entry for Renesas RZ/N1 NAND controller Miquel Raynal 2021-12-17 9:02 ` Miquel Raynal 2021-12-17 9:02 ` [PATCH v5 4/4] ARM: dts: r9a06g032: Describe " Miquel Raynal 2021-12-17 9:02 ` Miquel Raynal
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211217090248.259122-1-miquel.raynal@bootlin.com \ --to=miquel.raynal@bootlin.com \ --cc=Tudor.Ambarus@microchip.com \ --cc=devicetree@vger.kernel.org \ --cc=gareth.williams.jx@renesas.com \ --cc=geert@linux-m68k.org \ --cc=jimmy.lalande@se.com \ --cc=linux-mtd@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ --cc=michael@walle.cc \ --cc=milan.stevanovic@se.com \ --cc=p.yadav@ti.com \ --cc=phil.edworthy@renesas.com \ --cc=richard@nod.at \ --cc=robh+dt@kernel.org \ --cc=thomas.petazzoni@bootlin.com \ --cc=vigneshr@ti.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.