diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-10-11 13:41:41 +0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-12-02 18:31:23 +0400 |
commit | 5fba62ea2648f89cbd7f0ed32069f03b179d05e9 (patch) | |
tree | 08615954736896eb8f9e07e26ebce6e330754177 /drivers/clk/at91/pmc.h | |
parent | e442d234405ad75e2d3d2baf15b364ee2c3573c9 (diff) | |
download | linux-5fba62ea2648f89cbd7f0ed32069f03b179d05e9.tar.xz |
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.h | 3 |
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_ */ |