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
7 Document new qcom,boot_layout_size binding used to apply special
8 read/write confituation to boots partitions.
10 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
12 Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 11 +++++++++++
13 1 file changed, 11 insertions(+)
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:
19 Must contain the ADM data type CRCI block instance number
20 specified for the NAND controller on the given platform
22 + qcom,boot_pages_size:
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'.
32 @@ -135,6 +135,9 @@ nand-controller@1ac00000 {
33 nand-ecc-strength = <4>;
36 + nand-is-boot-medium;
37 + qcom,boot_pages_size: <0x58a0000>;
40 compatible = "fixed-partitions";