mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v1 02/10] serial: atmel: add lan9696 (Microchip LAN969X) support
Date: Fri, 12 Jun 2026 14:49:22 +0200	[thread overview]
Message-ID: <v35rnbiknyzjbppjppthjpce4z76dvof3yw5bh3ipvtoncytrv@zyaikieoeb62> (raw)
In-Reply-To: <20260612055930.635833-2-o.rempel@pengutronix.de>

On 26-06-12, Oleksij Rempel wrote:
> Allow building the Atmel USART driver on Microchip LAN969X (ARCH_MICROCHIP)
> in addition to ARCH_AT91, and match the new "microchip,lan9691-usart"
> compatible alongside the existing AT91 variants.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  drivers/serial/Kconfig | 10 +++++++---
>  drivers/serial/atmel.c |  3 ++-
>  2 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
> index 6ac1d94526c2..15cbdafcffcc 100644
> --- a/drivers/serial/Kconfig
> +++ b/drivers/serial/Kconfig
> @@ -90,9 +90,13 @@ config DRIVER_SERIAL_NS16550_OMAP_TTYS
>  	  used.
>  
>  config DRIVER_SERIAL_ATMEL
> -	depends on ARCH_AT91
> -	default y
> -	bool "Atmel serial driver"
> +	bool "Atmel USART support"
> +	depends on ARCH_AT91 || ARCH_MICROCHIP
> +	default y if ARCH_AT91

Just keep 'default y'?

Regards,
  Marco


> +	help
> +	  This enables the driver for the on-chip UARTs of Atmel/Microchip
> +	  AT91, SAMA5, and LAN969X SoC families. The driver supports device
> +	  tree configuration and clock framework integration.
>  
>  config DRIVER_SERIAL_NS16550_PCI
>  	depends on DRIVER_SERIAL_NS16550
> diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c
> index 2dcb458fbd30..13747ef8201b 100644
> --- a/drivers/serial/atmel.c
> +++ b/drivers/serial/atmel.c
> @@ -442,8 +442,9 @@ static int atmel_serial_probe(struct device *dev)
>  }
>  
>  static const struct of_device_id __maybe_unused atmel_serial_dt_ids[] = {
> -	{ .compatible = "atmel,at91rm9200-usart" },
> +	{ .compatible = "microchip,lan9691-usart" },
>  	{ .compatible = "atmel,at91sam9260-usart" },
> +	{ .compatible = "atmel,at91rm9200-usart" },
>  	{ /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, atmel_serial_dt_ids);
> -- 
> 2.47.3
> 
> 
> 

-- 
#gernperDu 
#CallMeByMyFirstName

Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



  reply	other threads:[~2026-06-12 12:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-12  5:59 [PATCH v1 01/10] ARM: introduce ARCH_MICROCHIP for ARM64 Microchip SoCs Oleksij Rempel
2026-06-12  5:59 ` [PATCH v1 02/10] serial: atmel: add lan9696 (Microchip LAN969X) support Oleksij Rempel
2026-06-12 12:49   ` Marco Felsch [this message]
2026-06-12  5:59 ` [PATCH v1 03/10] clk: add Microchip LAN966X / LAN969X generic clock controller driver Oleksij Rempel
2026-06-12 12:58   ` Marco Felsch
2026-06-15  7:02     ` Sascha Hauer
2026-06-15  7:46   ` Sascha Hauer
2026-06-12  5:59 ` [PATCH v1 04/10] clk: tolerate clocks registered without a name Oleksij Rempel
2026-06-12  5:59 ` [PATCH v1 05/10] pinctrl: ocelot: port Microsemi/Microchip Ocelot pinctrl from Linux Oleksij Rempel
2026-06-12  5:59 ` [PATCH v1 06/10] mci: atmel-sdhci: add Microchip LAN9691 / LAN969X SDHCI support Oleksij Rempel
2026-06-15  6:17   ` Marco Felsch
2026-06-15  7:25   ` Sascha Hauer
2026-06-12  5:59 ` [PATCH v1 07/10] gpio: add Microchip SGPIO (serial GPIO) driver Oleksij Rempel
2026-06-15  7:32   ` Sascha Hauer
2026-06-12  5:59 ` [PATCH v1 08/10] reset: add Microchip sparx5 / LAN969X / LAN966X switch reset driver Oleksij Rempel
2026-06-12  5:59 ` [PATCH v1 09/10] spi: atmel-quadspi: add Microchip LAN966X / LAN969X support Oleksij Rempel
2026-06-12  5:59 ` [PATCH v1 10/10] ARM: add Microchip LAN9696 (LAN969X) SoC and EV23X71A 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=v35rnbiknyzjbppjppthjpce4z76dvof3yw5bh3ipvtoncytrv@zyaikieoeb62 \
    --to=m.felsch@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=o.rempel@pengutronix.de \
    /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