summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/gpmc-nand.txt
diff options
context:
space:
mode:
authorPhilip Avinash <avinashphilip@ti.com>2013-01-18 10:27:46 +0530
committerTony Lindgren <tony@atomide.com>2013-02-01 14:32:03 -0800
commit97c794a1e37b1ca128ef38f17c069186bfa5fb1b (patch)
treeefb65fd68a06f4f4b95f1421067d18cef7fd2ab0 /Documentation/devicetree/bindings/mtd/gpmc-nand.txt
parent75d3625e0e86b2d8d77b4e9c6f685fd7ea0d5a96 (diff)
ARM: OMAP2+: gpmc: Add device tree documentation for elm handle
In case ELM module available, omap2 NAND driver can opt for hardware correction method for bit flip errors in NAND flash with BCH. Hence the detection of ELM module is done through devicetree population of elm_id. This patch update device tree documentation for gpmc-nand for elm-id data population. Signed-off-by: Philip Avinash <avinashphilip@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/gpmc-nand.txt')
-rw-r--r--Documentation/devicetree/bindings/mtd/gpmc-nand.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt
index 9f464f906ffb..e7f8d7ed47eb 100644
--- a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt
@@ -29,6 +29,9 @@ Optional properties:
"bch4" 4-bit BCH ecc code
"bch8" 8-bit BCH ecc code
+ - elm_id: Specifies elm device node. This is required to support BCH
+ error correction using ELM module.
+
For inline partiton table parsing (optional):
- #address-cells: should be set to 1
@@ -46,6 +49,7 @@ Example for an AM33xx board:
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0x08000000 0x2000>; /* CS0: NAND */
+ elm_id = <&elm>;
nand@0,0 {
reg = <0 0 0>; /* CS0, offset 0 */