91d304479a0d41146dbe1661aa77214aba87672a
[openwrt/staging/ansuel.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 @@ -78,6 +78,14 @@ allOf:
18 Must contain the ADM data type CRCI block instance number
19 specified for the NAND controller on the given platform
20
21 + qcom,boot_pages_size:
22 + description:
23 + Should contain the size of the total boot partitions
24 + where the boot layout read/write specific configuration
25 + should be used. The boot layout is considered from the
26 + start of the nand to the value set in this binding.
27 + Only used in combination with 'nand-is-boot-medium'.
28 +
29 - if:
30 properties:
31 compatible:
32 @@ -135,6 +143,9 @@ examples:
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";
41 #address-cells = <1>;