OSDN Git Service

dt-bindings: mtd: explicitly document nesting partitions descriptions
authorRafał Miłecki <rafal@milecki.pl>
Fri, 13 Jul 2018 14:32:20 +0000 (16:32 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Tue, 24 Jul 2018 21:04:24 +0000 (23:04 +0200)
commitd2ad00eb78792b396a6d012f15d6297a1701b8bc
treeda658eaabec5938760b2d372bdd6366fa467d5db
parent1d25e3eeed1d987404e2d2e451eebac8c15cecc1
dt-bindings: mtd: explicitly document nesting partitions descriptions

Documentation was already saying that fixed and dynamic partitioning can
be mixed but was missing a clear description and examples. This commit
adds a proper documentation of how descriptions can be nested and how
layouts can be mixed.

This addition is important for partitions that contain subpartitions.
In such cases partitions have to be properly described in order to let
system handle them correctly.

Depending on situation, nesting descriptions may provide more accurate
logic/structure and/or allow mixing partitioning types (various
"compatible" values).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Documentation/devicetree/bindings/mtd/partition.txt