aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-06-22 03:06:26 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-29 13:36:15 +0200
commit118f3fbe517f49e17877f34fd677f7374970d92e (patch)
treee30690a4eb27b2e8219d5a18679ba6de1e5dc04b /lib/mpi/mpi-add.c
parentac4f83482afbfd927d0fe118151b747cf175e724 (diff)
dt-bindings: mtd: partitions: support label/name only partition
Document new partition nodes that declare only the label/name instead of the reg used to provide an OF node for partition registred at runtime by parsers. This is required for nvmem system to declare and detect nvmem-cells. With these special partitions, the reg / offset is not required and a 'partition-' prefix is needed. The node name with the 'partition-' prefix stripped, is used to match the partition allocated by the parser at runtime and the parser will provide reg and offset of the mtd. If the partition to match contains invalid char for a node name, the label binding can be used to declare the partition name. NVMEM will use the data from the parser and provide the NVMEM cells declared in the DTS, "connecting" the dynamic partition with a static declaration of cells in them. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220622010628.30414-2-ansuelsmth@gmail.com
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions