From: b.galvani@gmail.com (Beniamino Galvani)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/7] ARM: meson: add meson8 support
Date: Sun, 5 Oct 2014 23:59:13 +0200 [thread overview]
Message-ID: <1412546359-15062-2-git-send-email-b.galvani@gmail.com> (raw)
In-Reply-To: <1412546359-15062-1-git-send-email-b.galvani@gmail.com>
Add a MACH_MESON8 symbol and add "amlogic,meson8" to the list of
compatible strings for the Meson DT machine to support devices based
on the Meson8 family of SoCs.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
---
arch/arm/mach-meson/Kconfig | 5 +++++
arch/arm/mach-meson/meson.c | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index 2c1154e..b289e8e 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -10,4 +10,9 @@ config MACH_MESON6
default ARCH_MESON
select MESON6_TIMER
+config MACH_MESON8
+ bool "Amlogic Meson8 SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+
endif
diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c
index 5ee064f..8f42d8f 100644
--- a/arch/arm/mach-meson/meson.c
+++ b/arch/arm/mach-meson/meson.c
@@ -16,12 +16,12 @@
#include <linux/of_platform.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,meson8",
NULL,
};
-DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform")
- .dt_compat = m6_common_board_compat,
+DT_MACHINE_START(MESON, "Amlogic Meson platform")
+ .dt_compat = meson_common_board_compat,
MACHINE_END
-
--
1.9.1
next prev parent reply other threads:[~2014-10-05 21:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 21:59 [PATCH v2 0/7] ARM: meson: add support for Meson8 Beniamino Galvani
2014-10-05 21:59 ` Beniamino Galvani [this message]
2014-10-05 21:59 ` [PATCH v2 2/7] ARM: dts: add dtsi for Amlogic Meson8 SoCs Beniamino Galvani
2014-10-05 21:59 ` [PATCH v2 3/7] ARM: dts: add dts for Tronsmart S89 Elite TV box Beniamino Galvani
2014-10-05 21:59 ` [PATCH v2 4/7] of: add vendor prefix for Tronsmart Beniamino Galvani
2014-10-06 15:07 ` Rob Herring
2014-10-05 21:59 ` [PATCH v2 5/7] ARM: document Tronsmart compatible properties Beniamino Galvani
2014-10-05 21:59 ` [PATCH v2 6/7] ARM: meson: document meson8 " Beniamino Galvani
2014-10-05 21:59 ` [PATCH v2 7/7] ARM: meson: enable L2 cache Beniamino Galvani
2014-10-06 16:01 ` [PATCH v2 0/7] ARM: meson: add support for Meson8 Carlo Caione
2014-10-08 19:30 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1412546359-15062-2-git-send-email-b.galvani@gmail.com \
--to=b.galvani@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).