arm/kirkwood: add dreamplug support.
Subsystems (2)
cover arm/kirkwood: add dreamplug support.
From: Jason Cooper <[email protected]>
All,
This is an RFC patch series until mach-types is updated. This compiles, loads, runs, and sees the SPI flash.
Concerns:
- I sent an email to rmk a day or two ago regarding updating the mach-types, but haven't heard. I know he's busy, just wanted to make sure I was doing it right. I requested it here [1].
- I haven't had a chance to confirm the LED mappings are correct.
- Once the mach-types are updated, I'll drop the first patch, it's just for folks who want to try the series and have it build and run.
[1] http://www.arm.linux.org.uk/developer/machines/list.php?id=3550
Jason Cooper (2):
arm/kirkwood: TEMP hack till mach-types is updated. arm/kirkwood: add dreamplug support.
arch/arm/mach-kirkwood/Kconfig | 6 ++ arch/arm/mach-kirkwood/Makefile | 1 + arch/arm/mach-kirkwood/dreamplug-setup.c | 144 ++++++++++++++++++++++++++++++ arch/arm/tools/mach-types | 1 + 4 files changed, 152 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-kirkwood/dreamplug-setup.c
RFC PATCH 1/2 arm/kirkwood: TEMP hack till mach-types is updated.
From: Jason Cooper <[email protected]>
DO NOT SUBMIT!
--- arch/arm/tools/mach-types | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/tools/mach-types +1 -0
@@ -1113,3 +1113,4 @@ blissc MACH_BLISSC BLISSC 3491 thales_adc MACH_THALES_ADC THALES_ADC 3492 ubisys_p9d_evp MACH_UBISYS_P9D_EVP UBISYS_P9D_EVP 3493 atdgp318 MACH_ATDGP318 ATDGP318 3494 +dreamplug MACH_DREAMPLUG DREAMPLUG 3550
Signature · 1 line
1.7.0.4
RFC PATCH 2/2 arm/kirkwood: add dreamplug support.
In reply to linux_arm at lakedaemon.netFrom: Jason Cooper <[email protected]>
Copied guruplug-setup.c and did s/guruplug/dreamplug/g. Then, switched to SPI based NOR flash.
--- arch/arm/mach-kirkwood/Kconfig | 6 ++ arch/arm/mach-kirkwood/Makefile | 1 + arch/arm/mach-kirkwood/dreamplug-setup.c | 144 ++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-kirkwood/dreamplug-setup.c
arch/arm/mach-kirkwood/Kconfig +6 -0
@@ -44,6 +44,12 @@ config MACH_GURUPLUG Say 'Y' here if you want your kernel to support the Marvell GuruPlug Reference Board. +config MACH_DREAMPLUG + bool "Marvell DreamPlug Reference Board" + help + Say 'Y' here if you want your kernel to support the + Marvell DreamPlug Reference Board. + config MACH_TS219 bool "QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS" help
arch/arm/mach-kirkwood/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_MACH_MV88F6281GTW_GE) += mv88f6281gtw_ge-setup.o obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG) += sheevaplug-setup.o obj-$(CONFIG_MACH_GURUPLUG) += guruplug-setup.o +obj-$(CONFIG_MACH_DREAMPLUG) += dreamplug-setup.o obj-$(CONFIG_MACH_DOCKSTAR) += dockstar-setup.o obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o
arch/arm/mach-kirkwood/dreamplug-setup.c new file +144 -0
144 lines not on this page · raw message
Signature · 1 line
1.7.0.4
cover arm/kirkwood: add dreamplug support.
In reply to linux_arm at lakedaemon.netAm Dienstag 14 Juni 2011, 21:52:53 schrieb linux_arm at lakedaemon.net:
Quoted 3 lines
From: Jason Cooper <[email protected]>
This is an RFC patch series until mach-types is updated. This compiles, loads, runs, and sees the SPI flash.
Hi Jason,
in case no one else reply to your patch. I wanted to submit a patch, which adds support for the LS-XHL, based on kirkwood, too. Old-fashioned machine support files won't be accepted anymore. Instead you would have to submit a DTS once the kirkwood arch has support for device trees.
Signature · 1 line
Michael
cover arm/kirkwood: add dreamplug support.
Quoted 10 lines · Michael Walle
Am Dienstag 14 Juni 2011, 21:52:53 schrieb
linux_armat lakedaemon.net:Quoted 3 lines
From: Jason Cooper <[email protected]>
This is an RFC patch series until mach-types is updated. This compiles, loads, runs, and sees the SPI flash.in case no one else reply to your patch. I wanted to submit a patch, which adds support for the LS-XHL, based on kirkwood, too. Old-fashioned machine support files won't be accepted anymore. Instead you would have to submit a DTS once the kirkwood arch has support for device trees.
Ahhh, that's the key word I was missing. :-) I had been reading up on the arch/arm/* cleanup, and saw that SoC drivers should go in drivers/, but had missed the DTS bit.
Off to read...
thx,
Jason.