All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] ARM: at91: add new SoC sama7g5
@ 2021-04-09 11:31 ` Eugen Hristev
  0 siblings, 0 replies; 8+ messages in thread
From: Eugen Hristev @ 2021-04-09 11:31 UTC (permalink / raw)
  To: linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, nicolas.ferre, ludovic.desroches, Eugen Hristev,
	Claudiu Beznea

Add new SoC from at91 family : sama7g5

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea@microchip.com: Select PLL, generic clock and UTMI support]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Changes in v2:
- squash previous patch
 [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support
into this one

 arch/arm/mach-at91/Kconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index ccd7e80ce943..f52b46bccd85 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -57,6 +57,16 @@ config SOC_SAMA5D4
 	help
 	  Select this if you are using one of Microchip's SAMA5D4 family SoC.
 
+config SOC_SAMA7G5
+	bool "SAMA7G5 family"
+	depends on ARCH_MULTI_V7
+	select HAVE_AT91_GENERATED_CLK
+	select HAVE_AT91_SAM9X60_PLL
+	select HAVE_AT91_UTMI
+	select SOC_SAMA7
+	help
+	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
+
 config SOC_AT91RM9200
 	bool "AT91RM9200"
 	depends on ARCH_MULTI_V4T
@@ -191,4 +201,9 @@ config SOC_SAMA5
 config ATMEL_PM
 	bool
 
+config SOC_SAMA7
+	bool
+	select ARM_GIC
+	select MEMORY
+	select SOC_SAM_V7
 endif
-- 
2.25.1


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

* [PATCH v2 1/2] ARM: at91: add new SoC sama7g5
@ 2021-04-09 11:31 ` Eugen Hristev
  0 siblings, 0 replies; 8+ messages in thread
From: Eugen Hristev @ 2021-04-09 11:31 UTC (permalink / raw)
  To: linux-arm-kernel, alexandre.belloni
  Cc: Eugen Hristev, ludovic.desroches, Claudiu Beznea, linux-kernel

