| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mtd/ |
| D | gpmi-nand.txt | 1 * Freescale General-Purpose Media Interface (GPMI) 3 The GPMI nand controller provides an interface to control the 4 NAND flash chips. 7 - compatible : should be "fsl,<chip>-gpmi-nand", chip can be: 13 - reg : should contain registers location and length for gpmi and bch. 14 - reg-names: Should contain the reg names "gpmi-nand" and "bch" 15 - interrupts : BCH interrupt number. 16 - interrupt-names : Should be "bch". 17 - dmas: DMA specifier, consisting of a phandle to DMA controller node 19 Refer to dma.txt and fsl-mxs-dma.txt for details. [all …]
|
| D | brcm,brcmnand.txt | 1 * Broadcom STB NAND Controller 3 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 4 flash chips. It has a memory-mapped register interface for both control 5 registers and for its data input/output buffer. On some SoCs, this controller is 6 paired with a custom DMA engine (inventively named "Flash DMA") which supports 10 available on a variety of Broadcom SoCs, including some BCM3xxx, BCM63xx, and 15 - compatible : May contain an SoC-specific compatibility string (see below) 16 to account for any SoC-specific hardware bits that may be 17 added on top of the base core controller. 19 the core NAND controller, of the following form: [all …]
|
| D | davinci-nand.txt | 1 Device tree bindings for Texas instruments Davinci/Keystone NAND controller 4 NAND interface contains. 7 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 8 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 12 - compatible: "ti,davinci-nand" 13 "ti,keystone-nand" 15 - reg: Contains 2 offset/length values: 16 - offset and length for the access window. 17 - offset and length for accessing the AEMIF 20 - ti,davinci-chipselect: number of chipselect. Indicates on the [all …]
|
| D | ingenic,jz4780-nand.txt | 1 * Ingenic JZ4780 NAND/BCH 3 This file documents the device tree bindings for NAND flash devices on the 4 JZ4780. NAND devices are connected to the NEMC controller (described in 5 memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must 8 Required NAND controller device properties: 9 - compatible: Should be set to "ingenic,jz4780-nand". 10 - reg: For each bank with a NAND chip attached, should specify a bank number, 13 Optional NAND controller device properties: 14 - ingenic,bch-controller: To make use of the hardware BCH controller, this 20 - Individual NAND chips are children of the NAND controller node. [all …]
|
| D | samsung-s3c2410.txt | 1 * Samsung S3C2410 and compatible NAND flash controller 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand.txt 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 14 Child nodes representing the available nand chips. [all …]
|
| D | vf610-nfc.txt | 1 Freescale's NAND flash controller (NFC) 3 This variant of the Freescale NAND flash controller (NFC) can be found on 7 - compatible: Should be set to "fsl,vf610-nfc". 8 - reg: address range of the NFC. 9 - interrupts: interrupt of the NFC. 10 - #address-cells: shall be set to 1. Encode the nand CS. 11 - #size-cells : shall be set to 0. 12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>; 13 - assigned-clock-rates: The NAND bus timing is derived from this clock 14 rate and should not exceed maximum timing for any NAND memory chip [all …]
|
| D | atmel-nand.txt | 1 Atmel NAND flash controller bindings 3 The NAND flash controller node should be defined under the EBI bus (see 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 5 One or several NAND devices can be defined under this NAND controller. 6 The NAND controller might be connected to an ECC engine. 8 * NAND controller bindings: 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" [all …]
|
| D | nvidia-tegra20-nand.txt | 1 NVIDIA Tegra NAND Flash controller 4 - compatible: Must be one of: 5 - "nvidia,tegra20-nand" 6 - reg: MMIO address range 7 - interrupts: interrupt output of the NFC controller 8 - clocks: Must contain an entry for each entry in clock-names. 9 See ../clocks/clock-bindings.txt for details. 10 - clock-names: Must include the following entries: 11 - nand 12 - resets: Must contain an entry for each entry in reset-names. [all …]
|
| D | lpc32xx-slc.txt | 1 NXP LPC32xx SoC NAND SLC controller 4 - compatible: "nxp,lpc3220-slc" 5 - reg: Address and size of the controller 6 - nand-on-flash-bbt: Use bad block table on flash 7 - gpios: GPIO specification for NAND write protect 11 - nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) 12 - nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) 15 - nxp,wwidth: Write pulse width (W_WIDTH) 16 - nxp,whold: Write hold time (W_HOLD) 17 - nxp,wsetup: Write setup time (W_SETUP) [all …]
|
| D | mtk-nand.txt | 1 MTK SoCs NAND FLASH controller (NFC) DT binding 3 This file documents the device tree bindings for MTK SoCs NAND controllers. 5 the nand controller interface driver and the ECC engine driver. 10 1) NFC NAND Controller Interface (NFI): 13 The first part of NFC is NAND Controller Interface (NFI) HW. 15 - compatible: Should be one of 16 "mediatek,mt2701-nfc", 17 "mediatek,mt2712-nfc", 18 "mediatek,mt7622-nfc". 19 - reg: Base physical address and size of NFI. [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
| D | Kconfig | 5 bool "NAND ECC Smart Media byte order" 6 depends on MTD_NAND_ECC 14 tristate "Raw/Parallel NAND Device Support" 15 depends on MTD 19 NAND flash devices. For further information see 20 <http://www.linux-mtd.infradead.org/doc/nand.html>. 27 depends on MTD_NAND_ECC_BCH 36 ECC codes. They are used with NAND devices requiring more than 1 bit 47 tristate "Support Denali NAND controller on Intel Moorestown" 49 depends on PCI [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 bool "NAND ECC Smart Media byte order" 7 depends on MTD_NAND_ECC_SW_HAMMING 14 tristate "Raw/Parallel NAND Device Support" 20 NAND flash devices. For further information see 21 <http://www.linux-mtd.infradead.org/doc/nand.html>. 32 ECC codes. They are used with NAND devices requiring more than 1 bit 35 comment "Raw/parallel NAND flash controllers" 41 tristate "Denali NAND controller on Intel Moorestown" 43 depends on PCI [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | brcm,brcmnand.txt | 1 * Broadcom STB NAND Controller 3 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 4 flash chips. It has a memory-mapped register interface for both control 5 registers and for its data input/output buffer. On some SoCs, this controller is 6 paired with a custom DMA engine (inventively named "Flash DMA") which supports 10 available on a variety of Broadcom SoCs, including some BCM3xxx, BCM63xx, and 15 - compatible : May contain an SoC-specific compatibility string (see below) 16 to account for any SoC-specific hardware bits that may be 17 added on top of the base core controller. 19 the core NAND controller, of the following form: [all …]
|
| D | davinci-nand.txt | 1 Device tree bindings for Texas instruments Davinci/Keystone NAND controller 4 NAND interface contains. 7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 12 - compatible: "ti,davinci-nand" 13 "ti,keystone-nand" 15 - reg: Contains 2 offset/length values: 16 - offset and length for the access window. 17 - offset and length for accessing the AEMIF 20 - ti,davinci-chipselect: number of chipselect. Indicates on the [all …]
|
| D | samsung-s3c2410.txt | 1 * Samsung S3C2410 and compatible NAND flash controller 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand-controller.yaml 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 14 Child nodes representing the available nand chips. [all …]
|
| D | vf610-nfc.txt | 1 Freescale's NAND flash controller (NFC) 3 This variant of the Freescale NAND flash controller (NFC) can be found on 7 - compatible: Should be set to "fsl,vf610-nfc". 8 - reg: address range of the NFC. 9 - interrupts: interrupt of the NFC. 10 - #address-cells: shall be set to 1. Encode the nand CS. 11 - #size-cells : shall be set to 0. 12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>; 13 - assigned-clock-rates: The NAND bus timing is derived from this clock 14 rate and should not exceed maximum timing for any NAND memory chip [all …]
|
| D | atmel-nand.txt | 1 Atmel NAND flash controller bindings 3 The NAND flash controller node should be defined under the EBI bus (see 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 5 One or several NAND devices can be defined under this NAND controller. 6 The NAND controller might be connected to an ECC engine. 8 * NAND controller bindings: 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" [all …]
|
| D | gpmi-nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale General-Purpose Media Interface (GPMI) binding 10 - Han Xu <han.xu@nxp.com> 13 - $ref: "nand-controller.yaml" 16 The GPMI nand controller provides an interface to control the NAND 17 flash chips. The device tree may optionally contain sub-nodes 24 - enum: [all …]
|
| D | nvidia-tegra20-nand.txt | 1 NVIDIA Tegra NAND Flash controller 4 - compatible: Must be one of: 5 - "nvidia,tegra20-nand" 6 - reg: MMIO address range 7 - interrupts: interrupt output of the NFC controller 8 - clocks: Must contain an entry for each entry in clock-names. 9 See ../clocks/clock-bindings.txt for details. 10 - clock-names: Must include the following entries: 11 - nand 12 - resets: Must contain an entry for each entry in reset-names. [all …]
|
| D | lpc32xx-slc.txt | 1 NXP LPC32xx SoC NAND SLC controller 4 - compatible: "nxp,lpc3220-slc" 5 - reg: Address and size of the controller 6 - nand-on-flash-bbt: Use bad block table on flash 7 - gpios: GPIO specification for NAND write protect 11 - nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) 12 - nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) 15 - nxp,wwidth: Write pulse width (W_WIDTH) 16 - nxp,whold: Write hold time (W_HOLD) 17 - nxp,wsetup: Write setup time (W_SETUP) [all …]
|
| D | mtk-nand.txt | 1 MTK SoCs NAND FLASH controller (NFC) DT binding 3 This file documents the device tree bindings for MTK SoCs NAND controllers. 5 the nand controller interface driver and the ECC engine driver. 10 1) NFC NAND Controller Interface (NFI): 13 The first part of NFC is NAND Controller Interface (NFI) HW. 15 - compatible: Should be one of 16 "mediatek,mt2701-nfc", 17 "mediatek,mt2712-nfc", 18 "mediatek,mt7622-nfc". 19 - reg: Base physical address and size of NFI. [all …]
|
| /kernel/linux/linux-5.10/include/linux/mtd/ |
| D | bbm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * NAND family Bad Block Management (BBM) header file 4 * - Bad Block Table (BBT) implementation 9 * Copyright © 2000-2005 15 /* The maximum number of NAND chips in an array */ 19 * struct nand_bbt_descr - bad block table descriptor 21 * @pages: the page(s) where we find the bbt, used with option BBT_ABSPAGE 22 * when bbt is searched, then we store the found bbts pages here. 25 * @veroffs: offset of the bbt version counter in the oob are of the page 26 * @version: version read from the bbt page during scan [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/ |
| D | bbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Boris Brezillon <boris.brezillon@free-electrons.com> 10 #define pr_fmt(fmt) "nand-bbt: " fmt 12 #include <linux/mtd/nand.h> 16 * nanddev_bbt_init() - Initialize the BBT (Bad Block Table) 17 * @nand: NAND device 19 * Initialize the in-memory BBT. 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() argument 26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() 30 nand->bbt.cache = kcalloc(nwords, sizeof(*nand->bbt.cache), in nanddev_bbt_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/ |
| D | bbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Boris Brezillon <boris.brezillon@free-electrons.com> 10 #define pr_fmt(fmt) "nand-bbt: " fmt 12 #include <linux/mtd/nand.h> 16 * nanddev_bbt_init() - Initialize the BBT (Bad Block Table) 17 * @nand: NAND device 19 * Initialize the in-memory BBT. 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() argument 26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() 30 nand->bbt.cache = kcalloc(nwords, sizeof(*nand->bbt.cache), in nanddev_bbt_init() [all …]
|
| /kernel/linux/linux-4.19/include/linux/mtd/ |
| D | bbm.h | 2 * NAND family Bad Block Management (BBM) header file 3 * - Bad Block Table (BBT) implementation 8 * Copyright © 2000-2005 23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 /* The maximum number of NAND chips in an array */ 33 * struct nand_bbt_descr - bad block table descriptor 35 * @pages: the page(s) where we find the bbt, used with option BBT_ABSPAGE 36 * when bbt is searched, then we store the found bbts pages here. 39 * @veroffs: offset of the bbt version counter in the oob are of the page 40 * @version: version read from the bbt page during scan [all …]
|