099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 6fb003a7a117f97a35b078ba726c84adeae29c4c Mon Sep 17 00:00:00 2001
  2. From: Ansuel Smith <[email protected]>
  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. Document new qcom,boot_layout_size binding used to apply special
  7. read/write confituation to boots partitions.
  8. Signed-off-by: Ansuel Smith <[email protected]>
  9. ---
  10. Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 11 +++++++++++
  11. 1 file changed, 11 insertions(+)
  12. --- a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
  13. +++ b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
  14. @@ -52,6 +52,15 @@ Optional properties:
  15. be used according to chip requirement and available
  16. OOB size.
  17. +EBI2 specific properties:
  18. +- nand-is-boot-medium: nand contains boot partitions and different ecc configuration
  19. + should be used for these partitions.
  20. +- qcom,boot_pages_size: should contain the size of the total boot partitions
  21. + where the boot layout read/write specific configuration
  22. + should be used. The boot layout is considered from the
  23. + start of the nand to the value set in this binding.
  24. + Only used in combination with 'nand-is-boot-medium'.
  25. +
  26. Each nandcs device node may optionally contain a 'partitions' sub-node, which
  27. further contains sub-nodes describing the flash partition mapping. See
  28. partition.txt for more detail.
  29. @@ -80,6 +89,9 @@ nand-controller@1ac00000 {
  30. nand-ecc-strength = <4>;
  31. nand-bus-width = <8>;
  32. + nand-is-boot-medium;
  33. + qcom,boot_pages_size: <0x58a0000>;
  34. +
  35. partitions {
  36. compatible = "fixed-partitions";
  37. #address-cells = <1>;