summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/pmc.c
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-11 15:27:06 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 18:31:25 +0400
commita9c0688fde53c0a44cd75e9fe33b16db73187ba8 (patch)
treee01e9623283dc6322be8266a9dfa090405437c7e /drivers/clk/at91/pmc.c
parentc84a61d87261f91d378cf26be4ffd3199ffd2493 (diff)
downloadlinux-a9c0688fde53c0a44cd75e9fe33b16db73187ba8.tar.xz
clk: at91: add PMC smd clock
This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. 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.c')
-rw-r--r--drivers/clk/at91/pmc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
index 4fba500dec38..7b9db603b936 100644
--- a/drivers/clk/at91/pmc.c
+++ b/drivers/clk/at91/pmc.c
@@ -315,6 +315,13 @@ static const struct of_device_id pmc_clk_ids[] __initdata = {
.data = of_at91sam9n12_clk_usb_setup,
},
#endif
+ /* SMD clock */
+#if defined(CONFIG_HAVE_AT91_SMD)
+ {
+ .compatible = "atmel,at91sam9x5-clk-smd",
+ .data = of_at91sam9x5_clk_smd_setup,
+ },
+#endif
{ /*sentinel*/ }
};