linux/drivers/clk/at91
Boris BREZILLON 6114067e43 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>
2013-12-02 15:31:24 +01:00
..
clk-main.c clk: at91: add PMC main clock 2013-12-02 15:31:22 +01:00
clk-master.c clk: at91: add PMC master clock 2013-12-02 15:31:23 +01:00
clk-peripheral.c clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
clk-pll.c clk: at91: add PMC master clock 2013-12-02 15:31:23 +01:00
clk-plldiv.c clk: at91: add PMC pll clocks 2013-12-02 15:31:22 +01:00
clk-system.c clk: at91: add PMC system clocks 2013-12-02 15:31:23 +01:00
Makefile clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
pmc.c clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
pmc.h clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00