]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ARM: OMAP2+: gpmc: Add device tree documentation for elm handle
authorPhilip Avinash <avinashphilip@ti.com>
Fri, 18 Jan 2013 04:57:46 +0000 (10:27 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Feb 2013 22:32:03 +0000 (14:32 -0800)
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>
Documentation/devicetree/bindings/mtd/gpmc-nand.txt

index 9f464f906ffbf1f366cad455720d5aa6b47c0022..e7f8d7ed47ebfabb67de32b9b611ed52aca4bf35 100644 (file)
@@ -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 */