mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] mtd: nand: Add special fixup kernel partitions for Denali
@ 2020-11-25  5:20 Sascha Hauer
  2020-11-25  5:20 ` [PATCH 1/4] mtd: Remove set but not used of_path Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2020-11-25  5:20 UTC (permalink / raw)
  To: Barebox List

In the Denali NAND driver the partitions device node to fixup
for the kernel changed over time. This used to be a direct subnode
of the controller node, but Kernel v5.2 introduced an additional
subnode between the controller node and the partitions node.
Until then the binding complies with the current generic NAND
binding which has subnodes for each NAND chip under the controller
node.
We'll likely see that more often in the future. For now solve this
at driver level, but we might want to solve that in mtd code some
day.

Sascha

Sascha Hauer (4):
  mtd: Remove set but not used of_path
  of: partitions: export of_fixup_partitions
  mtd: Add hook to fix up kernel partitions
  mtd: nand: denali: cope with kernel device trees without chip subnodes

 drivers/mtd/core.c                | 31 +++++++++++++++--
 drivers/mtd/nand/nand_denali_dt.c | 57 +++++++++++++++++++++++++++++++
 drivers/of/partition.c            | 37 +++++++++++---------
 include/linux/mtd/mtd.h           |  3 +-
 include/of.h                      |  6 ++++
 5 files changed, 115 insertions(+), 19 deletions(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-11-25  5:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25  5:20 [PATCH 0/4] mtd: nand: Add special fixup kernel partitions for Denali Sascha Hauer
2020-11-25  5:20 ` [PATCH 1/4] mtd: Remove set but not used of_path Sascha Hauer
2020-11-25  5:20 ` [PATCH 2/4] of: partitions: export of_fixup_partitions Sascha Hauer
2020-11-25  5:20 ` [PATCH 3/4] mtd: Add hook to fix up kernel partitions Sascha Hauer
2020-11-25  5:20 ` [PATCH 4/4] mtd: nand: denali: cope with kernel device trees without chip subnodes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox