]> Pileus Git - ~andy/linux/commit
clk: at91: add PMC system clocks
authorBoris BREZILLON <b.brezillon@overkiz.com>
Fri, 11 Oct 2013 09:41:41 +0000 (11:41 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Dec 2013 14:31:23 +0000 (15:31 +0100)
commit5fba62ea2648f89cbd7f0ed32069f03b179d05e9
tree08615954736896eb8f9e07e26ebce6e330754177
parente442d234405ad75e2d3d2baf15b364ee2c3573c9
clk: at91: add PMC system clocks

This patch adds new at91 system clock implementation using common clk
framework.

Some peripherals need to enable a "system" clock in order to work properly.
Each system clock is given an id based on the bit position in SCER/SCDR
registers.

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>
drivers/clk/at91/Makefile
drivers/clk/at91/clk-system.c [new file with mode: 0644]
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h