summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-meson/Kconfig
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:05:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:05:51 +0000
commit5d1646d90e1f2cceb9f0828f4b28318cd0ec7744 (patch)
treea94efe259b9009378be6d90eb30d2b019d95c194 /arch/arm/mach-meson/Kconfig
parentInitial commit. (diff)
downloadlinux-5d1646d90e1f2cceb9f0828f4b28318cd0ec7744.tar.xz
linux-5d1646d90e1f2cceb9f0828f4b28318cd0ec7744.zip
Adding upstream version 5.10.209.upstream/5.10.209upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'arch/arm/mach-meson/Kconfig')
-rw-r--r--arch/arm/mach-meson/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
new file mode 100644
index 000000000..75034fe19
--- /dev/null
+++ b/arch/arm/mach-meson/Kconfig
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: GPL-2.0-only
+menuconfig ARCH_MESON
+ bool "Amlogic Meson SoCs"
+ depends on ARCH_MULTI_V7
+ select GPIOLIB
+ select GENERIC_IRQ_CHIP
+ select ARM_GIC
+ select ARM_GLOBAL_TIMER
+ select CACHE_L2X0
+ select PINCTRL
+ select PINCTRL_MESON
+ select HAVE_ARM_SCU if SMP
+ select HAVE_ARM_TWD if SMP
+
+if ARCH_MESON
+
+config MACH_MESON6
+ bool "Amlogic Meson6 (8726MX) SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+
+config MACH_MESON8
+ bool "Amlogic Meson8, Meson8b and Meson8m2 SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+ select COMMON_CLK_MESON8B
+ select MESON_IRQ_GPIO
+
+endif