Skip to content

RM9200 EBI write/read interface

Joachim Eastwood linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: at91: create ebi read/write interface for RM9200arch/arm/boot/dts/at91rm9200.dtsi arch/arm/mach-at91/at91rm9200.c arch/arm/mach-at91/at91rm9200_devices.c +12 more+59 -871 reply
1/2ARM: at91: create ebi read/write interface for RM9200+0 -00 replies
2/2ARM: at91: move at91_ramc.h and clean up includesarch/arm/mach-at91/at91_ramc.h arch/arm/mach-at91/at91sam9_alt_reset.S arch/arm/mach-at91/at91sam9g45_reset.S +8 more+35 -460 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] RM9200 EBI write/read interface

Hi,

This patch introduces a EBI (External Bus Interface) read/write interface for RM9200. This allow to use the real base address for the SDRAMC on RM9200 and share SDRAMC headers for RM9200 and SAM9.

In the process at91_ramc can now be made private to mach-at91 since the at91_cf driver will use at91_ebi instead.

The ultimate goal is to create a EBI driver for RM9200. This will make it possible to setup EBI and SMC for external chips.

My board has octal USART which needs SMC to be setup correctly and this is not currently possible when using DT. Boards with NOR and NAND flash where SMC is not setup by bootloader will also benefit from such a driver.

I'm working this EBI driver and its DT bindings right now but would like some comments on this before I proceed.

Joachim Eastwood (2):
ARM: at91: create ebi read/write interface for RM9200
ARM: at91: move at91_ramc.h and clean up includes

 arch/arm/boot/dts/at91rm9200.dtsi                  |  4 +-
 arch/arm/mach-at91/at91_ramc.h                     | 31 +++++++++++
 arch/arm/mach-at91/at91rm9200.c                    |  3 +-
 arch/arm/mach-at91/at91rm9200_devices.c            | 14 ++---
 arch/arm/mach-at91/at91sam9_alt_reset.S            |  2 +-
 arch/arm/mach-at91/at91sam9g45_reset.S             |  2 +-
 arch/arm/mach-at91/board-cpuat91.c                 |  2 -
 arch/arm/mach-at91/board-eco920.c                  |  6 +--
 arch/arm/mach-at91/board-kb9202.c                  |  2 -
 arch/arm/mach-at91/board-picotux200.c              |  3 --
 arch/arm/mach-at91/board-rm9200dk.c                |  2 -
 arch/arm/mach-at91/board-rm9200ek.c                |  2 -
 arch/arm/mach-at91/board-yl-9200.c                 |  4 +-
 arch/arm/mach-at91/generic.h                       |  3 ++
 arch/arm/mach-at91/include/mach/at91_ebi.h         | 20 +++++++
 arch/arm/mach-at91/include/mach/at91_ramc.h        | 32 -----------
 arch/arm/mach-at91/include/mach/at91rm9200.h       |  1 +
 .../arm/mach-at91/include/mach/at91rm9200_sdramc.h | 63 ----------------------
 arch/arm/mach-at91/include/mach/at91sam9_sdramc.h  |  2 +
 arch/arm/mach-at91/pm.c                            |  2 +-
 arch/arm/mach-at91/pm.h                            |  9 ++--
 arch/arm/mach-at91/pm_slowclock.S                  |  2 +-
 arch/arm/mach-at91/setup.c                         | 10 ++++
 drivers/pcmcia/at91_cf.c                           |  6 +--
 24 files changed, 94 insertions(+), 133 deletions(-)
 create mode 100644 arch/arm/mach-at91/at91_ramc.h
 create mode 100644 arch/arm/mach-at91/include/mach/at91_ebi.h
 delete mode 100644 arch/arm/mach-at91/include/mach/at91_ramc.h
 delete mode 100644 arch/arm/mach-at91/include/mach/at91rm9200_sdramc.h
Signature · 1 line
1.8.0