2021-04-07 21:39:29

by Eugen Hristev

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

From: Claudiu Beznea <[email protected]>

Select PLL, generic clock and UTMI support for SAMA7G5.

Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Eugen Hristev <[email protected]>
---
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
select SOC_SAMA7
help
Select this if you are using one of Microchip's SAMA7G5 family SoC.
--
2.25.1


2021-04-07 21:42:46

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

Hi,

On 07/04/2021 20:00:53+0300, Eugen Hristev wrote:
> From: Claudiu Beznea <[email protected]>
>
> Select PLL, generic clock and UTMI support for SAMA7G5.
>
> Signed-off-by: Claudiu Beznea <[email protected]>
> Signed-off-by: Eugen Hristev <[email protected]>
> ---
> 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
>

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

2021-04-08 10:26:33

by Eugen Hristev

[permalink] [raw]
Subject: Re: [PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support

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 <[email protected]>
>>
>> Select PLL, generic clock and UTMI support for SAMA7G5.
>>
>> Signed-off-by: Claudiu Beznea <[email protected]>
>> Signed-off-by: Eugen Hristev <[email protected]>
>> ---
>> 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
>