Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2f456e7 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
parents 2db0aea5 7b6b0a45
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -2,7 +2,9 @@ Amlogic MesonX device tree bindings
-------------------------------------------
-------------------------------------------


Boards with the Amlogic Meson6 SoC shall have the following properties:
Boards with the Amlogic Meson6 SoC shall have the following properties:

  Required root node property:
  Required root node property:
    compatible: "amlogic,meson6"


compatible = "amlogic,meson6";
Boards with the Amlogic Meson8 SoC shall have the following properties:
  Required root node property:
    compatible: "amlogic,meson8";
+6 −0
Original line number Original line Diff line number Diff line
@@ -2,6 +2,7 @@ menuconfig ARCH_MESON
	bool "Amlogic Meson SoCs" if ARCH_MULTI_V7
	bool "Amlogic Meson SoCs" if ARCH_MULTI_V7
	select GENERIC_IRQ_CHIP
	select GENERIC_IRQ_CHIP
	select ARM_GIC
	select ARM_GIC
	select CACHE_L2X0


if ARCH_MESON
if ARCH_MESON


@@ -10,4 +11,9 @@ config MACH_MESON6
	default ARCH_MESON
	default ARCH_MESON
	select MESON6_TIMER
	select MESON6_TIMER


config MACH_MESON8
	bool "Amlogic Meson8 SoCs support"
	default ARCH_MESON
	select MESON6_TIMER

endif
endif
+6 −4
Original line number Original line Diff line number Diff line
@@ -16,12 +16,14 @@
#include <linux/of_platform.h>
#include <linux/of_platform.h>
#include <asm/mach/arch.h>
#include <asm/mach/arch.h>


static const char * const m6_common_board_compat[] = {
static const char * const meson_common_board_compat[] = {
	"amlogic,meson6",
	"amlogic,meson6",
	"amlogic,meson8",
	NULL,
	NULL,
};
};


DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform")
DT_MACHINE_START(MESON, "Amlogic Meson platform")
	.dt_compat	= m6_common_board_compat,
	.dt_compat	= meson_common_board_compat,
	.l2c_aux_val	= 0,
	.l2c_aux_mask	= ~0,
MACHINE_END
MACHINE_END
+1 −0
Original line number Original line Diff line number Diff line
@@ -32,6 +32,7 @@ config ARMADA_370_XP_TIMER


config MESON6_TIMER
config MESON6_TIMER
	bool
	bool
	select CLKSRC_MMIO


config ORION_TIMER
config ORION_TIMER
	select CLKSRC_OF
	select CLKSRC_OF