Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml

nand-controller.yaml replaced nand.txt however the references to it were
not updated. This change updates these references wherever it appears in
bindings documentation.

Fixes: 212e49693592 ("dt-bindings: mtd: Add YAML schemas for the generic NAND options")
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Kamal Dasu and committed by
Rob Herring
a5f2246f 8d665693

+39 -39
+1 -1
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt
··· 24 24 Children nodes represent the available nand chips. 25 25 26 26 Other properties: 27 - see Documentation/devicetree/bindings/mtd/nand.txt for generic bindings. 27 + see Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings. 28 28 29 29 Example demonstrate on AXG SoC: 30 30
+3 -3
Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
··· 101 101 number (e.g., 0, 1, 2, etc.) 102 102 - #address-cells : see partition.txt 103 103 - #size-cells : see partition.txt 104 - - nand-ecc-strength : see nand.txt 105 - - nand-ecc-step-size : must be 512 or 1024. See nand.txt 104 + - nand-ecc-strength : see nand-controller.yaml 105 + - nand-ecc-step-size : must be 512 or 1024. See nand-controller.yaml 106 106 107 107 Optional properties: 108 108 - nand-on-flash-bbt : boolean, to enable the on-flash BBT for this 109 - chip-select. See nand.txt 109 + chip-select. See nand-controller.yaml 110 110 - brcm,nand-oob-sector-size : integer, to denote the spare area sector size 111 111 expected for the ECC layout in use. This size, in 112 112 addition to the strength and step-size,
+3 -3
Documentation/devicetree/bindings/mtd/denali-nand.txt
··· 22 22 select is connected. 23 23 24 24 Optional properties: 25 - - nand-ecc-step-size: see nand.txt for details. 25 + - nand-ecc-step-size: see nand-controller.yaml for details. 26 26 If present, the value must be 27 27 512 for "altr,socfpga-denali-nand" 28 28 1024 for "socionext,uniphier-denali-nand-v5a" 29 29 1024 for "socionext,uniphier-denali-nand-v5b" 30 - - nand-ecc-strength: see nand.txt for details. Valid values are: 30 + - nand-ecc-strength: see nand-controller.yaml for details. Valid values are: 31 31 8, 15 for "altr,socfpga-denali-nand" 32 32 8, 16, 24 for "socionext,uniphier-denali-nand-v5a" 33 33 8, 16 for "socionext,uniphier-denali-nand-v5b" 34 - - nand-ecc-maximize: see nand.txt for details 34 + - nand-ecc-maximize: see nand-controller.yaml for details 35 35 36 36 The chip nodes may optionally contain sub-nodes describing partitions of the 37 37 address space. See partition.txt for more detail.
+3 -3
Documentation/devicetree/bindings/mtd/fsmc-nand.txt
··· 30 30 command is asserted. Zero means one cycle, 255 means 256 31 31 cycles. 32 32 - bank: default NAND bank to use (0-3 are valid, 0 is the default). 33 - - nand-ecc-mode : see nand.txt 34 - - nand-ecc-strength : see nand.txt 35 - - nand-ecc-step-size : see nand.txt 33 + - nand-ecc-mode : see nand-controller.yaml 34 + - nand-ecc-strength : see nand-controller.yaml 35 + - nand-ecc-step-size : see nand-controller.yaml 36 36 37 37 Can support 1-bit HW ECC (default) or if stronger correction is required, 38 38 software-based BCH.
+1 -1
Documentation/devicetree/bindings/mtd/gpmc-nand.txt
··· 8 8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 9 9 10 10 For NAND specific properties such as ECC modes or bus width, please refer to 11 - Documentation/devicetree/bindings/mtd/nand.txt 11 + Documentation/devicetree/bindings/mtd/nand-controller.yaml 12 12 13 13 14 14 Required properties:
+1 -1
Documentation/devicetree/bindings/mtd/hisi504-nand.txt
··· 7 7 NAND controller's registers. The second contains base 8 8 physical address and size of NAND controller's buffer. 9 9 - interrupts: Interrupt number for nfc. 10 - - nand-bus-width: See nand.txt. 10 + - nand-bus-width: See nand-controller.yaml. 11 11 - nand-ecc-mode: Support none and hw ecc mode. 12 12 - #address-cells: Partition address, should be set 1. 13 13 - #size-cells: Partition size, should be set 1.
+7 -7
Documentation/devicetree/bindings/mtd/marvell-nand.txt
··· 36 36 37 37 Required properties: 38 38 - reg: shall contain the native Chip Select ids (0-3). 39 - - nand-rb: see nand.txt (0-1). 39 + - nand-rb: see nand-controller.yaml (0-1). 40 40 41 41 Optional properties: 42 42 - marvell,nand-keep-config: orders the driver not to take the timings 43 43 from the core and leaving them completely untouched. Bootloader 44 44 timings will then be used. 45 45 - label: MTD name. 46 - - nand-on-flash-bbt: see nand.txt. 47 - - nand-ecc-mode: see nand.txt. Will use hardware ECC if not specified. 48 - - nand-ecc-algo: see nand.txt. This property is essentially useful when 46 + - nand-on-flash-bbt: see nand-controller.yaml. 47 + - nand-ecc-mode: see nand-controller.yaml. Will use hardware ECC if not specified. 48 + - nand-ecc-algo: see nand-controller.yaml. This property is essentially useful when 49 49 not using hardware ECC. Howerver, it may be added when using hardware 50 50 ECC for clarification but will be ignored by the driver because ECC 51 51 mode is chosen depending on the page size and the strength required by 52 52 the NAND chip. This value may be overwritten with nand-ecc-strength 53 53 property. 54 - - nand-ecc-strength: see nand.txt. 55 - - nand-ecc-step-size: see nand.txt. Marvell's NAND flash controller does 54 + - nand-ecc-strength: see nand-controller.yaml. 55 + - nand-ecc-step-size: see nand-controller.yaml. Marvell's NAND flash controller does 56 56 use fixed strength (1-bit for Hamming, 16-bit for BCH), so the actual 57 57 step size will shrink or grow in order to fit the required strength. 58 58 Step sizes are not completely random for all and follow certain 59 59 patterns described in AN-379, "Marvell SoC NFC ECC". 60 60 61 - See Documentation/devicetree/bindings/mtd/nand.txt for more details on 61 + See Documentation/devicetree/bindings/mtd/nand-controller.yaml for more details on 62 62 generic bindings. 63 63 64 64
+3 -3
Documentation/devicetree/bindings/mtd/mxc-nand.txt
··· 4 4 - compatible: "fsl,imxXX-nand" 5 5 - reg: address range of the nfc block 6 6 - interrupts: irq to be used 7 - - nand-bus-width: see nand.txt 8 - - nand-ecc-mode: see nand.txt 9 - - nand-on-flash-bbt: see nand.txt 7 + - nand-bus-width: see nand-controller.yaml 8 + - nand-ecc-mode: see nand-controller.yaml 9 + - nand-on-flash-bbt: see nand-controller.yaml 10 10 11 11 Example: 12 12
+3 -3
Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt
··· 26 26 "hw" is supported. 27 27 - nand-ecc-algo: string, algorithm of NAND ECC. 28 28 Supported values with "hw" ECC mode are: "rs", "bch". 29 - - nand-bus-width : See nand.txt 30 - - nand-on-flash-bbt: See nand.txt 29 + - nand-bus-width : See nand-controller.yaml 30 + - nand-on-flash-bbt: See nand-controller.yaml 31 31 - nand-ecc-strength: integer representing the number of bits to correct 32 32 per ECC step (always 512). Supported strength using HW ECC 33 33 modes are: 34 34 - RS: 4, 6, 8 35 35 - BCH: 4, 8, 14, 16 36 - - nand-ecc-maximize: See nand.txt 36 + - nand-ecc-maximize: See nand-controller.yaml 37 37 - nand-is-boot-medium: Makes sure only ECC strengths supported by the boot ROM 38 38 are chosen. 39 39 - wp-gpios: GPIO specifier for the write protect pin.
+1 -1
Documentation/devicetree/bindings/mtd/oxnas-nand.txt
··· 1 1 * Oxford Semiconductor OXNAS NAND Controller 2 2 3 - Please refer to nand.txt for generic information regarding MTD NAND bindings. 3 + Please refer to nand-controller.yaml for generic information regarding MTD NAND bindings. 4 4 5 5 Required properties: 6 6 - compatible: "oxsemi,ox820-nand"
+2 -2
Documentation/devicetree/bindings/mtd/qcom_nandc.txt
··· 47 47 - #size-cells: see partition.txt 48 48 49 49 Optional properties: 50 - - nand-bus-width: see nand.txt 51 - - nand-ecc-strength: see nand.txt. If not specified, then ECC strength will 50 + - nand-bus-width: see nand-controller.yaml 51 + - nand-ecc-strength: see nand-controller.yaml. If not specified, then ECC strength will 52 52 be used according to chip requirement and available 53 53 OOB size. 54 54
+3 -3
Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
··· 6 6 "samsung,s3c2412-nand" 7 7 "samsung,s3c2440-nand" 8 8 - reg : register's location and length. 9 - - #address-cells, #size-cells : see nand.txt 9 + - #address-cells, #size-cells : see nand-controller.yaml 10 10 - clocks : phandle to the nand controller clock 11 11 - clock-names : must contain "nand" 12 12 ··· 14 14 Child nodes representing the available nand chips. 15 15 16 16 Optional child properties: 17 - - nand-ecc-mode : see nand.txt 18 - - nand-on-flash-bbt : see nand.txt 17 + - nand-ecc-mode : see nand-controller.yaml 18 + - nand-on-flash-bbt : see nand-controller.yaml 19 19 20 20 Each child device node may optionally contain a 'partitions' sub-node, 21 21 which further contains sub-nodes describing the flash partition mapping.
+3 -3
Documentation/devicetree/bindings/mtd/stm32-fmc2-nand.txt
··· 24 24 - reg: describes the CS lines assigned to the NAND device. 25 25 26 26 Optional properties: 27 - - nand-on-flash-bbt: see nand.txt 28 - - nand-ecc-strength: see nand.txt 29 - - nand-ecc-step-size: see nand.txt 27 + - nand-on-flash-bbt: see nand-controller.yaml 28 + - nand-ecc-strength: see nand-controller.yaml 29 + - nand-ecc-step-size: see nand-controller.yaml 30 30 31 31 The following ECC strength and step size are currently supported: 32 32 - nand-ecc-strength = <1>, nand-ecc-step-size = <512> (Hamming)
+1 -1
Documentation/devicetree/bindings/mtd/tango-nand.txt
··· 11 11 - #size-cells: <0> 12 12 13 13 Children nodes represent the available NAND chips. 14 - See Documentation/devicetree/bindings/mtd/nand.txt for generic bindings. 14 + See Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings. 15 15 16 16 Example: 17 17
+4 -4
Documentation/devicetree/bindings/mtd/vf610-nfc.txt
··· 25 25 26 26 Required properties: 27 27 - compatible: Should be set to "fsl,vf610-nfc-cs". 28 - - nand-bus-width: see nand.txt 29 - - nand-ecc-mode: see nand.txt 28 + - nand-bus-width: see nand-controller.yaml 29 + - nand-ecc-mode: see nand-controller.yaml 30 30 31 31 Required properties for hardware ECC: 32 - - nand-ecc-strength: supported strengths are 24 and 32 bit (see nand.txt) 32 + - nand-ecc-strength: supported strengths are 24 and 32 bit (see nand-controller.yaml) 33 33 - nand-ecc-step-size: step size equals page size, currently only 2k pages are 34 34 supported 35 - - nand-on-flash-bbt: see nand.txt 35 + - nand-on-flash-bbt: see nand-controller.yaml 36 36 37 37 Example: 38 38