diff options
author | Richard Weinberger <richard@nod.at> | 2022-08-01 21:24:54 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-08-01 21:24:54 +0200 |
commit | e8166841a6996ac837caa24ee0da9d3f1eaad7be (patch) | |
tree | 174aa263d396403fe90a23d353ca6996471b6801 /Documentation/devicetree/bindings/mtd | |
parent | ad9b10d1eaada169bd764abcab58f08538877e26 (diff) | |
parent | e16eceea863b417fd328588b1be1a79de0bc937f (diff) | |
download | linux-e8166841a6996ac837caa24ee0da9d3f1eaad7be.tar.gz linux-e8166841a6996ac837caa24ee0da9d3f1eaad7be.tar.bz2 linux-e8166841a6996ac837caa24ee0da9d3f1eaad7be.zip |
Merge remote-tracking branch 'korg_git/nand/next' into mtd/next
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/mxc-nand.yaml | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 27 |
2 files changed, 27 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml index 73b86f2226c7..66da1b476ab7 100644 --- a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml @@ -37,6 +37,4 @@ examples: compatible = "fsl,imx27-nand"; reg = <0xd8000000 0x1000>; interrupts = <29>; - nand-bus-width = <8>; - nand-ecc-mode = "hw"; }; diff --git a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml index 84ad7ff30121..482a2c068740 100644 --- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml +++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml @@ -102,6 +102,31 @@ allOf: - const: rx - const: cmd + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq806x-nand + + then: + properties: + qcom,boot-partitions: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + items: + items: + - description: offset + - description: size + description: + Boot partition use a different layout where the 4 bytes of spare + data are not protected by ECC. Use this to declare these special + partitions by defining first the offset and then the size. + + It's in the form of <offset1 size1 offset2 size2 offset3 ...> + and should be declared in ascending order. + + Refer to the ipq8064 example on how to use this special binding. + required: - compatible - reg @@ -135,6 +160,8 @@ examples: nand-ecc-strength = <4>; nand-bus-width = <8>; + qcom,boot-partitions = <0x0 0x58a0000>; + partitions { compatible = "fixed-partitions"; #address-cells = <1>; |