linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X
@ 2024-11-08 11:22 Robert Marko
  2024-11-08 11:22 ` [PATCH 2/3] mfd: at91-usart: " Robert Marko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Robert Marko @ 2024-11-08 11:22 UTC (permalink / raw)
  To: mturquette, sboyd, lee, gregkh, jirislaby, linux-clk,
	linux-kernel, linux-serial, linux-arm-kernel
  Cc: luka.perkov, Robert Marko

LAN969x uses the same LAN966x clock driver so make it selectable for
ARCH_LAN969X.

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

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index ef709327cba1..713573b6c86c 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -270,7 +270,7 @@ config COMMON_CLK_LAN966X
 	tristate "Generic Clock Controller driver for LAN966X SoC"
 	depends on HAS_IOMEM
 	depends on OF
-	depends on SOC_LAN966 || COMPILE_TEST
+	depends on SOC_LAN966 || ARCH_LAN969X || COMPILE_TEST
 	help
 	  This driver provides support for Generic Clock Controller(GCK) on
 	  LAN966X SoC. GCK generates and supplies clock to various peripherals
-- 
2.47.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/3] mfd: at91-usart: make it selectable for ARCH_LAN969X
  2024-11-08 11:22 [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X Robert Marko
@ 2024-11-08 11:22 ` Robert Marko
  2024-11-08 13:20   ` Nicolas Ferre
  2024-11-08 11:22 ` [PATCH 3/3] tty: serial: atmel: " Robert Marko
  2024-11-14 20:36 ` [PATCH 1/3] clk: lan966x: " Stephen Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: Robert Marko @ 2024-11-08 11:22 UTC (permalink / raw)
  To: mturquette, sboyd, lee, gregkh, jirislaby, linux-clk,
	linux-kernel, linux-serial, linux-arm-kernel
  Cc: luka.perkov, Robert Marko

LAN969x uses the AT91 USART IP so make it selectable for ARCH_LAN969X.

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 ae23b317a64e..f280ba28d618 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 || COMPILE_TEST
+	depends on ARCH_AT91 || ARCH_LAN969X ||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.47.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/3] tty: serial: atmel: make it selectable for ARCH_LAN969X
  2024-11-08 11:22 [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X Robert Marko
  2024-11-08 11:22 ` [PATCH 2/3] mfd: at91-usart: " Robert Marko
@ 2024-11-08 11:22 ` Robert Marko
  2024-11-08 13:25   ` Nicolas Ferre
  2024-11-14 20:36 ` [PATCH 1/3] clk: lan966x: " Stephen Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: Robert Marko @ 2024-11-08 11:22 UTC (permalink / raw)
  To: mturquette, sboyd, lee, gregkh, jirislaby, linux-clk,
	linux-kernel, linux-serial, linux-arm-kernel
  Cc: luka.perkov, Robert Marko

LAN969x uses the Atmel serial, so make it selectable for ARCH_LAN969X.

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 45f0f779fbf9..e6cf20b845f1 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 || COMPILE_TEST
+	depends on ARCH_AT91 || ARCH_LAN969X ||COMPILE_TEST
 	select SERIAL_CORE
 	select SERIAL_MCTRL_GPIO if GPIOLIB
 	select MFD_AT91_USART
-- 
2.47.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/3] mfd: at91-usart: make it selectable for ARCH_LAN969X
  2024-11-08 11:22 ` [PATCH 2/3] mfd: at91-usart: " Robert Marko
@ 2024-11-08 13:20   ` Nicolas Ferre
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2024-11-08 13:20 UTC (permalink / raw)
  To: Robert Marko, mturquette, sboyd, lee, gregkh, jirislaby,
	linux-clk, linux-kernel, linux-serial, linux-arm-kernel
  Cc: luka.perkov

On 08/11/2024 at 12:22, Robert Marko wrote:
> LAN969x uses the AT91 USART IP so make it selectable for ARCH_LAN969X.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>   drivers/mfd/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index ae23b317a64e..f280ba28d618 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 || COMPILE_TEST
> +       depends on ARCH_AT91 || ARCH_LAN969X ||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.47.0
> 
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] tty: serial: atmel: make it selectable for ARCH_LAN969X
  2024-11-08 11:22 ` [PATCH 3/3] tty: serial: atmel: " Robert Marko
@ 2024-11-08 13:25   ` Nicolas Ferre
  2024-11-08 13:40     ` Robert Marko
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Ferre @ 2024-11-08 13:25 UTC (permalink / raw)
  To: Robert Marko, mturquette, sboyd, lee, gregkh, jirislaby,
	linux-clk, linux-kernel, linux-serial, linux-arm-kernel
  Cc: luka.perkov

On 08/11/2024 at 12:22, Robert Marko wrote:

A little commit message would be better.

> 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 45f0f779fbf9..e6cf20b845f1 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 || COMPILE_TEST
> +       depends on ARCH_AT91 || ARCH_LAN969X ||COMPILE_TEST

Checkpatch.pl reports some "DOS line endings", you might need to fix this.

>          select SERIAL_CORE
>          select SERIAL_MCTRL_GPIO if GPIOLIB
>          select MFD_AT91_USART
> --
> 2.47.0


