summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-02-06 09:51:22 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-19 08:30:32 +0100
commit955403e5a295151b04f62b1c27b50cb9ee5a8070 (patch)
treeb39ad876e357d875f46492d2f19862188ba2abdd /include
parentd19adc55f607fff299fb54d29aef3396cbdf0baa (diff)
downloadbarebox-955403e5a295151b04f62b1c27b50cb9ee5a8070.tar.gz
barebox-955403e5a295151b04f62b1c27b50cb9ee5a8070.tar.xz
clk: imx: Add pll14xx support
This adds support for the pll14xx found on i.MX8MM devices. This is taken from the Kernel as of v5.5. Since we'll need some early setup for the PLL a PBL hook is added to be called from lowlevel code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/soc/imx8m/clk-early.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/soc/imx8m/clk-early.h b/include/soc/imx8m/clk-early.h
new file mode 100644
index 0000000000..1e1ca59543
--- /dev/null
+++ b/include/soc/imx8m/clk-early.h
@@ -0,0 +1,7 @@
+#ifndef __SOC_IMX8M_CLK_EARLY_H
+#define __SOC_IMX8M_CLK_EARLY_H
+
+int clk_pll1416x_early_set_rate(void __iomem *base, unsigned long drate,
+ unsigned long prate);
+
+#endif /* __SOC_IMX8M_CLK_EARLY_H */