/linux/Documentation/devicetree/bindings/mtd/ |
H A D | rockchip,nand-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/rockchip,nand-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: nand-controller.yaml# 13 - Heiko Stuebner <heiko@sntech.de> 18 - const: rockchip,px30-nfc 19 - const: rockchip,rk2928-nfc 20 - const: rockchip,rv1108-nfc 21 - items: [all …]
|
H A D | raw-nand-chip.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/raw-nand-chip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 13 - $ref: nand-chip.yaml# 16 The ECC strength and ECC step size properties define the user 18 they request the ECC engine to correct {strength} bit errors per 21 The interpretation of these parameters is implementation-defined, so 28 pattern: "^nand@[a-f0-9]$" [all …]
|
H A D | amlogic,meson-nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/amlogic,meson-nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: nand-controller.yaml 13 - liang.yang@amlogic.com 18 - amlogic,meson-gxl-nfc 19 - amlogic,meson-axg-nfc 24 reg-names: 26 - const: nfc [all …]
|
H A D | nvidia-tegra20-nand.txt | 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. 14 - reset-names: Must include the following entries: [all …]
|
H A D | qcom,nandc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 - qcom,ipq806x-nand 16 - qcom,ipq4019-nand 17 - qcom,ipq6018-nand 18 - qcom,ipq8074-nand 19 - qcom,sdx55-nand 26 - description: Core Clock [all …]
|
H A D | brcm,brcmnand.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <computersforpeace@gmail.com> 11 - Kamal Dasu <kdasu.kdev@gmail.com> 12 - William Zhang <william.zhang@broadcom.com> 15 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 16 flash chips. It has a memory-mapped register interface for both control 27 -- Additional SoC-specific NAND controller properties -- 35 interesting ways, sometimes with registers that lump multiple NAND-related [all …]
|
H A D | ingenic,nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: nand-controller.yaml# 14 - $ref: /schemas/memory-controllers/ingenic,nemc-peripherals.yaml# 19 - ingenic,jz4740-nand 20 - ingenic,jz4725b-nand 21 - ingenic,jz4780-nand 25 - description: Bank number, offset and size of first attached NAND chip [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | rockchip-nand-controller.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 5 * Author: Yifeng Zhao <yifeng.zhao@rock-chips.com> 10 #include <linux/dma-mapping.h> 23 * 1024 bytes data + 4Bytes sys data + 28Bytes~124Bytes ECC data + 24 * 1024 bytes data + 4Bytes sys data + 28Bytes~124Bytes ECC data + 30 * nand_chip->oob_poi data layout: 31 * 4Bytes sys data + .... + 4Bytes sys data + ECC data. 62 #define DMA_INC_NUM (9) /* 1 - 16 */ 93 * struct rk_ecc_cnt_status: represent a ecc status data. 95 * @low: ECC count low bit index at register. [all …]
|
H A D | qcom_nandc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 18 #include <linux/mtd/nand-qpic-common.h> 21 * NAND special boot partitions 24 * by ECC (value in pages) 26 * by ECC (value in pages) 59 * @boot_partitions: array of boot partitions where offset and size of the 60 * boot partitions are stored 66 * @nr_boot_partitions: count of the boot partitions where spare data is not 67 * protected by ECC [all …]
|
H A D | meson_nand.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 #include <linux/dma-mapping.h> 13 #include <linux/clk-provider.h> 84 #define ECC_CHECK_RETURN_FF (-1) 143 u32 strength; member 209 #define MESON_ECC_DATA(b, s, sz) { .bch = (b), .strength = (s), .size = (sz) } 221 static int meson_nand_calc_ecc_bytes(int step_size, int strength) in meson_nand_calc_ecc_bytes() argument 225 if (step_size == 512 && strength == 8) in meson_nand_calc_ecc_bytes() 228 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8); in meson_nand_calc_ecc_bytes() 269 if (chip < 0 || WARN_ON_ONCE(chip >= meson_chip->nsels)) in meson_nfc_select_chip() [all …]
|
/linux/drivers/mtd/nand/raw/atmel/ |
H A D | pmecc.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 19 * Add Hardware ECC support for AT91SAM9260 / AT91SAM9263 22 * Derived from Das U-Boot source code 23 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c) 26 * Add Programmable Multibit ECC support for various AT91 SoC 33 * ECC algorithm is left to the software. The hardware/software repartition 37 * sub-section. 41 * to expose the needed lib/bch.c helpers/functions and re-use them here. 75 #define PMECC_CFG_NSECTORS(x) ((fls(x) - 1) << 8) [all …]
|
H A D | pmecc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 20 * Add Hardware ECC support for AT91SAM9260 / AT91SAM9263 23 * Derived from Das U-Boot source code 24 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c) 27 * Add Programmable Multibit ECC support for various AT91 SoC 39 #define ATMEL_PMECC_OOBOFFSET_AUTO -1 45 int strength; member 50 } ecc; member 63 void *data, void *ecc); [all …]
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 13 #include <linux/dma-mapping.h> 26 * struct bch_geometry - BCH geometry description. 28 * @ecc_strength: A number that describes the strength of the ECC 33 * @ecc0_chunk_size: The size, in bytes, of a first ECC chunk. 34 * @eccn_chunk_size: The size, in bytes, of a single ECC chunk after 36 * @ecc_chunk_count: The number of ECC chunks in the page, 40 * the ECC status appears. 41 * @block_mark_byte_offset: The byte offset in the ECC-based page view at [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-xp-db-xc3-24g4xg.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-XC3-24G4XG board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx3336.dtsi" 23 model = "DB-XC3-24G4XG"; 24 compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp"; 37 arm,parity-enable; 38 marvell,ecc-enable; [all …]
|
H A D | armada-xp-db-dxbc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-DXBC2 board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx4251.dtsi" 24 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp"; 43 devbus,bus-width = <16>; 44 devbus,turn-off-ps = <60000>; 45 devbus,badr-skew-ps = <0>; [all …]
|
H A D | armada-398-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10 /dts-v1/; 11 #include "armada-398.dtsi" 15 compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; 18 stdout-path = "serial0:115200n8"; 30 internal-regs { 32 pinctrl-0 = <&i2c0_pins>; 33 pinctrl-names = "default"; 35 clock-frequency = <100000>; [all …]
|
H A D | armada-390-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6920) 11 /dts-v1/; 12 #include "armada-390.dtsi" 16 compatible = "marvell,a390-db", "marvell,armada390"; 19 stdout-path = "serial0:115200n8"; 31 internal-regs { 34 clock-frequency = <100000>; 81 pinctrl-0 = <&spi1_pins>; 82 pinctrl-names = "default"; [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9x5cm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module 16 clock-frequency = <32768>; 20 clock-frequency = <12000000>; 28 compatible = "atmel,tcb-timer"; 33 compatible = "atmel,tcb-timer"; 40 pinctrl_1wire_cm: 1wire_cm-0 { 52 pinctrl-0 = <&pinctrl_ebi_addr_nand 54 pinctrl-names = "default"; 57 nand_controller: nand-controller { [all …]
|
H A D | at91-cosino.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-cosino.dtsi - Device Tree file for Cosino core module 5 * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 29 clock-frequency = <32768>; 33 clock-frequency = <12000000>; 39 atmel,adc-ts-wires = <4>; 40 atmel,adc-ts-pressure-threshold = <10000>; 49 pinctrl-0 = <&pinctrl_ebi_addr_nand 51 pinctrl-names = "default"; 54 nand-controller { [all …]
|
H A D | at91-som60.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-som60.dtsi - Device Tree file for the SOM60 module 16 stdout-path = &dbgu; 25 clock-frequency = <32768>; 29 clock-frequency = <12000000>; 107 bus-width = <8>; 115 bus-width = <4>; 120 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 124 atmel,use-dma-rx; 125 atmel,use-dma-tx; [all …]
|
H A D | at91-wb45n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-wb45n.dtsi - Device Tree file for WB45NBT board 12 model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; 17 stdout-path = "serial0:115200n8"; 26 atheros,board-id = "SD32"; 31 compatible = "atmel,sama5d3-rstc"; 35 atmel,wakeup-mode = "low"; 39 clock-frequency = <32768>; 43 clock-frequency = <12000000>; 48 nand_controller: nand-controller { [all …]
|
H A D | at91-wb50n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-wb50n.dtsi - Device Tree include file for wb50n cpu module 12 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; 17 stdout-path = "serial0:115200n8"; 38 clock-frequency = <32768>; 42 clock-frequency = <12000000>; 46 atmel,osc-bypass; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 52 cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-ipq8064-rb3011.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-ipq8064.dtsi" 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/leds/common.h> 7 model = "MikroTik RB3011UiAS-RM"; 14 mdio-gpio0 = &mdio0; 15 mdio-gpio1 = &mdio1; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
H A D | qcom-sdx55-telit-fn980-tlb.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 15 compatible = "qcom,sdx55-telit-fn980-tlb", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x0>; 23 stdout-path = "serial0:921600n8"; 26 reserved-memory { 27 #address-cells = <1>; [all …]
|
H A D | qcom-sdx55-t55.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 15 compatible = "qcom,sdx55-t55", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x4>; 23 stdout-path = "serial0:115200n8"; 26 reserved-memory { 27 #address-cells = <1>; [all …]
|