Skip to content

Commit ec4ba01

Browse files
psr0kamiquelraynal
authored andcommitted
mtd: rawnand: Add new Cadence NAND driver to MTD subsystem
Add new Cadence NAND driver to MTD subsystem Signed-off-by: Piotr Sroka <piotrs@cadence.com> Reported-by: kbuild test robot <lkp@intel.com> Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent a3c4c23 commit ec4ba01

File tree

4 files changed

+3045
-0
lines changed

4 files changed

+3045
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3598,6 +3598,12 @@ S: Maintained
35983598
F: Documentation/devicetree/bindings/media/cdns,*.txt
35993599
F: drivers/media/platform/cadence/cdns-csi2*
36003600

3601+
CADENCE NAND DRIVER
3602+
M: Piotr Sroka <piotrs@cadence.com>
3603+
L: linux-mtd@lists.infradead.org
3604+
S: Maintained
3605+
F: drivers/mtd/nand/raw/cadence-nand-controller.c
3606+
36013607
CADET FM/AM RADIO RECEIVER DRIVER
36023608
M: Hans Verkuil <hverkuil@xs4all.nl>
36033609
L: linux-media@vger.kernel.org

drivers/mtd/nand/raw/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,13 @@ config MTD_NAND_PLATFORM
450450
devices. You will need to provide platform-specific functions
451451
via platform_data.
452452

453+
config MTD_NAND_CADENCE
454+
tristate "Support Cadence NAND (HPNFC) controller"
455+
depends on OF || COMPILE_TEST
456+
help
457+
Enable the driver for NAND flash on platforms using a Cadence NAND
458+
controller.
459+
453460
comment "Misc"
454461

455462
config MTD_SM_COMMON

drivers/mtd/nand/raw/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_MXIC) += mxic_nand.o
5757
obj-$(CONFIG_MTD_NAND_TEGRA) += tegra_nand.o
5858
obj-$(CONFIG_MTD_NAND_STM32_FMC2) += stm32_fmc2_nand.o
5959
obj-$(CONFIG_MTD_NAND_MESON) += meson_nand.o
60+
obj-$(CONFIG_MTD_NAND_CADENCE) += cadence-nand-controller.o
6061

6162
nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
6263
nand-objs += nand_onfi.o

0 commit comments

Comments
 (0)