Skip to content

mtd: read partitions compatible prop for "ofpart" type

Rafał Miłecki linux-devicetree linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest4 patches 2 repliesIn review

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mtd: partitions: add special treating for the "ofpart" parser typedrivers/mtd/mtdpart.c+52 -90 replies
2/4mtd: rename "ofpart" parser to "fixed-partitions" as it fits it betterdrivers/mtd/mtdpart.c drivers/mtd/ofpart.c+8 -70 replies
3/4mtd: partitions: add of_match_table parser matchingdrivers/mtd/mtdpart.c include/linux/mtd/partitions.h+59 -30 replies
4/4mtd: ofpart: add of_match_table with "fixed-partitions"drivers/mtd/ofpart.c+7 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBrian NorrisPeter RosinRichard Weinberger
SeriesR-b T-b T-b T-b R-b
1/4
2/4
3/4
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v9 thread

Cover letter [PATCH V9 0/4] mtd: read partitions compatible prop for "ofpart" type

From: Rafał Miłecki <[email protected]>

This patchset provides a proper support for flash device DT node with "partitions" subnode using "compatible" property. It's already documented in the: Documentation/devicetree/bindings/mtd/partition.txt

We believed a previous version 8 was ready to go, but soon after landing in the linux-next we got a regression report from Peter.

This version takes a safe path by:
1) Respecting parsers order as specified in the default/driver-provided list.
2) Looking at "compatible" property only when "ofpart" type gets speciied.

I double-checked the code and cannot think of any regression this could cause. I also hope this design (roughly discussed with Boris) can be acceptable for the mtd subsystem.

This is of course 4.17 material at best.

Brian Norris (1):
mtd: partitions: add of_match_table parser matching

Rafał Miłecki (3):
mtd: partitions: add special treating for the "ofpart" parser type
mtd: rename "ofpart" parser to "fixed-partitions" as it fits it better
mtd: ofpart: add of_match_table with "fixed-partitions"

 drivers/mtd/mtdpart.c          | 116 +++++++++++++++++++++++++++++++++++++----
 drivers/mtd/ofpart.c           |  18 +++++--
 include/linux/mtd/partitions.h |   1 +
 3 files changed, 121 insertions(+), 14 deletions(-)
Signature · 6 lines
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html