mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: robert.marko@sartura.hr, Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH v2 1/9] ARM: introduce ARCH_MICROCHIP for ARM64 Microchip SoCs
Date: Thu, 13 Aug 2026 10:14:31 +0200	[thread overview]
Message-ID: <20260813081444.1879009-2-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20260813081444.1879009-1-o.rempel@pengutronix.de>

Add the ARCH_MICROCHIP top-level symbol so subsequent peripheral
driver patches (atmel serial, atmel-quadspi, ...) can gain
ARCH_MICROCHIP as a build dependency.

This SoC architecture covers Microchip's ARM64 switch SoCs, starting
with the LAN969X family. ARM32 Microchip/Atmel SoCs (AT91, SAMA5)
continue to use ARCH_AT91.

Assisted-by: Claude-Code:claude-opus-5
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
Link to v1: https://lore.barebox.org/barebox/20260612055930.635833-1-o.rempel@pengutronix.de/

Changes v2:
- also select COMMON_CLK: the SoC clock controller driver added later
  in this series depends on it
---
 arch/arm/Kconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index fe4fd3f47178..aed6084bef07 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -272,6 +272,21 @@ config ARCH_ZYNQMP
 	select GPIOLIB
 	select HAS_MACB
 
+config ARCH_MICROCHIP
+	bool "Microchip ARM64 SoC support"
+	depends on ARCH_MULTIARCH
+	depends on 64BIT
+	select OFDEVICE
+	select COMMON_CLK
+	select COMMON_CLK_OF_PROVIDER
+	select PINCTRL
+	select GPIOLIB
+	help
+	  This enables support for Microchip ARM64-based SoCs,
+	  including the LAN969X Ethernet switch family.
+
+	  For ARM32 Microchip/Atmel SoCs (AT91, SAMA5), use ARCH_AT91.
+
 source "arch/arm/cpu/Kconfig"
 source "arch/arm/mach-at91/Kconfig"
 source "arch/arm/mach-bcm283x/Kconfig"
-- 
2.47.3




  reply	other threads:[~2026-08-13  8:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13  8:14 [PATCH v2 0/9] ARM: add Microchip LAN9696 (LAN969X) SoC and EV23X71A board Oleksij Rempel
2026-08-13  8:14 ` Oleksij Rempel [this message]
2026-08-13  8:14 ` [PATCH v2 2/9] serial: atmel: add lan9696 (Microchip LAN969X) support Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 3/9] clk: add Microchip LAN966X / LAN969X generic clock controller driver Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 4/9] clk: tolerate clocks registered without a name Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 5/9] pinctrl: ocelot: port Microsemi/Microchip Ocelot pinctrl from Linux Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 6/9] gpio: add Microchip SGPIO (serial GPIO) driver Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 7/9] reset: add Microchip sparx5 / LAN969X / LAN966X switch reset driver Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 8/9] spi: atmel-quadspi: add Microchip LAN966X / LAN969X support Oleksij Rempel
2026-08-13  8:14 ` [PATCH v2 9/9] ARM: add Novarq Tactical 1000 board Oleksij Rempel

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=20260813081444.1879009-2-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=robert.marko@sartura.hr \
    /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