]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: qcom_nandc: update for ECC strength and step size
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:30 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:05 +0000 (09:24 +0200)
commited4d60a8d549da63d0afb4aede8e3cb50ff49410
tree169e3c5be3f5611a7868056b31098c8abdcce512
parenta54403ccbaef0067763af612c504c058fa3a4b06
dt-bindings: qcom_nandc: update for ECC strength and step size

1. If nand-ecc-strength specified in DT, then controller will use
   this ECC strength otherwise ECC strength will be calculated
   according to chip requirement and available OOB size.

2. QCOM NAND controller supports only one step size (512 bytes) but
   nand-ecc-step-size is required property in DT. This DT property
   can be removed and ecc step size can be assigned in driver with
   512 bytes value.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/qcom_nandc.txt