mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
1f22f8bb64
This patch adds new at91 programmable clocks implementation using common clk framework. A programmable clock is a clock which can be exported on a given pin to clock external devices. Each programmable clock is given an id (from 0 to 8). The number of available programmable clocks depends on the SoC you're using. Programmable clock driver only implements the clock setting (clock rate and parent setting). It must be chained to a system clock in order to enable/disable the generated clock. The PCKX pins used to output the clock signals must be assigned to the appropriate peripheral (see atmel's datasheets). Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
10 lines
210 B
Makefile
10 lines
210 B
Makefile
#
|
|
# Makefile for at91 specific clk
|
|
#
|
|
|
|
obj-y += pmc.o
|
|
obj-y += clk-main.o clk-pll.o clk-plldiv.o clk-master.o
|
|
obj-y += clk-system.o clk-peripheral.o
|
|
|
|
obj-$(CONFIG_AT91_PROGRAMMABLE_CLOCKS) += clk-programmable.o
|