OSDN Git Service

c4c7dc7d6adf06ad89aa850c08bfb80319956f3d
[immortalwrt/immortalwrt.git] / target / linux / ipq806x / patches-5.15 / 099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch
1 From 6fb003a7a117f97a35b078ba726c84adeae29c4c Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Wed, 10 Feb 2021 10:54:19 +0100
4 Subject: [PATCH 2/2] Documentation: devicetree: mtd: qcom_nandc: document
5  qcom,boot_layout_size binding
6
7 Document new qcom,boot_layout_size binding used to apply special
8 read/write confituation to boots partitions.
9
10 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
11 ---
12  Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 11 +++++++++++
13  1 file changed, 11 insertions(+)
14
15 --- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
16 +++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
17 @@ -77,6 +77,14 @@ Optional properties:
18            description:
19              Must contain the ADM data type CRCI block instance number
20              specified for the NAND controller on the given platform
21 +
22 +        qcom,boot_pages_size:
23 +          description:
24 +            Should contain the size of the total boot partitions
25 +            where the boot layout read/write specific configuration
26 +            should be used. The boot layout is considered from the
27 +            start of the nand to the value set in this binding.
28 +            Only used in combination with 'nand-is-boot-medium'.
29  
30    - if:
31        properties:
32 @@ -135,6 +135,9 @@ nand-controller@1ac00000 {
33          nand-ecc-strength = <4>;
34          nand-bus-width = <8>;
35  
36 +        nand-is-boot-medium;
37 +        qcom,boot_pages_size: <0x58a0000>;
38 +
39          partitions {
40            compatible = "fixed-partitions";