Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1335236 > unrolled thread
| Started by | Vladimir Murzin <vladimir.murzin@arm.com> |
|---|---|
| First post | 2016-02-16 11:10 +0100 |
| Last post | 2016-02-16 15:50 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 06/10] ARM: mps2: introduce MPS2 platform Vladimir Murzin <vladimir.murzin@arm.com> - 2016-02-16 11:10 +0100
Re: [PATCH v3 06/10] ARM: mps2: introduce MPS2 platform Arnd Bergmann <arnd@arndb.de> - 2016-02-16 12:00 +0100
Re: [PATCH v3 06/10] ARM: mps2: introduce MPS2 platform Vladimir Murzin <vladimir.murzin@arm.com> - 2016-02-16 15:40 +0100
Re: [PATCH v3 06/10] ARM: mps2: introduce MPS2 platform Arnd Bergmann <arnd@arndb.de> - 2016-02-16 15:50 +0100
| From | Vladimir Murzin <vladimir.murzin@arm.com> |
|---|---|
| Date | 2016-02-16 11:10 +0100 |
| Subject | [PATCH v3 06/10] ARM: mps2: introduce MPS2 platform |
| Message-ID | <r2KJY-6rY-29@gated-at.bofh.it> |
The Cortex-M Prototyping System (or V2M-MPS2) is designed for
prototyping and evaluation Cortex-M family of processors including the
latest Cortex-M7
It comes with a range of useful peripherals including 8MB single cycle
SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA
connector, Audio, SPI and GPIO.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
arch/arm/Kconfig | 8 ++++++++
arch/arm/Makefile | 1 +
arch/arm/mach-mps2/Makefile | 1 +
arch/arm/mach-mps2/Makefile.boot | 3 +++
arch/arm/mach-mps2/dtmachine.c | 21 +++++++++++++++++++++
5 files changed, 34 insertions(+)
create mode 100644 arch/arm/mach-mps2/Makefile
create mode 100644 arch/arm/mach-mps2/Makefile.boot
create mode 100644 arch/arm/mach-mps2/dtmachine.c
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4f799e5..48fa6c4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -883,6 +883,14 @@ config ARCH_STM32
help
Support for STMicroelectronics STM32 processors.
+config ARCH_MPS2
+ bool "ARM MPS2 paltform"
+ depends on ARM_SINGLE_ARMV7M
+ select ARM_AMBA
+ select CLKSRC_MPS2
+ help
+ Support for ARM MPS2 Cortex-M platform.
+
# Definitions to make life easier
config ARCH_ACORN
bool
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index fe25410..8cd9ec1 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -182,6 +182,7 @@ machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx
machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
machine-$(CONFIG_ARCH_MESON) += meson
machine-$(CONFIG_ARCH_MMP) += mmp
+machine-$(CONFIG_ARCH_MPS2) += mps2
machine-$(CONFIG_ARCH_MOXART) += moxart
machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0
machine-$(CONFIG_ARCH_MVEBU) += mvebu
diff --git a/arch/arm/mach-mps2/Makefile b/arch/arm/mach-mps2/Makefile
new file mode 100644
index 0000000..3a74af7
--- /dev/null
+++ b/arch/arm/mach-mps2/Makefile
@@ -0,0 +1 @@
+obj-y += dtmachine.o
diff --git a/arch/arm/mach-mps2/Makefile.boot b/arch/arm/mach-mps2/Makefile.boot
new file mode 100644
index 0000000..eacfc3f
--- /dev/null
+++ b/arch/arm/mach-mps2/Makefile.boot
@@ -0,0 +1,3 @@
+# Empty file waiting for deletion once Makefile.boot isn't needed any more.
+# Patch waits for application at
+# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 .
diff --git a/arch/arm/mach-mps2/dtmachine.c b/arch/arm/mach-mps2/dtmachine.c
new file mode 100644
index 0000000..e7ad9c2
--- /dev/null
+++ b/arch/arm/mach-mps2/dtmachine.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2015 ARM Limited
+ *
+ * Author: Vladimir Murzin <vladimir.murzin@arm.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+#include <asm/mach/arch.h>
+
+static const char *const mps2_compat[] __initconst = {
+ "arm,mps2",
+ NULL
+};
+
+DT_MACHINE_START(MPS2DT, "MPS2 (Device Tree Support)")
+ .dt_compat = mps2_compat,
+MACHINE_END
--
1.7.9.5
[toc] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-02-16 12:00 +0100 |
| Message-ID | <r2Lwm-6Lz-13@gated-at.bofh.it> |
| In reply to | #1335236 |
On Tuesday 16 February 2016 10:08:11 Vladimir Murzin wrote: > The Cortex-M Prototyping System (or V2M-MPS2) is designed for > prototyping and evaluation Cortex-M family of processors including the > latest Cortex-M7 > > It comes with a range of useful peripherals including 8MB single cycle > SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA > connector, Audio, SPI and GPIO. > > Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> > --- > arch/arm/Kconfig | 8 ++++++++ > arch/arm/Makefile | 1 + > arch/arm/mach-mps2/Makefile | 1 + > arch/arm/mach-mps2/Makefile.boot | 3 +++ > arch/arm/mach-mps2/dtmachine.c | 21 +++++++++++++++++++++ > We are in the (slow) process of consolidating the ARM reference platforms (versatile, integrator, realview, vexpress) into one place. I'd suggest adding all this to the mach-vexpress directory rather than a new directory, so we don't have another one to consolidate. Arnd
[toc] | [prev] | [next] | [standalone]
| From | Vladimir Murzin <vladimir.murzin@arm.com> |
|---|---|
| Date | 2016-02-16 15:40 +0100 |
| Message-ID | <r2OXf-C8-7@gated-at.bofh.it> |
| In reply to | #1335268 |
On 16/02/16 10:56, Arnd Bergmann wrote: > On Tuesday 16 February 2016 10:08:11 Vladimir Murzin wrote: >> The Cortex-M Prototyping System (or V2M-MPS2) is designed for >> prototyping and evaluation Cortex-M family of processors including the >> latest Cortex-M7 >> >> It comes with a range of useful peripherals including 8MB single cycle >> SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA >> connector, Audio, SPI and GPIO. >> >> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> >> --- >> arch/arm/Kconfig | 8 ++++++++ >> arch/arm/Makefile | 1 + >> arch/arm/mach-mps2/Makefile | 1 + >> arch/arm/mach-mps2/Makefile.boot | 3 +++ >> arch/arm/mach-mps2/dtmachine.c | 21 +++++++++++++++++++++ >> > > We are in the (slow) process of consolidating the ARM reference platforms > (versatile, integrator, realview, vexpress) into one place. > Thanks for information! Sometime ago I saw on a list you had some thoughts on consolidating M-class platforms since most of them follow quite the same pattern (I'm looking at efm32 and stm32). So, shouldn't this platform consider that way? > I'd suggest adding all this to the mach-vexpress directory rather than > a new directory, so we don't have another one to consolidate. > I'm fine with either way. Thanks Vladimir > Arnd > > >
[toc] | [prev] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-02-16 15:50 +0100 |
| Message-ID | <r2P6V-Gk-9@gated-at.bofh.it> |
| In reply to | #1335462 |
On Tuesday 16 February 2016 14:35:43 Vladimir Murzin wrote: > On 16/02/16 10:56, Arnd Bergmann wrote: > > On Tuesday 16 February 2016 10:08:11 Vladimir Murzin wrote: > >> The Cortex-M Prototyping System (or V2M-MPS2) is designed for > >> prototyping and evaluation Cortex-M family of processors including the > >> latest Cortex-M7 > >> > >> It comes with a range of useful peripherals including 8MB single cycle > >> SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA > >> connector, Audio, SPI and GPIO. > >> > >> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> > >> --- > >> arch/arm/Kconfig | 8 ++++++++ > >> arch/arm/Makefile | 1 + > >> arch/arm/mach-mps2/Makefile | 1 + > >> arch/arm/mach-mps2/Makefile.boot | 3 +++ > >> arch/arm/mach-mps2/dtmachine.c | 21 +++++++++++++++++++++ > >> > > > > We are in the (slow) process of consolidating the ARM reference platforms > > (versatile, integrator, realview, vexpress) into one place. > > > > Thanks for information! Sometime ago I saw on a list you had some > thoughts on consolidating M-class platforms since most of them follow > quite the same pattern (I'm looking at efm32 and stm32). So, shouldn't > this platform consider that way? > Right, that would be another option. vf610 is in the same category as this one I think, it's currently in mach-imx, and we can probably leave it there. Unless someone is going to do the patch to consolidate the cortex-m platforms, I'd stay with mach-vexpress here, but I don't have a strong opinion. Arnd
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web