From: josh.wu@atmel.com (Josh Wu) Date: Thu, 24 May 2012 15:35:53 +0800 Subject: [PATCH v8 2/3] MTD: add dt parameters for PMECC In-Reply-To: <20120523095402.GF3377@game.jcrosoft.org> References: <1337759274-9921-1-git-send-email-josh.wu@atmel.com> <1337759274-9921-3-git-send-email-josh.wu@atmel.com> <20120523095402.GF3377@game.jcrosoft.org> Message-ID: <4FBDE4D9.80107@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 5/23/2012 5:54 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:47 Wed 23 May , Josh Wu wrote: >> Signed-off-by: Hong Xu >> Signed-off-by: Josh Wu >> --- >> .../devicetree/bindings/mtd/atmel-nand.txt | 7 +++++++ >> drivers/mtd/nand/atmel_nand.c | 20 ++++++++++++++++++++ >> 2 files changed, 27 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt >> index a200695..895d72b 100644 >> --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt >> +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt >> @@ -16,6 +16,12 @@ Optional properties: >> - nand-ecc-mode : String, operation mode of the NAND ecc mode, soft by default. >> Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first", >> "soft_bch". >> +- atmel,has-pmecc : boolean to enable Programmable Multibit ECC hardware. >> + Only supported by at91sam9x5 or later sam9 product. >> +- atmel,pmecc-cap : error correct capability for Programmable Multibit ECC >> + Controller. Supported values are: 2, 4, 8, 12, 24. >> +- atmel,sector-size : sector size for ECC computation. Supported values are: >> + 512, 1024. > pmecc-sector-size as it's pmecc specific I'll change the name. thanks > Best Regards, > J. Best Regards, Josh Wu