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

12345678910111213141516171819202122232425262728293031323334353637383940
  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. @@ -77,6 +77,14 @@ Optional properties:
  15. description:
  16. Must contain the ADM data type CRCI block instance number
  17. specified for the NAND controller on the given platform
  18. +
  19. + qcom,boot_pages_size:
  20. + description:
  21. + Should contain the size of the total boot partitions
  22. + where the boot layout read/write specific configuration
  23. + should be used. The boot layout is considered from the
  24. + start of the nand to the value set in this binding.
  25. + Only used in combination with 'nand-is-boot-medium'.
  26. - if:
  27. properties:
  28. @@ -135,6 +135,9 @@ nand-controller@1ac00000 {
  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";