aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-11-20 11:20:59 -0500
committerArnd Bergmann <arnd@arndb.de>2014-11-20 11:20:59 -0500
commitf2f456e720351028bdd84f02abb5a58ceacbdcaa (patch)
treedcfe4676dd5490d62e928e37282018957995536a
parent2db0aea590246b570b9352659f065727900c6f69 (diff)
parent7b6b0a455d98c7a314278e0fdca25ec6395a502a (diff)
Merge tag 'v3.19-meson-soc' of https://github.com/carlocaione/linux-meson into next/soc
Pull "ARM: meson: SOC related changes" from Carlo Caione: This is the pull request for the SoC related changes for the 3.19. The support for Meson8 is added together with L2 cache management. * tag 'v3.19-meson-soc' of https://github.com/carlocaione/linux-meson: clocksource: meson6: Select CLKSRC_MMIO ARM: meson: enable L2 cache ARM: meson: document meson8 compatible properties ARM: meson: add meson8 support Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--Documentation/devicetree/bindings/arm/amlogic.txt8
-rw-r--r--arch/arm/mach-meson/Kconfig6
-rw-r--r--arch/arm/mach-meson/meson.c10
-rw-r--r--drivers/clocksource/Kconfig1
4 files changed, 18 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt
index 7eece72b1a35..8fe815046140 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.txt
+++ b/Documentation/devicetree/bindings/arm/amlogic.txt
@@ -2,7 +2,9 @@ Amlogic MesonX device tree bindings
2------------------------------------------- 2-------------------------------------------
3 3
4Boards with the Amlogic Meson6 SoC shall have the following properties: 4Boards with the Amlogic Meson6 SoC shall have the following properties:
5 Required root node property:
6 compatible: "amlogic,meson6"
5 7
6Required root node property: 8Boards with the Amlogic Meson8 SoC shall have the following properties:
7 9 Required root node property:
8compatible = "amlogic,meson6"; 10 compatible: "amlogic,meson8";
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index 2c1154e1794a..18301dc9d2e7 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -2,6 +2,7 @@ menuconfig ARCH_MESON
2 bool "Amlogic Meson SoCs" if ARCH_MULTI_V7 2 bool "Amlogic Meson SoCs" if ARCH_MULTI_V7
3 select GENERIC_IRQ_CHIP 3 select GENERIC_IRQ_CHIP
4 select ARM_GIC 4 select ARM_GIC
5 select CACHE_L2X0
5 6
6if ARCH_MESON 7if ARCH_MESON
7 8
@@ -10,4 +11,9 @@ config MACH_MESON6
10 default ARCH_MESON 11 default ARCH_MESON
11 select MESON6_TIMER 12 select MESON6_TIMER
12 13
14config MACH_MESON8
15 bool "Amlogic Meson8 SoCs support"
16 default ARCH_MESON
17 select MESON6_TIMER
18
13endif 19endif
diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c
index 5ee064f5a89f..5d6affe6a694 100644
--- a/arch/arm/mach-meson/meson.c
+++ b/arch/arm/mach-meson/meson.c
@@ -16,12 +16,14 @@
16#include <linux/of_platform.h> 16#include <linux/of_platform.h>
17#include <asm/mach/arch.h> 17#include <asm/mach/arch.h>
18 18
19static const char * const m6_common_board_compat[] = { 19static const char * const meson_common_board_compat[] = {
20 "amlogic,meson6", 20 "amlogic,meson6",
21 "amlogic,meson8",
21 NULL, 22 NULL,
22}; 23};
23 24
24DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform") 25DT_MACHINE_START(MESON, "Amlogic Meson platform")
25 .dt_compat = m6_common_board_compat, 26 .dt_compat = meson_common_board_compat,
27 .l2c_aux_val = 0,
28 .l2c_aux_mask = ~0,
26MACHINE_END 29MACHINE_END
27
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 90420600e1eb..f657a48d20eb 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -32,6 +32,7 @@ config ARMADA_370_XP_TIMER
32 32
33config MESON6_TIMER 33config MESON6_TIMER
34 bool 34 bool
35 select CLKSRC_MMIO
35 36
36config ORION_TIMER 37config ORION_TIMER
37 select CLKSRC_OF 38 select CLKSRC_OF