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

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.yaml | 11 +++++++++++
  11. 1 file changed, 11 insertions(+)
  12. --- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
  13. +++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
  14. @@ -78,6 +78,14 @@ allOf:
  15. Must contain the ADM data type CRCI block instance number
  16. specified for the NAND controller on the given platform
  17. + qcom,boot_pages_size:
  18. + description:
  19. + Should contain the size of the total boot partitions
  20. + where the boot layout read/write specific configuration
  21. + should be used. The boot layout is considered from the
  22. + start of the nand to the value set in this binding.
  23. + Only used in combination with 'nand-is-boot-medium'.
  24. +
  25. - if:
  26. properties:
  27. compatible:
  28. @@ -135,6 +143,9 @@ examples:
  29. nand-ecc-strength = <4>;
  30. nand-bus-width = <8>;
  31. + nand-is-boot-medium;
  32. + qcom,boot_pages_size: <0x58a0000>;
  33. +
  34. partitions {
  35. compatible = "fixed-partitions";
  36. #address-cells = <1>;