[PATCH v3 05/15] ARM: at91: move sam9261 SoC to common clk

Boris BREZILLON b.brezillon at overkiz.com
Fri Feb 7 03:58:16 EST 2014


Hello JJ,

On 23/01/2014 16:57, Jean-Jacques Hiblot wrote:
> This patch removes the selection of AT91_USE_OLD_CLK when selecting
> sam9261 SoCs support. This will automatically enable COMMON_CLK_AT91 option
> and add support for at91 common clk implementation.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at traphandler.com>
> ---
>   arch/arm/mach-at91/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index b4f7d6f..2214beb 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -120,7 +120,6 @@ config SOC_AT91SAM9261
>   	select HAVE_AT91_DBGU0
>   	select HAVE_FB_ATMEL
>   	select SOC_AT91SAM9
> -	select AT91_USE_OLD_CLK
>   	select HAVE_AT91_USB_CLK
add :
                depends on COMMON_CLK

if you want to get rid of DT related clk_lookup definitions.
You'll also have to remove all the AT91SAM9261 sections from Kconfig.non_dt,
because this will conflict with the "depends on COMMON_CLK" line (the
ARCH_AT91SAM9261 config selects AT91_USE_OLD_CLK which forbids the use
of CCF).

I'm not sure droping the clk_lookup definitions worth the trouble, but 
I'll let at91
maintainers decide.

Best Regards,

Boris

>   	help
>   	  Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.




More information about the linux-arm-kernel mailing list