public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Saravana Kannan <saravanak@google.com>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	upstream@airoha.com
Subject: [PATCH 0/3] mtd: Add support for Airoha partition scheme
Date: Wed, 25 Sep 2024 12:13:56 +0200	[thread overview]
Message-ID: <20240925101422.8373-1-ansuelsmth@gmail.com> (raw)

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

             reply	other threads:[~2024-09-25 10:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 10:13 Christian Marangi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240925101422.8373-1-ansuelsmth@gmail.com \
    --to=ansuelsmth@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=lorenzo@kernel.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=saravanak@google.com \
    --cc=tsbogend@alpha.franken.de \
    --cc=upstream@airoha.com \
    --cc=vigneshr@ti.com \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox