From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org,
mark.rutland@arm.com
Cc: balbes-150@yandex.ru,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: [PATCH 3/6] ARM: meson: add support for the Meson8m2 SoCs
Date: Sun, 6 May 2018 11:21:16 +0200 [thread overview]
Message-ID: <20180506092119.467-4-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20180506092119.467-1-martin.blumenstingl@googlemail.com>
Add a new Kconfig entry as well as the newly introduced compatible
string for the Meson8m2 SoC.
The Kconfig entry selects the same drivers as Meson8b because Meson8m2
SoC is mostly compatible with Meson8 (both share the same pinctrl
driver, so they also share the same GPIO IRQ settings. also the same
Meson6 timer is used on Meson8m2).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
arch/arm/mach-meson/Kconfig | 7 +++++++
arch/arm/mach-meson/meson.c | 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index d90f61e6254f..44a489889bc1 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -32,4 +32,11 @@ config MACH_MESON8B
select COMMON_CLK_MESON8B
select MESON_IRQ_GPIO
+config MACH_MESON8M2
+ bool "Amlogic Meson8m2 SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+ select COMMON_CLK_MESON8B
+ select MESON_IRQ_GPIO
+
endif
diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c
index 4e2357178625..c8d99df32f9b 100644
--- a/arch/arm/mach-meson/meson.c
+++ b/arch/arm/mach-meson/meson.c
@@ -20,6 +20,7 @@ static const char * const meson_common_board_compat[] = {
"amlogic,meson6",
"amlogic,meson8",
"amlogic,meson8b",
+ "amlogic,meson8m2",
NULL,
};
--
2.17.0
next prev parent reply other threads:[~2018-05-06 9:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-06 9:21 [PATCH 0/6] Meson8m2 (32-bit ARM) SoC support Martin Blumenstingl
2018-05-06 9:21 ` [PATCH 1/6] dt-bindings: arm: amlogic: add support for the Meson8m2 SoC Martin Blumenstingl
2018-05-08 16:25 ` Rob Herring
2018-05-09 22:30 ` Kevin Hilman
2018-05-06 9:21 ` [PATCH 2/6] dt-bindings: arm: amlogic: add support for the Tronsmart MXIII Plus Martin Blumenstingl
2018-05-08 16:51 ` Rob Herring
2018-05-09 22:31 ` Kevin Hilman
2018-05-06 9:21 ` Martin Blumenstingl [this message]
2018-05-09 22:32 ` [PATCH 3/6] ARM: meson: add support for the Meson8m2 SoCs Kevin Hilman
2018-05-09 23:02 ` Martin Blumenstingl
2018-05-06 9:21 ` [PATCH 4/6] ARM: dts: meson: add support for the Meson8m2 SoC Martin Blumenstingl
2018-05-06 9:21 ` [PATCH 5/6] ARM: dts: meson8: add the uart_A pins Martin Blumenstingl
2018-05-06 9:21 ` [PATCH 6/6] ARM: dts: meson8m2: add support for the Tronsmart MXIII Plus Martin Blumenstingl
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=20180506092119.467-4-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=balbes-150@yandex.ru \
--cc=carlo@caione.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.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