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>
Showing
- arch/arm/mach-at91/armv7/clock.c 95 additions, 0 deletionsarch/arm/mach-at91/armv7/clock.c
- arch/arm/mach-at91/include/mach/at91_pmc.h 13 additions, 0 deletionsarch/arm/mach-at91/include/mach/at91_pmc.h
- arch/arm/mach-at91/include/mach/clk.h 10 additions, 0 deletionsarch/arm/mach-at91/include/mach/clk.h
Loading
Please register or sign in to comment