Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1581459
| From | Andreas Färber <afaerber@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 03/11] ARM: Prepare Actions Semi S500 |
| Date | 2017-02-15 18:00 +0100 |
| Message-ID | <tbb5U-2sv-27@gated-at.bofh.it> (permalink) |
| References | <tbb5U-2sv-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add ARCH_OWL and mach-owl for "acts,s500".
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
arch/arm/Kconfig | 2 ++
arch/arm/Makefile | 1 +
arch/arm/mach-owl/Kconfig | 9 +++++++++
arch/arm/mach-owl/Makefile | 1 +
arch/arm/mach-owl/owl.c | 28 ++++++++++++++++++++++++++++
5 files changed, 41 insertions(+)
create mode 100644 arch/arm/mach-owl/Kconfig
create mode 100644 arch/arm/mach-owl/Makefile
create mode 100644 arch/arm/mach-owl/owl.c
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 71cea9e..1ea1e54 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -795,6 +795,8 @@ source "arch/arm/mach-omap2/Kconfig"
source "arch/arm/mach-orion5x/Kconfig"
+source "arch/arm/mach-owl/Kconfig"
+
source "arch/arm/mach-picoxcell/Kconfig"
source "arch/arm/mach-pxa/Kconfig"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index ab30cc6..de7fccf 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -195,6 +195,7 @@ machine-$(CONFIG_ARCH_OXNAS) += oxnas
machine-$(CONFIG_ARCH_OMAP1) += omap1
machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
machine-$(CONFIG_ARCH_ORION5X) += orion5x
+machine-$(CONFIG_ARCH_OWL) += owl
machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
machine-$(CONFIG_ARCH_PXA) += pxa
machine-$(CONFIG_ARCH_QCOM) += qcom
diff --git a/arch/arm/mach-owl/Kconfig b/arch/arm/mach-owl/Kconfig
new file mode 100644
index 0000000..8ecceda
--- /dev/null
+++ b/arch/arm/mach-owl/Kconfig
@@ -0,0 +1,9 @@
+menuconfig ARCH_OWL
+ bool "Actions Semi Owl family SoCs"
+ depends on ARCH_MULTI_V7
+ select GENERIC_IRQ_CHIP
+ select ARM_GIC
+ select CACHE_L2X0
+ select COMMON_CLK
+ help
+ This enables support for the Actions Semiconductor S500 SoC family.
diff --git a/arch/arm/mach-owl/Makefile b/arch/arm/mach-owl/Makefile
new file mode 100644
index 0000000..96ab18d
--- /dev/null
+++ b/arch/arm/mach-owl/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_ARCH_OWL) += owl.o
diff --git a/arch/arm/mach-owl/owl.c b/arch/arm/mach-owl/owl.c
new file mode 100644
index 0000000..2ada318
--- /dev/null
+++ b/arch/arm/mach-owl/owl.c
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2017 Andreas Färber
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ */
+
+#include <linux/of_platform.h>
+#include <asm/mach/arch.h>
+
+static const char * const owl_dt_compat[] = {
+ "acts,s500",
+ NULL
+};
+
+DT_MACHINE_START(MESON, "Actions Semi Owl platform")
+ .dt_compat = owl_dt_compat,
+ .l2c_aux_val = 0,
+ .l2c_aux_mask = ~0,
+MACHINE_END
--
2.10.2
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/11] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
[PATCH 06/11] tty: serial: Add Actions Semi Owl UART earlycon Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
Re: [PATCH 06/11] tty: serial: Add Actions Semi Owl UART earlycon Arnd Bergmann <arnd@arndb.de> - 2017-02-16 14:50 +0100
Re: [PATCH 06/11] tty: serial: Add Actions Semi Owl UART earlycon Andreas Färber <afaerber@suse.de> - 2017-02-20 14:50 +0100
Re: [PATCH 06/11] tty: serial: Add Actions Semi Owl UART earlycon Arnd Bergmann <arnd@arndb.de> - 2017-02-20 16:20 +0100
[PATCH 01/11] Documentation: devicetree: Add vendor prefix for Actions Semi Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
[PATCH 03/11] ARM: Prepare Actions Semi S500 Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
[PATCH 11/11] ARM64: dts: Prepare Actions Semi S900 and Bubblegum-96 Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
Re: [PATCH 11/11] ARM64: dts: Prepare Actions Semi S900 and Bubblegum-96 Andreas Färber <afaerber@suse.de> - 2017-02-15 19:20 +0100
[PATCH 05/11] Documentation: devicetree: serial: Document Actions Semi Owl UARTs Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
[PATCH 09/11] Documentation: devicetree: Add vendor prefix for uCRobotics Andreas Färber <afaerber@suse.de> - 2017-02-15 18:00 +0100
[PATCH 07/11] Documentation: kernel-parameters: Document owl earlycon Andreas Färber <afaerber@suse.de> - 2017-02-15 18:10 +0100
[PATCH 08/11] ARM: dts: Prepare Actions Semi S500 and LeMaker Guitar Andreas Färber <afaerber@suse.de> - 2017-02-15 18:10 +0100
Re: [PATCH 08/11] ARM: dts: Prepare Actions Semi S500 and LeMaker Guitar Andreas Färber <afaerber@suse.de> - 2017-02-15 18:30 +0100
Re: [PATCH 08/11] ARM: dts: Prepare Actions Semi S500 and LeMaker Guitar Andreas Färber <afaerber@suse.de> - 2017-02-24 02:10 +0100
[PATCH 04/11] ARM64: Prepare Actions Semi S900 Andreas Färber <afaerber@suse.de> - 2017-02-15 18:10 +0100
Re: [PATCH 04/11] ARM64: Prepare Actions Semi S900 Arnd Bergmann <arnd@arndb.de> - 2017-02-16 14:50 +0100
Re: [PATCH 04/11] ARM64: Prepare Actions Semi S900 Andreas Färber <afaerber@suse.de> - 2017-02-17 01:40 +0100
Re: [PATCH 04/11] ARM64: Prepare Actions Semi S900 Arnd Bergmann <arnd@arndb.de> - 2017-02-17 12:40 +0100
[PATCH 02/11] Documentation: devicetree: arm: Document Actions Semi S500 Andreas Färber <afaerber@suse.de> - 2017-02-15 18:10 +0100
[PATCH 10/11] Documentation: devicetree: arm: Document Actions Semi S900 Andreas Färber <afaerber@suse.de> - 2017-02-15 18:10 +0100
Re: [PATCH 10/11] Documentation: devicetree: arm: Document Actions Semi S900 Rob Herring <robh@kernel.org> - 2017-02-27 15:30 +0100
Re: [PATCH 00/11] ARM: Initial Actions Semi S500 and S900 enablement Arnd Bergmann <arnd@arndb.de> - 2017-02-16 14:50 +0100
csiph-web