dt-bindings: mtd: fixed-partitions: Add alignment properties
authorSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2024 15:32:48 +0000 (09:32 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 15 Apr 2024 10:06:01 +0000 (12:06 +0200)
commitd8d42d47a9ff9a997abccab1e4ebffe4fce28f32
tree45060a8db1cbead95fe31e7ad85475c9160898b0
parent3ef4600f12269d489933b3835fe8d43621e4ee6c
dt-bindings: mtd: fixed-partitions: Add alignment properties

Add three properties for controlling alignment of partitions, aka
'entries' in fixed-partition.

For now there is no explicit mention of hierarchy, so a 'section' is
just the 'fixed-partitions' node.

These new properties are inputs to the Binman packaging process, but are
also needed if the firmware is repacked, to ensure that alignment
constraints are not violated. Therefore they are provided as part of
the schema.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240412153249.100787-1-sjg@chromium.org
Documentation/devicetree/bindings/mtd/partitions/partition.yaml