Message ID | 20250613114148.1943267-1-robert.marko@sartura.hr |
---|---|
Headers | show |
Series | arm64: lan969x: Add support for Microchip LAN969x SoC | expand |
On Fri, Jun 13, 2025 at 01:39:37PM +0200, Robert Marko wrote: > LAN969x uses the Atmel SPI, so make it selectable for ARCH_LAN969X. > > Signed-off-by: Robert Marko <robert.marko@sartura.hr> Acked-by: Mark Brown <broonie@kernel.org>
On Fri, Jun 13, 2025 at 01:39:36PM +0200, Robert Marko wrote: > This adds support for the Microchip LAN969x ARMv8-based SoC switch family. > > Signed-off-by: Robert Marko <robert.marko@sartura.hr> > Acked-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
> This adds support for the Microchip LAN969x ARMv8-based SoC switch family. > > Signed-off-by: Robert Marko <robert.marko@sartura.hr> > Acked-by: Daniel Machon <daniel.machon@microchip.com> > --- > arch/arm64/Kconfig.platforms | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index a541bb029aa4..834910f11864 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -133,6 +133,20 @@ config ARCH_SPARX5 > security through TCAM-based frame processing using versatile > content aware processor (VCAP). > > +config ARCH_LAN969X > + bool "Microchip LAN969X SoC family" > + select PINCTRL > + select DW_APB_TIMER_OF The lan969x SoC uses the clk-lan966x driver. Would it not make sense to select it here? + select COMMON_CLK_LAN966X > + help > + This enables support for the Microchip LAN969X ARMv8-based > + SoC family of TSN-capable gigabit switches. > + > + The LAN969X Ethernet switch family provides a rich set of > + switching features such as advanced TCAM-based VLAN and QoS > + processing enabling delivery of differentiated services, and > + security through TCAM-based frame processing using versatile > + content aware processor (VCAP). > + > config ARCH_K3 > bool "Texas Instruments Inc. K3 multicore SoC architecture" > select PM_GENERIC_DOMAINS if PM > -- > 2.49.0 > /Daniel
On Fri, Jun 13, 2025, at 13:39, Robert Marko wrote: > This patch series adds basic support for Microchip LAN969x SoC. > > It introduces the SoC ARCH symbol itself and allows basic peripheral > drivers that are currently marked only for AT91 to be also selected for > LAN969x. > > DTS and further driver will be added in follow-up series. > > Robert Marko (6): > arm64: lan969x: Add support for Microchip LAN969x SoC > spi: atmel: make it selectable for ARCH_LAN969X > i2c: at91: make it selectable for ARCH_LAN969X > dma: xdmac: make it selectable for ARCH_LAN969X > char: hw_random: atmel: make it selectable for ARCH_LAN969X > crypto: atmel-aes: make it selectable for ARCH_LAN969X If the drivers on ARCH_LAN969X are largely shared with those on ARCH_AT91, should they perhaps depend on a common symbol? That could be either the existing ARCH_AT91 as we do with LAN966, or perhaps ARCH_MICROCHIP, which is already used for riscv/polarfire. Arnd