summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/common.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-06-14 23:50:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-19 08:23:49 +0200
commit1a40aab51a1124ee3e4b7cc80c367a6552936c2a (patch)
tree005b45d92ffea57c3abb82fc5ac224759a825736 /drivers/clk/mvebu/common.h
parent69642d964248e03baa2f38d6f32b484a6b85f4b4 (diff)
downloadbarebox-1a40aab51a1124ee3e4b7cc80c367a6552936c2a.tar.gz
barebox-1a40aab51a1124ee3e4b7cc80c367a6552936c2a.tar.xz
clk: mvebu: Add support for Armada 38x's coreclk
This is a mixture of the Armada 370 barebox driver and the Armada 38x Linux driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/mvebu/common.h')
-rw-r--r--drivers/clk/mvebu/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/clk/mvebu/common.h b/drivers/clk/mvebu/common.h
index 522ccdeccd..a3b27247f7 100644
--- a/drivers/clk/mvebu/common.h
+++ b/drivers/clk/mvebu/common.h
@@ -49,6 +49,14 @@ static const u32 armada_xp_coreclks;
static const u32 armada_xp_gating_desc;
#endif
+#ifdef CONFIG_ARCH_ARMADA_38X
+extern const struct coreclk_soc_desc armada_38x_coreclks;
+extern const struct clk_gating_soc_desc armada_38x_gating_desc[];
+#else
+static const u32 armada_38x_coreclks;
+static const u32 armada_38x_gating_desc;
+#endif
+
#ifdef CONFIG_ARCH_DOVE
extern const struct coreclk_soc_desc dove_coreclks;
extern const struct clk_gating_soc_desc dove_gating_desc[];