From: Mikhail Zhilkin <csharper2005@gmail.com>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mtd@lists.infradead.org, Karim <Karimdplay@gmail.com>,
M <x1@disroot.org>, Mikhail Zhilkin <csharper2005@gmail.com>
Subject: [PATCH v3 0/3] mtd: parsers: add support for Sercomm partitions
Date: Tue, 3 May 2022 15:42:54 +0000 [thread overview]
Message-ID: <20220503154254.2339744-1-csharper2005@gmail.com> (raw)
This patch series add support for Sercomm mtd partition table parser. It's
used in some Beeline, Netgear and Sercomm routers. The Sercomm partition
map table contains real partition offsets, which may differ from device to
device depending on the number and location of bad blocks on NAND.
Changes since:
v2:
- Fix mistakes in dt-binding
- Add patch for new vendor prefix
- Add vendor prefix to scpart-id property
v1:
- Add dt-binding in a separate patch
- Remove redundant braces and logical NOT operator
- Define pr_fmt
- Replace kcalloc by kzalloc
- Use of_get_child_count() and alloc big enough array before the
for_each_child_of_node()
Mikhail Zhilkin (3):
dt-bindings: Add Sercomm (Suzhou) Corporation vendor prefix
dt-bindings: mtd: partitions: Extend fixed-partitions binding
mtd: parsers: add support for Sercomm partitions
.../mtd/partitions/fixed-partitions.yaml | 55 +++-
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/mtd/parsers/Kconfig | 9 +
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/scpart.c | 240 ++++++++++++++++++
5 files changed, 305 insertions(+), 2 deletions(-)
create mode 100644 drivers/mtd/parsers/scpart.c
--
2.25.1
next reply other threads:[~2022-05-03 15:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 15:42 Mikhail Zhilkin [this message]
2022-05-03 15:47 ` [PATCH v3 1/3] dt-bindings: Add Sercomm (Suzhou) Corporation vendor prefix Mikhail Zhilkin
2022-05-04 15:07 ` Krzysztof Kozlowski
2022-05-03 15:50 ` [PATCH v3 2/3] dt-bindings: mtd: partitions: Extend fixed-partitions binding Mikhail Zhilkin
2022-05-04 15:07 ` Krzysztof Kozlowski
2022-05-12 15:27 ` Miquel Raynal
2022-05-13 14:12 ` Rob Herring
2022-05-16 8:21 ` Miquel Raynal
2022-05-16 15:34 ` Mikhail Zhilkin
2022-05-16 15:39 ` Krzysztof Kozlowski
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=20220503154254.2339744-1-csharper2005@gmail.com \
--to=csharper2005@gmail.com \
--cc=Karimdplay@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
--cc=x1@disroot.org \
/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;
as well as URLs for NNTP newsgroup(s).