aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>2013-12-17 08:37:56 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 14:22:25 -0500
commit75be1ea26b7153a8e09b02e26655a4d7daf3627e (patch)
tree79bd8e3cd67ecdbecc5af8a60ff1cccdefef58c3 /Documentation
parent9ba51cff551515592c1657c509923da57b330b16 (diff)
mtd: nand: davinci: adjust DT properties to MTD generic
The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt, nand-bus-width accordingly. So rename them in dts and documentation. Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by: Taras Kondratiuk <taras@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mtd/davinci-nand.txt25
1 files changed, 20 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
index d2a3fc020023..befaa5bb84e5 100644
--- a/Documentation/devicetree/bindings/mtd/davinci-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
@@ -37,7 +37,7 @@ Recommended properties :
37- ti,davinci-mask-chipsel: mask for chipselect address. Needed to mask 37- ti,davinci-mask-chipsel: mask for chipselect address. Needed to mask
38 addresses for given chipselect. 38 addresses for given chipselect.
39 39
40- ti,davinci-ecc-mode: operation mode of the NAND ecc mode. ECC mode 40- nand-ecc-mode: operation mode of the NAND ecc mode. ECC mode
41 valid values for davinci driver: 41 valid values for davinci driver:
42 - "none" 42 - "none"
43 - "soft" 43 - "soft"
@@ -45,10 +45,25 @@ Recommended properties :
45 45
46- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4. 46- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4.
47 47
48- ti,davinci-nand-buswidth: buswidth 8 or 16. 48- nand-bus-width: buswidth 8 or 16. If not present 8.
49
50- nand-on-flash-bbt: use flash based bad block table support. OOB
51 identifier is saved in OOB area. If not present
52 false.
53
54Deprecated properties:
55
56- ti,davinci-ecc-mode: operation mode of the NAND ecc mode. ECC mode
57 valid values for davinci driver:
58 - "none"
59 - "soft"
60 - "hw"
61
62- ti,davinci-nand-buswidth: buswidth 8 or 16. If not present 8.
49 63
50- ti,davinci-nand-use-bbt: use flash based bad block table support. OOB 64- ti,davinci-nand-use-bbt: use flash based bad block table support. OOB
51 identifier is saved in OOB area. 65 identifier is saved in OOB area. If not present
66 false.
52 67
53Nand device bindings may contain additional sub-nodes describing partitions of 68Nand device bindings may contain additional sub-nodes describing partitions of
54the address space. See partition.txt for more detail. The NAND Flash timing 69the address space. See partition.txt for more detail. The NAND Flash timing
@@ -66,9 +81,9 @@ nand_cs3@62000000 {
66 ti,davinci-mask-ale = <0>; 81 ti,davinci-mask-ale = <0>;
67 ti,davinci-mask-cle = <0>; 82 ti,davinci-mask-cle = <0>;
68 ti,davinci-mask-chipsel = <0>; 83 ti,davinci-mask-chipsel = <0>;
69 ti,davinci-ecc-mode = "hw"; 84 nand-ecc-mode = "hw";
70 ti,davinci-ecc-bits = <4>; 85 ti,davinci-ecc-bits = <4>;
71 ti,davinci-nand-use-bbt; 86 nand-on-flash-bbt;
72 87
73 partition@180000 { 88 partition@180000 {
74 label = "ubifs"; 89 label = "ubifs";