From: gmbnomis@gmail.com (Simon Baatz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] ARM: Kirkwood: Add DT support for (eSATA) Sheevaplug
Date: Mon, 22 Apr 2013 21:54:57 +0200 [thread overview]
Message-ID: <1366660500-26835-1-git-send-email-gmbnomis@gmail.com> (raw)
These patches add DT support for the Sheevaplugs by Globalscale
Technologies. There exists two versions, one with an eSATA port and
one without.
Surprisingly, the conversion was not straight forward. In the eSATA
version (board revision 1.3), the CD and WP pins are connected to GPIO
lines, but I could not get this to work. Apparently, I am not the only
one ([1]). I found that the pins are reversed on my hardware and use
different active low/active high settings.
Thus, the first patch adds support for the GPIO active low/high flag in
DT to the mvsdio driver.
With that, everything except the Gigabit Ethernet can be described in
the DTS. I have split the DTS and the board support files into two
patches. This way, we can drop the last patch once we can describe
everything in the DTS or we can squash them together if we don't want
to wait.
I could only test on an eSATA Sheevaplug. I found patches with
different LEDs for the Sheevaplug. Thus, I would highly appreciate if
someone with the hardware could give this a spin on a non-eSATA
version. Some additional testing of the change detect and write
protect behaviour for sdio can't hurt either. I hope that there aren't
board revisions with different CD/WP pins out there.
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-August/062567.html
Simon Baatz (3):
mmc: mvsdio: Support inverted CD and WP GPIO lines
ARM: Kirkwood: Add dts files for Sheevaplug and eSATA Sheevaplug
ARM: Kirkwood: Add DT support for Sheevaplug and Sheevaplug eSATA
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/kirkwood-mplcec4.dts | 2 +-
arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi | 97 +++++++++++++++++++++
arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | 40 +++++++++
arch/arm/boot/dts/kirkwood-sheevaplug.dts | 43 +++++++++
arch/arm/mach-kirkwood/Kconfig | 7 ++
arch/arm/mach-kirkwood/Makefile | 1 +
arch/arm/mach-kirkwood/board-dt.c | 4 +
arch/arm/mach-kirkwood/board-sheevaplug.c | 27 ++++++
arch/arm/mach-kirkwood/common.h | 5 ++
drivers/mmc/host/mvsdio.c | 14 ++-
11 files changed, 239 insertions(+), 3 deletions(-)
create mode 100644 arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi
create mode 100644 arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts
create mode 100644 arch/arm/boot/dts/kirkwood-sheevaplug.dts
create mode 100644 arch/arm/mach-kirkwood/board-sheevaplug.c
--
1.7.9.5
next reply other threads:[~2013-04-22 19:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 19:54 Simon Baatz [this message]
2013-04-22 19:54 ` [PATCH 1/3] mmc: mvsdio: Support inverted CD and WP GPIO lines Simon Baatz
2013-04-22 20:03 ` Chris Ball
2013-04-22 20:37 ` Andrew Lunn
2013-04-22 21:09 ` Jason Cooper
2013-04-22 21:45 ` Andrew Lunn
2013-04-22 21:50 ` Chris Ball
2013-04-23 1:48 ` Thomas Petazzoni
2013-04-23 21:22 ` Simon Baatz
2013-04-22 22:54 ` Jason Cooper
2013-04-22 19:54 ` [PATCH 2/3] ARM: Kirkwood: Add dts files for Sheevaplug and eSATA Sheevaplug Simon Baatz
2013-04-22 19:55 ` [PATCH 3/3] ARM: Kirkwood: Add DT support for Sheevaplug and Sheevaplug eSATA Simon Baatz
2013-04-23 5:00 ` [PATCH 0/3] ARM: Kirkwood: Add DT support for (eSATA) Sheevaplug Andrew Lunn
2013-05-13 17:30 ` Jason Cooper
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=1366660500-26835-1-git-send-email-gmbnomis@gmail.com \
--to=gmbnomis@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).