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
--
2.50.1
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 [李琼斯]
On 02/09/2025 at 12:02, Lee Jones wrote: > 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. Hi Lee, I have tags from other maintainers, how about you give us your and we make this patch travel through arm-soc like the other ones? Regards, Nicolas
On Thu, 04 Sep 2025, Nicolas Ferre wrote: > On 02/09/2025 at 12:02, Lee Jones wrote: > > 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. > > Hi Lee, > > I have tags from other maintainers, how about you give us your and we make My? AB? > this patch travel through arm-soc like the other ones? Sure. Acked-by: Lee Jones <lee@kernel.org> -- Lee Jones [李琼斯]
On 08/09/2025 at 16:16, Lee Jones wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On Thu, 04 Sep 2025, Nicolas Ferre wrote: > >> On 02/09/2025 at 12:02, Lee Jones wrote: >>> 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. >> >> Hi Lee, >> >> I have tags from other maintainers, how about you give us your and we make > > My? AB? Yep ;-) >> this patch travel through arm-soc like the other ones? > > Sure. > > Acked-by: Lee Jones <lee@kernel.org> Thanks Lee. Queued for at91 PR to arm-soc. Regards, Nicolas
© 2016 - 2025 Red Hat, Inc.