Re: [PATCH v9 4/9] mfd: at91-usart: Make it selectable for ARCH_MICROCHIP

Lee Jones
2025-09-02T10:03:01Z

On Wed, 13 Aug 2025, Robert Marko wrote:

> LAN969x uses the Atmel USART, 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/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 425c5fba6cb1..8f11b2df1470 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -138,7 +138,7 @@ config MFD_AAT2870_CORE
> config MFD_AT91_USART
> tristate "AT91 USART Driver"
> select MFD_CORE
> - depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST
> + depends on ARCH_MICROCHIP || COMPILE_TEST
> help
> Select this to get support for AT91 USART IP. This is a wrapper
> over at91-usart-serial driver and usart-spi-driver. Only one function

Let me know when the deps are in Mainline.

--
Lee Jones [李琼斯]