Skip to content

Commit a5f2246

Browse files
KamalDasurobherring
authored andcommitted
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: 212e496 ("dt-bindings: mtd: Add YAML schemas for the generic NAND options") Signed-off-by: Kamal Dasu <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent 8d66569 commit a5f2246

15 files changed

+39
-39
lines changed

Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Optional children nodes:
2424
Children nodes represent the available nand chips.
2525

2626
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.
2828

2929
Example demonstrate on AXG SoC:
3030

Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ Required properties:
101101
number (e.g., 0, 1, 2, etc.)
102102
- #address-cells : see partition.txt
103103
- #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
106106

107107
Optional properties:
108108
- 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
110110
- brcm,nand-oob-sector-size : integer, to denote the spare area sector size
111111
expected for the ECC layout in use. This size, in
112112
addition to the strength and step-size,

Documentation/devicetree/bindings/mtd/denali-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ Sub-nodes:
2222
select is connected.
2323

2424
Optional properties:
25-
- nand-ecc-step-size: see nand.txt for details.
25+
- nand-ecc-step-size: see nand-controller.yaml for details.
2626
If present, the value must be
2727
512 for "altr,socfpga-denali-nand"
2828
1024 for "socionext,uniphier-denali-nand-v5a"
2929
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:
3131
8, 15 for "altr,socfpga-denali-nand"
3232
8, 16, 24 for "socionext,uniphier-denali-nand-v5a"
3333
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
3535

3636
The chip nodes may optionally contain sub-nodes describing partitions of the
3737
address space. See partition.txt for more detail.

Documentation/devicetree/bindings/mtd/fsmc-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Optional properties:
3030
command is asserted. Zero means one cycle, 255 means 256
3131
cycles.
3232
- 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
3636

3737
Can support 1-bit HW ECC (default) or if stronger correction is required,
3838
software-based BCH.

Documentation/devicetree/bindings/mtd/gpmc-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ explained in a separate documents - please refer to
88
Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
99

1010
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
1212

1313

1414
Required properties:

Documentation/devicetree/bindings/mtd/hisi504-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Required properties:
77
NAND controller's registers. The second contains base
88
physical address and size of NAND controller's buffer.
99
- interrupts: Interrupt number for nfc.
10-
- nand-bus-width: See nand.txt.
10+
- nand-bus-width: See nand-controller.yaml.
1111
- nand-ecc-mode: Support none and hw ecc mode.
1212
- #address-cells: Partition address, should be set 1.
1313
- #size-cells: Partition size, should be set 1.

Documentation/devicetree/bindings/mtd/marvell-nand.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,29 @@ Children nodes represent the available NAND chips.
3636

3737
Required properties:
3838
- 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).
4040

4141
Optional properties:
4242
- marvell,nand-keep-config: orders the driver not to take the timings
4343
from the core and leaving them completely untouched. Bootloader
4444
timings will then be used.
4545
- 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
4949
not using hardware ECC. Howerver, it may be added when using hardware
5050
ECC for clarification but will be ignored by the driver because ECC
5151
mode is chosen depending on the page size and the strength required by
5252
the NAND chip. This value may be overwritten with nand-ecc-strength
5353
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
5656
use fixed strength (1-bit for Hamming, 16-bit for BCH), so the actual
5757
step size will shrink or grow in order to fit the required strength.
5858
Step sizes are not completely random for all and follow certain
5959
patterns described in AN-379, "Marvell SoC NFC ECC".
6060

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
6262
generic bindings.
6363

6464

Documentation/devicetree/bindings/mtd/mxc-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Required properties:
44
- compatible: "fsl,imxXX-nand"
55
- reg: address range of the nfc block
66
- 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
1010

1111
Example:
1212

Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ Optional children node properties:
2626
"hw" is supported.
2727
- nand-ecc-algo: string, algorithm of NAND ECC.
2828
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
3131
- nand-ecc-strength: integer representing the number of bits to correct
3232
per ECC step (always 512). Supported strength using HW ECC
3333
modes are:
3434
- RS: 4, 6, 8
3535
- BCH: 4, 8, 14, 16
36-
- nand-ecc-maximize: See nand.txt
36+
- nand-ecc-maximize: See nand-controller.yaml
3737
- nand-is-boot-medium: Makes sure only ECC strengths supported by the boot ROM
3838
are chosen.
3939
- wp-gpios: GPIO specifier for the write protect pin.

Documentation/devicetree/bindings/mtd/oxnas-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* Oxford Semiconductor OXNAS NAND Controller
22

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.
44

55
Required properties:
66
- compatible: "oxsemi,ox820-nand"

0 commit comments

Comments
 (0)