diff mbox series

[3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

Message ID 20210407170053.298056-3-eugen.hristev@microchip.com (mailing list archive)
State New, archived
Headers show
Series [1/3] ARM: at91: add new SoC sama7g5 | expand

Commit Message

Eugen Hristev April 7, 2021, 5 p.m. UTC
From: Claudiu Beznea <claudiu.beznea@microchip.com>

Select PLL, generic clock and UTMI support for SAMA7G5.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/mach-at91/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Alexandre Belloni April 7, 2021, 5:13 p.m. UTC | #1
Hi,

On 07/04/2021 20:00:53+0300, Eugen Hristev wrote:
> From: Claudiu Beznea <claudiu.beznea@microchip.com>
> 
> Select PLL, generic clock and UTMI support for SAMA7G5.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  arch/arm/mach-at91/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index 5eb2a9206f42..f52b46bccd85 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -60,6 +60,9 @@ config SOC_SAMA5D4
>  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

Shouldn't that be squashed in 1/3?

>  	select SOC_SAMA7
>  	help
>  	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
> -- 
> 2.25.1
>
Eugen Hristev April 8, 2021, 10:24 a.m. UTC | #2
On 4/7/21 8:13 PM, Alexandre Belloni wrote:
> Hi,
> 
> On 07/04/2021 20:00:53+0300, Eugen Hristev wrote:
>> From: Claudiu Beznea <claudiu.beznea@microchip.com>
>>
>> Select PLL, generic clock and UTMI support for SAMA7G5.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
>> ---
>>   arch/arm/mach-at91/Kconfig | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
>> index 5eb2a9206f42..f52b46bccd85 100644
>> --- a/arch/arm/mach-at91/Kconfig
>> +++ b/arch/arm/mach-at91/Kconfig
>> @@ -60,6 +60,9 @@ config SOC_SAMA5D4
>>   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
> 
> Shouldn't that be squashed in 1/3?

I kept the original contributions of each author. I can squash it into a 
single patch if it's cleaner.

Eugen
> 
>>        select SOC_SAMA7
>>        help
>>          Select this if you are using one of Microchip's SAMA7G5 family SoC.
>> --
>> 2.25.1
>>
> 
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
diff mbox series

Patch

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 5eb2a9206f42..f52b46bccd85 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -60,6 +60,9 @@  config SOC_SAMA5D4
 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.