From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] RM9200 EBI write/read interface
Date: Sat, 9 Feb 2013 16:54:26 +0100 [thread overview]
Message-ID: <1360425268-29060-1-git-send-email-manabian@gmail.com> (raw)
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
--
1.8.0
next reply other threads:[~2013-02-09 15:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 15:54 Joachim Eastwood [this message]
2013-02-09 15:54 ` [PATCH 1/2] ARM: at91: create ebi read/write interface for RM9200 Joachim Eastwood
2013-02-11 16:49 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-11 17:17 ` Joachim Eastwood
2013-02-09 15:54 ` [PATCH 2/2] ARM: at91: move at91_ramc.h and clean up includes Joachim Eastwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360425268-29060-1-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).