[PATCH v9 5/9] tty: serial: atmel: make it selectable for ARCH_MICROCHIP

Robert Marko posted 9 patches 1 month, 3 weeks ago
[PATCH v9 5/9] tty: serial: atmel: make it selectable for ARCH_MICROCHIP
Posted by Robert Marko 1 month, 3 weeks ago
LAN969x uses the Atmel USART serial, so make it selectable for
ARCH_MICROCHIP to avoid needing to update depends in future if other
Microchip SoC-s use it as well.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 44427415a80d..724ad4f3cbee 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -128,7 +128,7 @@ config SERIAL_SB1250_DUART_CONSOLE
 config SERIAL_ATMEL
 	bool "AT91 on-chip serial port support"
 	depends on COMMON_CLK
-	depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST
+	depends on ARCH_MICROCHIP || COMPILE_TEST
 	select SERIAL_CORE
 	select SERIAL_MCTRL_GPIO if GPIOLIB
 	select MFD_AT91_USART
-- 
2.50.1
Re: [PATCH v9 5/9] tty: serial: atmel: make it selectable for ARCH_MICROCHIP
Posted by Greg KH 1 month, 3 weeks ago
On Wed, Aug 13, 2025 at 07:44:41PM +0200, Robert Marko wrote:
> LAN969x uses the Atmel USART serial, so make it selectable for
> ARCH_MICROCHIP to avoid needing to update depends in future if other
> Microchip SoC-s use it as well.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> ---
>  drivers/tty/serial/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 44427415a80d..724ad4f3cbee 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -128,7 +128,7 @@ config SERIAL_SB1250_DUART_CONSOLE
>  config SERIAL_ATMEL
>  	bool "AT91 on-chip serial port support"
>  	depends on COMMON_CLK
> -	depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST
> +	depends on ARCH_MICROCHIP || COMPILE_TEST
>  	select SERIAL_CORE
>  	select SERIAL_MCTRL_GPIO if GPIOLIB
>  	select MFD_AT91_USART
> -- 
> 2.50.1
> 

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>