Once fixed, you can add my:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Thanks, best regards,
   Nicolas


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] tty: serial: atmel: make it selectable for ARCH_LAN969X
  2024-11-08 13:25   ` Nicolas Ferre
@ 2024-11-08 13:40     ` Robert Marko
  2024-11-08 13:52       ` Nicolas Ferre
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Marko @ 2024-11-08 13:40 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: mturquette, sboyd, lee, gregkh, jirislaby, linux-clk,
	linux-kernel, linux-serial, linux-arm-kernel, luka.perkov

On Fri, Nov 8, 2024 at 2:25 PM Nicolas Ferre
<nicolas.ferre@microchip.com> wrote:
>
> On 08/11/2024 at 12:22, Robert Marko wrote:
>
> A little commit message would be better.

Hi Nicolas, I basically reused the same commit description as for MFD
and else as all of the changes are
basically the same.


>
> > 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 45f0f779fbf9..e6cf20b845f1 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 || COMPILE_TEST
> > +       depends on ARCH_AT91 || ARCH_LAN969X ||COMPILE_TEST
>
> Checkpatch.pl reports some "DOS line endings", you might need to fix this.

Hm, I ran checkpatch before sending in verbose mode and I dont see
such a warning,
my Sublime text is also set to Unix endings, I also just checked with
cat -e and I dont see
any DOS endings.

Regards,
Robert
>
> >          select SERIAL_CORE
> >          select SERIAL_MCTRL_GPIO if GPIOLIB
> >          select MFD_AT91_USART
> > --
> > 2.47.0
>
>
> Once fixed, you can add my:
> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
>
> Thanks, best regards,
>    Nicolas



-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura d.d.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@sartura.hr
Web: www.sartura.hr


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] tty: serial: atmel: make it selectable for ARCH_LAN969X
  2024-11-08 13:40     ` Robert Marko
@ 2024-11-08 13:52       ` Nicolas Ferre
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2024-11-08 13:52 UTC (permalink / raw)
  To: Robert Marko
  Cc: mturquette, sboyd, lee, gregkh, jirislaby, linux-clk,
	linux-kernel, linux-serial, linux-arm-kernel, luka.perkov

On 08/11/2024 at 14:40, Robert Marko wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Fri, Nov 8, 2024 at 2:25 PM Nicolas Ferre
> <nicolas.ferre@microchip.com> wrote:
>>
>> On 08/11/2024 at 12:22, Robert Marko wrote:
>>
>> A little commit message would be better.
> 
> Hi Nicolas, I basically reused the same commit description as for MFD
> and else as all of the changes are
> basically the same.

Ok, I have certainly deleted it while replying. That's fine then.

>>> 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 45f0f779fbf9..e6cf20b845f1 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 || COMPILE_TEST
>>> +       depends on ARCH_AT91 || ARCH_LAN969X ||COMPILE_TEST
>>
>> Checkpatch.pl reports some "DOS line endings", you might need to fix this.
> 
> Hm, I ran checkpatch before sending in verbose mode and I dont see
> such a warning,
> my Sublime text is also set to Unix endings, I also just checked with
> cat -e and I dont see
> any DOS endings.

Ok, indeed. Probably my email client then. Sorry for the noise.

Regards,
   Nicolas

>>
>>>           select SERIAL_CORE
>>>           select SERIAL_MCTRL_GPIO if GPIOLIB
>>>           select MFD_AT91_USART
>>> --
>>> 2.47.0
>>
>>
>> Once fixed, you can add my:
>> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
>>
>> Thanks, best regards,
>>     Nicolas
> 
> 
> 
> --
> Robert Marko
> Staff Embedded Linux Engineer
> Sartura d.d.
> Lendavska ulica 16a
> 10000 Zagreb, Croatia
> Email: robert.marko@sartura.hr
> Web: www.sartura.hr



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X
  2024-11-08 11:22 [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X Robert Marko
  2024-11-08 11:22 ` [PATCH 2/3] mfd: at91-usart: " Robert Marko
  2024-11-08 11:22 ` [PATCH 3/3] tty: serial: atmel: " Robert Marko
@ 2024-11-14 20:36 ` Stephen Boyd
  2 siblings, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2024-11-14 20:36 UTC (permalink / raw)
  To: Robert Marko, gregkh, jirislaby, lee, linux-arm-kernel, linux-clk,
	linux-kernel, linux-serial, mturquette
  Cc: luka.perkov, Robert Marko

Quoting Robert Marko (2024-11-08 03:22:34)
> LAN969x uses the same LAN966x clock driver so make it selectable for
> ARCH_LAN969X.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> ---

Applied to clk-next


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-11-14 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 11:22 [PATCH 1/3] clk: lan966x: make it selectable for ARCH_LAN969X Robert Marko
2024-11-08 11:22 ` [PATCH 2/3] mfd: at91-usart: " Robert Marko
2024-11-08 13:20   ` Nicolas Ferre
2024-11-08 11:22 ` [PATCH 3/3] tty: serial: atmel: " Robert Marko
2024-11-08 13:25   ` Nicolas Ferre
2024-11-08 13:40     ` Robert Marko
2024-11-08 13:52       ` Nicolas Ferre
2024-11-14 20:36 ` [PATCH 1/3] clk: lan966x: " Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).