Skip to content

ARM: davinci: remove the mach-specific aemif driver - part 1

Bartosz Golaszewski linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 13 repliesIn review
  2. v2 posting 1/24 patches 0 repliesSuperseded
  3. v16 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- drop the first two patches, which are no longer needed with David's psc driver

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4memory: aemif: don't rely on kbuild for driver's namedrivers/memory/ti-aemif.c+1 -10 replies
2/4memory: aemif: add support for board filesdrivers/memory/ti-aemif.c include/linux/platform_data/ti-aemif.h+46 -201 reply
3/4ARM: davinci: add aemif & nand support to da850-lcdk in legacy modearch/arm/mach-davinci/board-omapl138-hawk.c+132 -03 replies
4/4ARM: davinci: use aemif platform driver in legacy mode for da850-evmarch/arm/mach-davinci/board-da850-evm.c+51 -422 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RESEND PATCH v2 0/4] ARM: davinci: remove the mach-specific aemif driver - part 1

From: Bartosz Golaszewski <[email protected]>

This is the first part of changes required to remove duplicate aemif support from mach-davinci.

I actually noticed that one of my previous changes from 2017 broke nand in legacy mode - the clock lookup no longer works. This series addresses it as well.

First patch just uses a static string for the ti-aemif driver name.

The second adds support for board files to the aemif driver.

Last two add nand support to da850-lcdk in legacy mode and make da850-evm use the platform driver instead of the mach-specific one.

If these patches get accepted, I'll prepere a follow-up moving all other boards to the new platform driver.

This series applies on top of v8 of David Lechner's CCF series.

v1 -> v2:
- drop the first two patches, which are no longer needed with David's psc driver

Bartosz Golaszewski (4):
memory: aemif: don't rely on kbuild for driver's name
memory: aemif: add support for board files
ARM: davinci: add aemif & nand support to da850-lcdk in legacy mode
ARM: davinci: use aemif platform driver in legacy mode for da850-evm

 arch/arm/mach-davinci/board-da850-evm.c     |  93 +++++++-------
 arch/arm/mach-davinci/board-omapl138-hawk.c | 132 ++++++++++++++++++++
 drivers/memory/ti-aemif.c                   |  59 +++++----
 include/linux/platform_data/ti-aemif.h      |   9 ++
 4 files changed, 230 insertions(+), 63 deletions(-)
Signature · 1 line
2.17.0