Skip to content

mtd: rawnand: fsl_upm: Convert to exec_op() (and more)

Boris Brezillon linux-devicetree linux-mtd linuxppc-dev 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 21 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10mtd: rawnand: fsl_upm: Remove unused mtd vardrivers/mtd/nand/raw/fsl_upm.c+0 -12 replies
2/10mtd: rawnand: fsl_upm: Get rid of the unused fsl_upm_nand.parts fielddrivers/mtd/nand/raw/fsl_upm.c+0 -12 replies
3/10mtd: rawnand: fsl_upm: Allocate the fsl_upm_nand object using devm_kzalloc()drivers/mtd/nand/raw/fsl_upm.c+6 -122 replies
4/10mtd: rawnand: fsl_upm: Use devm_kasprintf() to allocate the MTD namedrivers/mtd/nand/raw/fsl_upm.c+3 -53 replies
5/10mtd: rawnand: fsl_upm: Use platform_get_resource() + devm_ioremap_resource()drivers/mtd/nand/raw/fsl_upm.c+7 -163 replies
6/10mtd: rawnand: fsl_upm: Use gpio descriptorsdrivers/mtd/nand/raw/fsl_upm.c+10 -342 replies
7/10mtd: rawnand: fsl_upm: Inherit from nand_controllerdrivers/mtd/nand/raw/fsl_upm.c+3 -02 replies
8/10mtd: rawnand: fsl_upm: Implement exec_op()drivers/mtd/nand/raw/fsl_upm.c+86 -02 replies
9/10mtd: rawnand: fsl_upm: Get rid of the legacy interface implementationdrivers/mtd/nand/raw/fsl_upm.c+0 -1331 reply
10/10dt-bindings: mtd: fsl-upm-nand: Deprecate chip-delay and fsl, upm-wait-flagsDocumentation/devicetree/bindings/mtd/fsl-upm-nand.txt+5 -52 replies

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchMiquel Raynal
1/10R-b
2/10R-b
3/10R-b
4/10
5/10
6/10R-b
7/10R-b
8/10R-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] mtd: rawnand: fsl_upm: Convert to exec_op() (and more)

Hello,

A bit of context to explain the motivation behind those conversions I've been sending for the last few weeks. The raw NAND subsystem carries a lot of history which makes any rework not only painful, but also subject to regressions which we only detect when someone dares to update its kernel on one of those ancient HW. While carrying drivers for old HW is not a problem per se, carrying ancient and unmaintained drivers that are not converted to new APIs is a maintenance burden, hence this massive conversion attempt I'm conducting here.

So here is a series converting the FSM UPM NAND controller driver to exec_op(), plus a bunch of minor improvements done along the way. I hope I'll find someone to test those changes, but if there's no one still having access to this HW or no interest in keeping it supported in recent kernel versions, we should definitely consider removing the driver instead.

Regards,

Boris

Boris Brezillon (10):
mtd: rawnand: fsl_upm: Remove unused mtd var
mtd: rawnand: fsl_upm: Get rid of the unused fsl_upm_nand.parts field
mtd: rawnand: fsl_upm: Allocate the fsl_upm_nand object using
devm_kzalloc()
mtd: rawnand: fsl_upm: Use devm_kasprintf() to allocate the MTD name
mtd: rawnand: fsl_upm: Use platform_get_resource() +
devm_ioremap_resource()
mtd: rawnand: fsl_upm: Use gpio descriptors
mtd: rawnand: fsl_upm: Inherit from nand_controller
mtd: rawnand: fsl_upm: Implement exec_op()
mtd: rawnand: fsl_upm: Get rid of the legacy interface implementation
dt-bindings: mtd: fsl-upm-nand: Deprecate chip-delay and
fsl,upm-wait-flags

 .../devicetree/bindings/mtd/fsl-upm-nand.txt  |  10 +-
 drivers/mtd/nand/raw/fsl_upm.c                | 311 +++++++-----------
 2 files changed, 117 insertions(+), 204 deletions(-)
Signature · 6 lines
2.25.4


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