aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-5.15/099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch
blob: 91d304479a0d41146dbe1661aa77214aba87672a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 6fb003a7a117f97a35b078ba726c84adeae29c4c Mon Sep 17 00:00:00 2001
From: Ansuel Smith <ansuelsmth@gmail.com>
Date: Wed, 10 Feb 2021 10:54:19 +0100
Subject: [PATCH 2/2] Documentation: devicetree: mtd: qcom_nandc: document
 qcom,boot_layout_size binding

Document new qcom,boot_layout_size binding used to apply special
read/write confituation to boots partitions.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
---
 Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

--- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
+++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
@@ -78,6 +78,14 @@ allOf:
             Must contain the ADM data type CRCI block instance number
             specified for the NAND controller on the given platform
 
+        qcom,boot_pages_size:
+          description:
+            Should contain the size of the total boot partitions
+            where the boot layout read/write specific configuration
+            should be used. The boot layout is considered from the
+            start of the nand to the value set in this binding.
+            Only used in combination with 'nand-is-boot-medium'.
+
   - if:
       properties:
         compatible:
@@ -135,6 +143,9 @@ examples:
         nand-ecc-strength = <4>;
         nand-bus-width = <8>;
 
+        nand-is-boot-medium;
+        qcom,boot_pages_size: <0x58a0000>;
+
         partitions {
           compatible = "fixed-partitions";
           #address-cells = <1>;