devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mtd: Add support for Airoha partition scheme
@ 2024-09-25 10:13 Christian Marangi
  2024-09-25 10:13 ` [PATCH 1/3] of: also export of_update_property Christian Marangi
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Christian Marangi @ 2024-09-25 10:13 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Saravana Kannan,
	Christian Marangi, Florian Fainelli, Thomas Bogendoerfer,
	Wolfram Sang, linux-mtd, devicetree, linux-kernel,
	Lorenzo Bianconi, upstream

This is split from a different series called "mtd: improve block2mtd +
airoha parser" with only the parser changes.

This series add support for the Airoha partition table where
the last partition is always ART and is placed at the end of the flash.

This require dynamic calculation of the offset as some dedicated
driver for bad block management might be used that reserve some space
at the end of the flash for bad block accounting. This special driver
change the end offset of the flash hence a dynamic parser is needed.

New aarch64 Airoha SoC (EN7581) make use of this partition scheme or
calibration data is not accessible.

Relevant Changes from old series:
Changes v3:
- Add compatible to partitions.yaml

Christian Marangi (3):
  of: also export of_update_property
  dt-bindings: mtd: Add Documentation for Airoha fixed-partitions
  mtd: parser: add support for Airoha parser

 .../partitions/airoha,fixed-partitions.yaml   | 80 +++++++++++++++++++
 .../bindings/mtd/partitions/partitions.yaml   |  1 +
 drivers/mtd/parsers/Kconfig                   | 10 +++
 drivers/mtd/parsers/Makefile                  |  1 +
 drivers/mtd/parsers/ofpart_airoha.c           | 57 +++++++++++++
 drivers/mtd/parsers/ofpart_airoha.h           | 18 +++++
 drivers/mtd/parsers/ofpart_core.c             |  6 ++
 drivers/of/base.c                             |  1 +
 8 files changed, 174 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/airoha,fixed-partitions.yaml
 create mode 100644 drivers/mtd/parsers/ofpart_airoha.c
 create mode 100644 drivers/mtd/parsers/ofpart_airoha.h

-- 
2.45.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-10-16 17:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 10:13 [PATCH 0/3] mtd: Add support for Airoha partition scheme Christian Marangi
2024-09-25 10:13 ` [PATCH 1/3] of: also export of_update_property Christian Marangi
2024-09-25 10:13 ` [PATCH 2/3] dt-bindings: mtd: Add Documentation for Airoha fixed-partitions Christian Marangi
2024-09-25 11:30   ` Miquel Raynal
2024-09-25 11:35     ` Christian Marangi
2024-09-25 11:52       ` Miquel Raynal
2024-09-25 12:06         ` Christian Marangi
2024-09-30  9:48           ` Miquel Raynal
2024-09-30 10:10             ` Christian Marangi
2024-10-01  8:42               ` Miquel Raynal
2024-10-01 10:28                 ` Christian Marangi
2024-10-02  8:00                   ` Miquel Raynal
2024-10-16  7:33                     ` Christian Marangi
2024-10-16  8:58                       ` Miquel Raynal
2024-10-16 17:33                       ` Andreas Gnau
2024-09-25 10:13 ` [PATCH 3/3] mtd: parser: add support for Airoha parser Christian Marangi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).