| /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" 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" 45 Enable the driver for NAND flash on Intel Moorestown, using the 46 Denali NAND controller core. [all …]
|
| D | sunxi_nand.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * https://github.com/yuq/sunxi-nfc-mtd 9 * https://github.com/hno/Allwinner-Info 16 #include <linux/dma-mapping.h> 70 #define NFC_PAGE_SHIFT(x) (((x) < 10 ? 0 : (x) - 10) << 8) 107 #define NFC_ADR_NUM(x) (((x) - 1) << 16) 161 * struct sunxi_nand_chip_sel - stores information related to NAND Chip Select 163 * @cs: the NAND CS id used to communicate with a NAND Chip 164 * @rb: the Ready/Busy pin ID. -1 means no R/B pin connected to the NFC 172 * struct sunxi_nand_hw_ecc - stores information related to HW ECC support [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
| D | Kconfig | 5 bool "NAND ECC Smart Media byte order" 14 tristate "Raw/Parallel NAND Device Support" 19 NAND flash devices. For further information see 20 <http://www.linux-mtd.infradead.org/doc/nand.html>. 36 ECC codes. They are used with NAND devices requiring more than 1 bit 47 tristate "Support Denali NAND controller on Intel Moorestown" 51 Enable the driver for NAND flash on Intel Moorestown, using the 52 Denali NAND controller core. 55 tristate "Support Denali NAND controller as a DT device" 59 Enable the driver for NAND flash on platforms using a Denali NAND [all …]
|
| D | jz4780_nand.c | 2 * JZ4780 NAND driver 26 #include <linux/jz4780-nemc.h> 30 #define DRV_NAME "jz4780-nand" 47 struct nand_controller controller; member 71 return container_of(ctrl, struct jz4780_nand_controller, controller); in to_jz4780_nand_controller() 76 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_select_chip() local 77 struct jz4780_nand_controller *nfc = to_jz4780_nand_controller(nand->chip.controller); in jz4780_nand_select_chip() 81 if (chipnr == -1 && nfc->selected >= 0) { in jz4780_nand_select_chip() 82 cs = &nfc->cs[nfc->selected]; in jz4780_nand_select_chip() 83 jz4780_nemc_assert(nfc->dev, cs->bank, false); in jz4780_nand_select_chip() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | marvell-nand.txt | 1 Marvell NAND Flash Controller (NFC) 4 - compatible: can be one of the following: 5 * "marvell,armada-8k-nand-controller" 6 * "marvell,armada370-nand-controller" 7 * "marvell,pxa3xx-nand-controller" 8 * "marvell,armada-8k-nand" (deprecated) 9 * "marvell,armada370-nand" (deprecated) 10 * "marvell,pxa3xx-nand" (deprecated) 13 - reg: NAND flash controller memory area. 14 - #address-cells: shall be set to 1. Encode the NAND CS. [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 9 This controller was originally designed for STB SoCs (BCM7xxx) but is now 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: 21 string, like "brcm,brcmnand-v7.0" [all …]
|
| D | qcom_nandc.txt | 1 * Qualcomm NAND controller 4 - compatible: must be one of the following: 5 * "qcom,ipq806x-nand" - for EBI2 NAND controller being used in IPQ806x 7 * "qcom,ipq4019-nand" - for QPIC NAND controller v1.4.0 being used in 9 * "qcom,ipq8074-nand" - for QPIC NAND controller v1.5.0 being used in 12 - reg: MMIO address range 13 - clocks: must contain core clock and always on clock 14 - clock-names: must contain "core" for the core clock and "aon" for the 18 - dmas: DMA specifier, consisting of a phandle to the ADM DMA 19 controller node and the channel number to be used for [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 | nand-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mtd/nand-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NAND Chip and NAND Controller Generic Binding 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Richard Weinberger <richard@nod.at> 14 The NAND controller should be represented with its own DT node, and 15 all NAND chips attached to this controller should be defined as 16 children nodes of the NAND controller. This representation should be [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 | denali,nand.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/denali,nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Denali NAND controller 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 15 - altr,socfpga-denali-nand 16 - socionext,uniphier-denali-nand-v5a 17 - socionext,uniphier-denali-nand-v5b 19 reg-names: [all …]
|
| D | mxic-nand.txt | 1 Macronix Raw NAND Controller Device Tree Bindings 2 ------------------------------------------------- 5 - compatible: should be "mxic,multi-itfc-v009-nand-controller" 6 - reg: should contain 1 entry for the registers 7 - #address-cells: should be set to 1 8 - #size-cells: should be set to 0 9 - interrupts: interrupt line connected to this raw NAND controller 10 - clock-names: should contain "ps", "send" and "send_dly" 11 - clocks: should contain 3 phandles for the "ps", "send" and 15 - children nodes represent the available NAND chips. [all …]
|
| D | cadence-nand-controller.txt | 1 * Cadence NAND controller 4 - compatible : "cdns,hp-nfc" 5 - reg : Contains two entries, each of which is a tuple consisting of a 7 length of the controller register set. The second entry is the 9 - reg-names: should contain "reg" and "sdma" 10 - #address-cells: should be 1. The cell encodes the chip select connection. 11 - #size-cells : should be 0. 12 - interrupts : The interrupt number. 13 - clocks: phandle of the controller core clock (nf_clk). 16 - dmas: shall reference DMA channel associated to the NAND controller [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. 4 The functional split of the controller requires two drivers to operate: 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". [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mtd/ |
| D | nand.txt | 1 * NAND chip and NAND controller generic binding 3 NAND controller/NAND chip representation: 5 The NAND controller should be represented with its own DT node, and all 6 NAND chips attached to this controller should be defined as children nodes 7 of the NAND controller. This representation should be enforced even for 10 Mandatory NAND controller properties: 11 - #address-cells: depends on your controller. Should at least be 1 to 13 - #size-cells: depends on your controller. Put zero unless you need a 16 Optional NAND controller properties 17 - ranges: only needed if you need to define a mapping between CS lines and [all …]
|
| D | marvell-nand.txt | 1 Marvell NAND Flash Controller (NFC) 4 - compatible: can be one of the following: 5 * "marvell,armada-8k-nand-controller" 6 * "marvell,armada370-nand-controller" 7 * "marvell,pxa3xx-nand-controller" 8 * "marvell,armada-8k-nand" (deprecated) 9 * "marvell,armada370-nand" (deprecated) 10 * "marvell,pxa3xx-nand" (deprecated) 13 - reg: NAND flash controller memory area. 14 - #address-cells: shall be set to 1. Encode the NAND CS. [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 15 property must contain a phandle for the BCH controller node. The required [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 9 This controller was originally designed for STB SoCs (BCM7xxx) but is now 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: 21 string, like "brcm,brcmnand-v7.0" [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 | qcom_nandc.txt | 1 * Qualcomm NAND controller 4 - compatible: must be one of the following: 5 * "qcom,ipq806x-nand" - for EBI2 NAND controller being used in IPQ806x 7 * "qcom,ipq4019-nand" - for QPIC NAND controller v1.4.0 being used in 9 * "qcom,ipq8074-nand" - for QPIC NAND controller v1.5.0 being used in 12 - reg: MMIO address range 13 - clocks: must contain core clock and always on clock 14 - clock-names: must contain "core" for the core clock and "aon" for the 18 - dmas: DMA specifier, consisting of a phandle to the ADM DMA 19 controller node and the channel number to be used for [all …]
|
| D | sunxi-nand.txt | 1 Allwinner NAND Flash Controller (NFC) 4 - compatible : "allwinner,sun4i-a10-nand". 5 - reg : shall contain registers location and length for data and reg. 6 - interrupts : shall define the nand controller interrupt. 7 - #address-cells: shall be set to 1. Encode the nand CS. 8 - #size-cells : shall be set to 0. 9 - clocks : shall reference nand controller clocks. 10 - clock-names : nand controller internal clock names. Shall contain : 12 * "mod" : nand controller clock 15 - dmas : shall reference DMA channel associated to the 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 | 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. 4 The functional split of the controller requires two drivers to operate: 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". [all …]
|