public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mtd: gpmi-nand: specify fsl,use-minimum-ecc behavior
@ 2018-02-06 17:40 Stefan Agner
  2018-02-06 17:40 ` [PATCH 2/2] mtd: nand: gpmi: add support for specific ECC strength Stefan Agner
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Agner @ 2018-02-06 17:40 UTC (permalink / raw)
  To: han.xu, boris.brezillon
  Cc: marek.vasut, richard, dwmw2, cyrille.pitchen, max.oss.09,
	linux-mtd, linux-kernel, Stefan Agner

The dt property fsl,use-minimum-ecc requires a NAND chip to
provide a ECC strength/step size, otherwise the driver fails
to probe. This is by design to avoid that the driver uses a
fallback and later changes ECC parameters due to additionion
of a NAND chip driver. Document the current behavior.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
index b289ef3c1b7e..eb2d9919d063 100644
--- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
@@ -34,9 +34,8 @@ Optional properties:
                        automatically discoverable for some flash
                        (e.g., according to the ONFI standard).
                        However, note that if this strength is not
-                       discoverable or this property is not enabled,
-                       the software may chooses an implementation-defined
-                       ECC scheme.
+                       discoverable the driver will fail probing with
+                       an error.
   - fsl,no-blockmark-swap: Don't swap the bad block marker from the OOB
                        area with the byte in the data area but rely on the
                        flash based BBT for identifying bad blocks.
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-14 21:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-06 17:40 [PATCH 1/2] dt-bindings: mtd: gpmi-nand: specify fsl,use-minimum-ecc behavior Stefan Agner
2018-02-06 17:40 ` [PATCH 2/2] mtd: nand: gpmi: add support for specific ECC strength Stefan Agner
2018-02-12 10:31   ` Boris Brezillon
2018-02-12 10:33   ` Boris Brezillon
2018-02-14 16:28   ` Han Xu
2018-02-14 19:05     ` Boris Brezillon
2018-02-14 21:36       ` Stefan Agner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox