]> 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)
commit610e7b68a8ea937f638be21d4412a267083babaf
tree169e3c5be3f5611a7868056b31098c8abdcce512
parent3daa9fa3fae5bc18cb658eff475707c00deeb288
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