blob: 7926843686806a95039f93b977fe09688b2745c5 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 422928a040fe17d17ded69c57903c7908423c7ef Mon Sep 17 00:00:00 2001
2From: Boris Brezillon <bbrezillon@kernel.org>
3Date: Sun, 3 May 2020 17:53:38 +0200
4Subject: [PATCH] dt-bindings: mtd: partition: Document the slc-mode property
5
6Add a boolean property to force a specific partition attached to an MLC
7NAND to be accessed in an emulated SLC mode this making this partition
8immune to paired-pages corruptions.
9
10Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
11Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
12Link: https://lore.kernel.org/linux-mtd/20200503155341.16712-6-miquel.raynal@bootlin.com
13---
14 Documentation/devicetree/bindings/mtd/partition.txt | 3 +++
15 1 file changed, 3 insertions(+)
16
17--- a/Documentation/devicetree/bindings/mtd/partition.txt
18+++ b/Documentation/devicetree/bindings/mtd/partition.txt
19@@ -61,6 +61,9 @@ Optional properties:
20 clobbered.
21 - lock : Do not unlock the partition at initialization time (not supported on
22 all devices)
23+- slc-mode: This parameter, if present, allows one to emulate SLC mode on a
24+ partition attached to an MLC NAND thus making this partition immune to
25+ paired-pages corruptions
26
27 Examples:
28