From: Renaud Barbier <renaud.barbier@abaco.com> To: barebox@lists.infradead.org Cc: Renaud Barbier <renaud.barbier@abaco.com> Subject: [PATCH 0/4] NXP IFC nand driver Date: Wed, 28 Jul 2021 13:47:04 +0100 Message-ID: <1627476428-16318-1-git-send-email-renaud.barbier@abaco.com> (raw) These patches add the NXP IFC nand driver and enables it for the Layescape SOC. Tested on the ls1046ardb evaluation board with UBI/UBIFS. The driver makes use of the ls10146ardb DTS to probe the device. Originally, adapted for our NXP P1014 based platforms(not upstream), it allows to pass the chip select number using platform data. Additional I/O operations and atomic 64-bit counters are added to support the 64-bit platform, driver and UBIFS. Renaud Barbier (4): ARM: atomic.h: add 64-bit counter support arm: 64-bit device specific operation nand: add NXP IFC nand driver ls1046ardb: enable IFC NAND. arch/arm/boards/ls1046ardb/board.c | 26 + arch/arm/configs/layerscape_defconfig | 12 + arch/arm/lib64/Makefile | 2 +- arch/arm/lib64/io.c | 98 ++ .../mach-layerscape/include/mach/fsl_ifc.h | 16 + .../mach-layerscape/include/mach/layerscape.h | 3 + drivers/mtd/nand/Kconfig | 6 + drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/fsl_ifc.h | 116 ++ drivers/mtd/nand/nand_fsl_ifc.c | 1037 +++++++++++++++++ include/asm-generic/atomic-long.h | 3 +- include/asm-generic/atomic.h | 49 + include/linux/fsl_ifc.h | 306 +++++ 13 files changed, 1673 insertions(+), 2 deletions(-) create mode 100644 arch/arm/lib64/io.c create mode 100644 arch/arm/mach-layerscape/include/mach/fsl_ifc.h create mode 100644 drivers/mtd/nand/fsl_ifc.h create mode 100644 drivers/mtd/nand/nand_fsl_ifc.c create mode 100644 include/linux/fsl_ifc.h -- 2.27.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2021-07-28 12:49 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-28 12:47 Renaud Barbier [this message] 2021-07-28 12:47 ` [PATCH 1/4] ARM: atomic.h: add 64-bit counter support Renaud Barbier 2021-07-29 9:58 ` Ahmad Fatoum 2021-07-28 12:47 ` [PATCH 2/4] arm: 64-bit device specific operation Renaud Barbier 2021-07-29 10:00 ` Ahmad Fatoum 2021-07-28 12:47 ` [PATCH 3/4] nand: add NXP IFC nand driver Renaud Barbier 2021-07-29 10:11 ` Ahmad Fatoum 2021-07-28 12:47 ` [PATCH 4/4] ls1046ardb: enable IFC NAND Renaud Barbier 2021-07-29 10:13 ` Ahmad Fatoum 2021-07-29 18:19 ` Barbier, Renaud
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=1627476428-16318-1-git-send-email-renaud.barbier@abaco.com \ --to=renaud.barbier@abaco.com \ --cc=barebox@lists.infradead.org \ /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: link
mail archive of the barebox mailing list This inbox may be cloned and mirrored by anyone: git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \ barebox@lists.infradead.org barebox@lists.infradead.org public-inbox-index barebox Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git