Add new SoC from at91 family : sama7g5

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea@microchip.com: Select PLL, generic clock and UTMI support]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Changes in v2:
- squash previous patch
 [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support
into this one

 arch/arm/mach-at91/Kconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index ccd7e80ce943..f52b46bccd85 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -57,6 +57,16 @@ config SOC_SAMA5D4
 	help
 	  Select this if you are using one of Microchip's SAMA5D4 family SoC.
 
+config SOC_SAMA7G5
+	bool "SAMA7G5 family"
+	depends on ARCH_MULTI_V7
+	select HAVE_AT91_GENERATED_CLK
+	select HAVE_AT91_SAM9X60_PLL
+	select HAVE_AT91_UTMI
+	select SOC_SAMA7
+	help
+	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
+
 config SOC_AT91RM9200
 	bool "AT91RM9200"
 	depends on ARCH_MULTI_V4T
@@ -191,4 +201,9 @@ config SOC_SAMA5
 config ATMEL_PM
 	bool
 
+config SOC_SAMA7
+	bool
+	select ARM_GIC
+	select MEMORY
+	select SOC_SAM_V7
 endif
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart
  2021-04-09 11:31 ` Eugen Hristev
@ 2021-04-09 11:31   ` Eugen Hristev
  -1 siblings, 0 replies; 8+ messages in thread
From: Eugen Hristev @ 2021-04-09 11:31 UTC (permalink / raw)
  To: linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, nicolas.ferre, ludovic.desroches, Eugen Hristev

Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
ROM bootloader uses.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/Kconfig.debug | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 9e0b5e7f12af..7598624ce6dd 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -191,6 +191,14 @@ choice
 		  their output to the USART1 port on SAMV7 based
 		  machines.
 
+	config DEBUG_AT91_SAMA7G5_FLEXCOM3
+		bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
+		select DEBUG_AT91_UART
+		depends on SOC_SAMA7G5
+		help
+		  Say Y here if you want kernel low-level debugging support
+		  on the FLEXCOM3 port of SAMA7G5.
+
 	config DEBUG_BCM2835
 		bool "Kernel low-level debugging on BCM2835 PL011 UART"
 		depends on ARCH_BCM2835 && ARCH_MULTI_V6
@@ -1657,6 +1665,7 @@ config DEBUG_UART_PHYS
 	default 0xd4017000 if DEBUG_MMP_UART2
 	default 0xd4018000 if DEBUG_MMP_UART3
 	default 0xe0000000 if DEBUG_SPEAR13XX
+	default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
 	default 0xe4007000 if DEBUG_HIP04_UART
 	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
 	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
@@ -1718,6 +1727,7 @@ config DEBUG_UART_VIRT
 	default 0xc8821000 if DEBUG_RV1108_UART1
 	default 0xc8912000 if DEBUG_RV1108_UART0
 	default 0xe0010fe0 if ARCH_RPC
+	default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
 	default 0xf0010000 if DEBUG_ASM9260_UART
 	default 0xf0100000 if DEBUG_DIGICOLOR_UA0
 	default 0xf01fb000 if DEBUG_NOMADIK_UART
-- 
2.25.1


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

* [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart
@ 2021-04-09 11:31   ` Eugen Hristev
  0 siblings, 0 replies; 8+ messages in thread
From: Eugen Hristev @ 2021-04-09 11:31 UTC (permalink / raw)
  To: linux-arm-kernel, alexandre.belloni
  Cc: Eugen Hristev, ludovic.desroches, linux-kernel

Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
ROM bootloader uses.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/Kconfig.debug | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 9e0b5e7f12af..7598624ce6dd 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -191,6 +191,14 @@ choice
 		  their output to the USART1 port on SAMV7 based
 		  machines.
 
+	config DEBUG_AT91_SAMA7G5_FLEXCOM3
+		bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
+		select DEBUG_AT91_UART
+		depends on SOC_SAMA7G5
+		help
+		  Say Y here if you want kernel low-level debugging support
+		  on the FLEXCOM3 port of SAMA7G5.
+
 	config DEBUG_BCM2835
 		bool "Kernel low-level debugging on BCM2835 PL011 UART"
 		depends on ARCH_BCM2835 && ARCH_MULTI_V6
@@ -1657,6 +1665,7 @@ config DEBUG_UART_PHYS
 	default 0xd4017000 if DEBUG_MMP_UART2
 	default 0xd4018000 if DEBUG_MMP_UART3
 	default 0xe0000000 if DEBUG_SPEAR13XX
+	default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
 	default 0xe4007000 if DEBUG_HIP04_UART
 	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
 	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
@@ -1718,6 +1727,7 @@ config DEBUG_UART_VIRT
 	default 0xc8821000 if DEBUG_RV1108_UART1
 	default 0xc8912000 if DEBUG_RV1108_UART0
 	default 0xe0010fe0 if ARCH_RPC
+	default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
 	default 0xf0010000 if DEBUG_ASM9260_UART
 	default 0xf0100000 if DEBUG_DIGICOLOR_UA0
 	default 0xf01fb000 if DEBUG_NOMADIK_UART
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2 1/2] ARM: at91: add new SoC sama7g5
  2021-04-09 11:31 ` Eugen Hristev
@ 2021-07-16 17:50   ` Nicolas Ferre
  -1 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2021-07-16 17:50 UTC (permalink / raw)
  To: Eugen Hristev, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, ludovic.desroches, Claudiu Beznea

On 09/04/2021 at 13:31, Eugen Hristev wrote:
> Add new SoC from at91 family : sama7g5
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> [claudiu.beznea@microchip.com: Select PLL, generic clock and UTMI support]
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
and queued in at91-soc branch.

> ---
> Changes in v2:
> - squash previous patch
>   [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support
> into this one
> 
>   arch/arm/mach-at91/Kconfig | 15 +++++++++++++++
>   1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index ccd7e80ce943..f52b46bccd85 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -57,6 +57,16 @@ config SOC_SAMA5D4
>   	help
>   	  Select this if you are using one of Microchip's SAMA5D4 family SoC.
>   
> +config SOC_SAMA7G5
> +	bool "SAMA7G5 family"
> +	depends on ARCH_MULTI_V7
> +	select HAVE_AT91_GENERATED_CLK
> +	select HAVE_AT91_SAM9X60_PLL
> +	select HAVE_AT91_UTMI
> +	select SOC_SAMA7
> +	help
> +	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
> +
>   config SOC_AT91RM9200
>   	bool "AT91RM9200"
>   	depends on ARCH_MULTI_V4T
> @@ -191,4 +201,9 @@ config SOC_SAMA5
>   config ATMEL_PM
>   	bool
>   
> +config SOC_SAMA7
> +	bool
> +	select ARM_GIC
> +	select MEMORY
> +	select SOC_SAM_V7
>   endif
> 


-- 
Nicolas Ferre

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

* Re: [PATCH v2 1/2] ARM: at91: add new SoC sama7g5
@ 2021-07-16 17:50   ` Nicolas Ferre
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2021-07-16 17:50 UTC (permalink / raw)
  To: Eugen Hristev, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, ludovic.desroches, Claudiu Beznea

On 09/04/2021 at 13:31, Eugen Hristev wrote:
> Add new SoC from at91 family : sama7g5
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> [claudiu.beznea@microchip.com: Select PLL, generic clock and UTMI support]
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
and queued in at91-soc branch.

> ---
> Changes in v2:
> - squash previous patch
>   [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support
> into this one
> 
>   arch/arm/mach-at91/Kconfig | 15 +++++++++++++++
>   1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index ccd7e80ce943..f52b46bccd85 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -57,6 +57,16 @@ config SOC_SAMA5D4
>   	help
>   	  Select this if you are using one of Microchip's SAMA5D4 family SoC.
>   
> +config SOC_SAMA7G5
> +	bool "SAMA7G5 family"
> +	depends on ARCH_MULTI_V7
> +	select HAVE_AT91_GENERATED_CLK
> +	select HAVE_AT91_SAM9X60_PLL
> +	select HAVE_AT91_UTMI
> +	select SOC_SAMA7
> +	help
> +	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
> +
>   config SOC_AT91RM9200
>   	bool "AT91RM9200"
>   	depends on ARCH_MULTI_V4T
> @@ -191,4 +201,9 @@ config SOC_SAMA5
>   config ATMEL_PM
>   	bool
>   
> +config SOC_SAMA7
> +	bool
> +	select ARM_GIC
> +	select MEMORY
> +	select SOC_SAM_V7
>   endif
> 


-- 
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart
  2021-04-09 11:31   ` Eugen Hristev
@ 2021-07-16 17:50     ` Nicolas Ferre
  -1 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2021-07-16 17:50 UTC (permalink / raw)
  To: Eugen Hristev, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, ludovic.desroches

On 09/04/2021 at 13:31, Eugen Hristev wrote:
> Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
> ROM bootloader uses.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
and queued in at91-soc branch for 5.15.

> ---
>   arch/arm/Kconfig.debug | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 9e0b5e7f12af..7598624ce6dd 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -191,6 +191,14 @@ choice
>   		  their output to the USART1 port on SAMV7 based
>   		  machines.
>   
> +	config DEBUG_AT91_SAMA7G5_FLEXCOM3
> +		bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
> +		select DEBUG_AT91_UART
> +		depends on SOC_SAMA7G5
> +		help
> +		  Say Y here if you want kernel low-level debugging support
> +		  on the FLEXCOM3 port of SAMA7G5.
> +
>   	config DEBUG_BCM2835
>   		bool "Kernel low-level debugging on BCM2835 PL011 UART"
>   		depends on ARCH_BCM2835 && ARCH_MULTI_V6
> @@ -1657,6 +1665,7 @@ config DEBUG_UART_PHYS
>   	default 0xd4017000 if DEBUG_MMP_UART2
>   	default 0xd4018000 if DEBUG_MMP_UART3
>   	default 0xe0000000 if DEBUG_SPEAR13XX
> +	default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
>   	default 0xe4007000 if DEBUG_HIP04_UART
>   	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
>   	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
> @@ -1718,6 +1727,7 @@ config DEBUG_UART_VIRT
>   	default 0xc8821000 if DEBUG_RV1108_UART1
>   	default 0xc8912000 if DEBUG_RV1108_UART0
>   	default 0xe0010fe0 if ARCH_RPC
> +	default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
>   	default 0xf0010000 if DEBUG_ASM9260_UART
>   	default 0xf0100000 if DEBUG_DIGICOLOR_UA0
>   	default 0xf01fb000 if DEBUG_NOMADIK_UART
> 


-- 
Nicolas Ferre

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

* Re: [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart
@ 2021-07-16 17:50     ` Nicolas Ferre
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2021-07-16 17:50 UTC (permalink / raw)
  To: Eugen Hristev, linux-arm-kernel, alexandre.belloni
  Cc: linux-kernel, ludovic.desroches

On 09/04/2021 at 13:31, Eugen Hristev wrote:
> Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
> ROM bootloader uses.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
and queued in at91-soc branch for 5.15.

> ---
>   arch/arm/Kconfig.debug | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 9e0b5e7f12af..7598624ce6dd 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -191,6 +191,14 @@ choice
>   		  their output to the USART1 port on SAMV7 based
>   		  machines.
>   
> +	config DEBUG_AT91_SAMA7G5_FLEXCOM3
> +		bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
> +		select DEBUG_AT91_UART
> +		depends on SOC_SAMA7G5
> +		help
> +		  Say Y here if you want kernel low-level debugging support
> +		  on the FLEXCOM3 port of SAMA7G5.
> +
>   	config DEBUG_BCM2835
>   		bool "Kernel low-level debugging on BCM2835 PL011 UART"
>   		depends on ARCH_BCM2835 && ARCH_MULTI_V6
> @@ -1657,6 +1665,7 @@ config DEBUG_UART_PHYS
>   	default 0xd4017000 if DEBUG_MMP_UART2
>   	default 0xd4018000 if DEBUG_MMP_UART3
>   	default 0xe0000000 if DEBUG_SPEAR13XX
> +	default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
>   	default 0xe4007000 if DEBUG_HIP04_UART
>   	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
>   	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
> @@ -1718,6 +1727,7 @@ config DEBUG_UART_VIRT
>   	default 0xc8821000 if DEBUG_RV1108_UART1
>   	default 0xc8912000 if DEBUG_RV1108_UART0
>   	default 0xe0010fe0 if ARCH_RPC
> +	default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
>   	default 0xf0010000 if DEBUG_ASM9260_UART
>   	default 0xf0100000 if DEBUG_DIGICOLOR_UA0
>   	default 0xf01fb000 if DEBUG_NOMADIK_UART
> 


-- 
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-07-16 17:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 11:31 [PATCH v2 1/2] ARM: at91: add new SoC sama7g5 Eugen Hristev
2021-04-09 11:31 ` Eugen Hristev
2021-04-09 11:31 ` [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart Eugen Hristev
2021-04-09 11:31   ` Eugen Hristev
2021-07-16 17:50   ` Nicolas Ferre
2021-07-16 17:50     ` Nicolas Ferre
2021-07-16 17:50 ` [PATCH v2 1/2] ARM: at91: add new SoC sama7g5 Nicolas Ferre
2021-07-16 17:50   ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.