arm: at91: clock: Add the generated clock support
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 30 Oct 2015 01:47:02 +0000 (09:47 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 3 Nov 2015 13:21:31 +0000 (14:21 +0100)
commitc19000556e1d21bc5830464b6b9964a977ab1e32
treeb168cb1f34d7a5153a342613c00f62b411c77326
parent79667b7b769405ec510baf2afed566eae58ec713
arm: at91: clock: Add the generated clock support

Some peripherals may need a second clock source that may be different
from the system clock. This second clock is the generated clock (GCK)
and is managed by the PMC via PMC_PCR.

For simplicity, the clock source of the GCK is fixed to PLLA_CLK.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/mach-at91/armv7/clock.c
arch/arm/mach-at91/include/mach/at91_pmc.h
arch/arm/mach-at91/include/mach/clk.h