aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/pmc.h
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-11 11:41:41 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 15:31:23 +0100
commit5fba62ea2648f89cbd7f0ed32069f03b179d05e9 (patch)
tree08615954736896eb8f9e07e26ebce6e330754177 /drivers/clk/at91/pmc.h
parentclk: at91: add PMC master clock (diff)
downloadlinux-dev-5fba62ea2648f89cbd7f0ed32069f03b179d05e9.tar.xz
linux-dev-5fba62ea2648f89cbd7f0ed32069f03b179d05e9.zip
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>
Diffstat (limited to 'drivers/clk/at91/pmc.h')
-rw-r--r--drivers/clk/at91/pmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
index be5c964accad..9c8a397cb850 100644
--- a/drivers/clk/at91/pmc.h
+++ b/drivers/clk/at91/pmc.h
@@ -77,4 +77,7 @@ extern void __init of_at91rm9200_clk_master_setup(struct device_node *np,
extern void __init of_at91sam9x5_clk_master_setup(struct device_node *np,
struct at91_pmc *pmc);
+extern void __init of_at91rm9200_clk_sys_setup(struct device_node *np,
+ struct at91_pmc *pmc);
+
#endif /* __PMC_H_ */