aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/at91/Makefile
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-11 11:44:36 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 15:31:24 +0100
commit6114067e437eb861a8e75741e3d8763475f75512 (patch)
tree48afa7cdb1ce6034ec8445def1d5190a77485869 /drivers/clk/at91/Makefile
parentclk: at91: add PMC system clocks (diff)
downloadwireguard-linux-6114067e437eb861a8e75741e3d8763475f75512.tar.xz
wireguard-linux-6114067e437eb861a8e75741e3d8763475f75512.zip
clk: at91: add PMC peripheral clocks
This patch adds new at91 peripheral clock implementation using common clk framework. Almost all peripherals provided by at91 SoCs need a clock to work properly. This clock is enabled/disabled using PCER/PCDR resgisters. Each peripheral is given an id (see atmel's datasheets) which is used to define and reference peripheral clocks. Some new SoCs (at91sam9x5 and sama5d3) provide a new register (PCR) where you can configure the peripheral clock as a division of the master clock. This will help reducing the peripherals power comsumption. 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>
Diffstat (limited to 'drivers/clk/at91/Makefile')
-rw-r--r--drivers/clk/at91/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile
index c2b70683e4e0..04deba35893e 100644
--- a/drivers/clk/at91/Makefile
+++ b/drivers/clk/at91/Makefile
@@ -4,4 +4,4 @@
obj-y += pmc.o
obj-y += clk-main.o clk-pll.o clk-plldiv.o clk-master.o
-obj-y += clk-system.o
+obj-y += clk-system.o clk-peripheral.o