[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250702183856.1727275-3-robert.marko@sartura.hr>
Date: Wed, 2 Jul 2025 20:36:00 +0200
From: Robert Marko <robert.marko@...tura.hr>
To: linux@...linux.org.uk,
nicolas.ferre@...rochip.com,
alexandre.belloni@...tlin.com,
claudiu.beznea@...on.dev,
catalin.marinas@....com,
will@...nel.org,
olivia@...enic.com,
herbert@...dor.apana.org.au,
davem@...emloft.net,
vkoul@...nel.org,
andi.shyti@...nel.org,
lee@...nel.org,
broonie@...nel.org,
gregkh@...uxfoundation.org,
jirislaby@...nel.org,
arnd@...nel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org,
dmaengine@...r.kernel.org,
linux-i2c@...r.kernel.org,
linux-spi@...r.kernel.org,
linux-serial@...r.kernel.org,
o.rempel@...gutronix.de,
daniel.machon@...rochip.com
Cc: luka.perkov@...tura.hr,
Robert Marko <robert.marko@...tura.hr>
Subject: [PATCH v8 02/10] ARM: at91: select ARCH_MICROCHIP
Like with the ARM64 Microchip platforms, lets add a generic ARCH_MICROCHIP
symbol and select it so that drivers that are reused for multiple product
generation or lines, can just depend on it instead of adding each SoC
symbol as their dependencies.
Signed-off-by: Robert Marko <robert.marko@...tura.hr>
---
arch/arm/mach-at91/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 04bd91c72521..c5ef27e3cd8f 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
+config ARCH_MICROCHIP
+ bool
+
menuconfig ARCH_AT91
bool "AT91/Microchip SoCs"
depends on (CPU_LITTLE_ENDIAN && (ARCH_MULTI_V4T || ARCH_MULTI_V5)) || \
@@ -8,6 +11,7 @@ menuconfig ARCH_AT91
select GPIOLIB
select PINCTRL
select SOC_BUS
+ select ARCH_MICROCHIP
if ARCH_AT91
config SOC_SAMV7
--
2.50.0
Powered by blists - more mailing lists