Skip to content

Commit 9f30ba0

Browse files
robherringmiquelraynal
authored andcommitted
dt-bindings: mtd: partitions: Allow "nvmem-layout" in generic partition nodes
An "nvmem-layout" node can be used in any partition node, so add it. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent ac83f4f commit 9f30ba0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/partitions/partition.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ properties:
135135
but may differ if device has bad eraseblocks on a flash.
136136
$ref: /schemas/types.yaml#/definitions/uint32
137137

138+
nvmem-layout:
139+
$ref: /schemas/nvmem/layouts/nvmem-layout.yaml
140+
138141
if:
139142
not:
140143
required: [ reg ]

0 commit comments

Comments
 (0)