All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] mtd: parsers: add support for Sercomm partitions
@ 2022-05-03 15:42 ` Mikhail Zhilkin
  0 siblings, 0 replies; 22+ messages in thread
From: Mikhail Zhilkin @ 2022-05-03 15:42 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra
  Cc: devicetree, linux-kernel, linux-mtd, Karim, M, Mikhail Zhilkin

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


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

end of thread, other threads:[~2022-05-16 15:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 15:42 [PATCH v3 0/3] mtd: parsers: add support for Sercomm partitions Mikhail Zhilkin
2022-05-03 15:42 ` Mikhail Zhilkin
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-03 15:50   ` Mikhail Zhilkin
2022-05-04 15:07   ` Krzysztof Kozlowski
2022-05-04 15:07     ` Krzysztof Kozlowski
2022-05-12 15:27   ` Miquel Raynal
2022-05-12 15:27     ` Miquel Raynal
2022-05-13 14:12     ` Rob Herring
2022-05-13 14:12       ` Rob Herring
2022-05-16  8:21       ` Miquel Raynal
2022-05-16  8:21         ` Miquel Raynal
2022-05-16 15:34         ` Mikhail Zhilkin
2022-05-16 15:34           ` Mikhail Zhilkin
2022-05-16 15:39           ` Krzysztof Kozlowski
2022-05-16 15:39             ` Krzysztof Kozlowski
2022-05-03 15:51 ` [PATCH v3 3/3] mtd: parsers: add support for Sercomm partitions Mikhail Zhilkin
2022-05-03 15:51   ` Mikhail Zhilkin
2022-05-12 15:27   ` Miquel Raynal
2022-05-12 15:27     ` Miquel Raynal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.