Skip to content

ARM: Kirkwood: Add DT support for (eSATA) Sheevaplug

Simon Baatz linux-arm-kernel linux-mmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: mvsdio: Support inverted CD and WP GPIO linesarch/arm/boot/dts/kirkwood-mplcec4.dts drivers/mmc/host/mvsdio.c+13 -37 replies
1/3mmc: mvsdio: Support inverted CD and WP GPIO lines+0 -00 replies
2/3ARM: Kirkwood: Add dts files for Sheevaplug and eSATA Sheevaplugarch/arm/boot/dts/Makefile arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts +1 more+182 -00 replies
3/3ARM: Kirkwood: Add DT support for Sheevaplug and Sheevaplug eSATAarch/arm/mach-kirkwood/Kconfig arch/arm/mach-kirkwood/Makefile arch/arm/mach-kirkwood/board-dt.c +2 more+44 -00 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/3] ARM: Kirkwood: Add DT support for (eSATA) Sheevaplug

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
Signature · 1 line
1.7.9.5