b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 422928a040fe17d17ded69c57903c7908423c7ef Mon Sep 17 00:00:00 2001 |
| 2 | From: Boris Brezillon <bbrezillon@kernel.org> |
| 3 | Date: Sun, 3 May 2020 17:53:38 +0200 |
| 4 | Subject: [PATCH] dt-bindings: mtd: partition: Document the slc-mode property |
| 5 | |
| 6 | Add a boolean property to force a specific partition attached to an MLC |
| 7 | NAND to be accessed in an emulated SLC mode this making this partition |
| 8 | immune to paired-pages corruptions. |
| 9 | |
| 10 | Signed-off-by: Boris Brezillon <bbrezillon@kernel.org> |
| 11 | Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> |
| 12 | Link: 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 | |