aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/pmc.c
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-11 12:22:06 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 15:31:25 +0100
commitf090fb37def3eb9ea49b71751dbe43f423f3a152 (patch)
tree50cb4902013dfa7addaeaba993b37f8af674303b /drivers/clk/at91/pmc.c
parentclk: at91: add PMC programmable clocks (diff)
downloadlinux-dev-f090fb37def3eb9ea49b71751dbe43f423f3a152.tar.xz
linux-dev-f090fb37def3eb9ea49b71751dbe43f423f3a152.zip
clk: at91: add PMC utmi clock
This adds new at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. 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 d0a1f93500f0..0f667fd4e7fa 100644
--- a/drivers/clk/at91/pmc.c
+++ b/drivers/clk/at91/pmc.c
@@ -293,6 +293,13 @@ static const struct of_device_id pmc_clk_ids[] __initdata = {
.data = of_at91sam9x5_clk_prog_setup,
},
#endif
+ /* UTMI clock */
+#if defined(CONFIG_HAVE_AT91_UTMI)
+ {
+ .compatible = "atmel,at91sam9x5-clk-utmi",
+ .data = of_at91sam9x5_clk_utmi_setup,
+ },
+#endif
{ /*sentinel*/ }
};