summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-meson/Kconfig
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:49:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:49:45 +0000
commit2c3c1048746a4622d8c89a29670120dc8fab93c4 (patch)
tree848558de17fb3008cdf4d861b01ac7781903ce39 /arch/arm/mach-meson/Kconfig
parentInitial commit. (diff)
downloadlinux-2c3c1048746a4622d8c89a29670120dc8fab93c4.tar.xz
linux-2c3c1048746a4622d8c89a29670120dc8fab93c4.zip
Adding upstream version 6.1.76.upstream/6.1.76
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