summaryrefslogtreecommitdiff
path: root/include/k3-clk.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2021-06-11 11:45:13 +0300
committerLokesh Vutla <lokeshvutla@ti.com>2021-06-11 14:04:52 +0300
commit0aa2930ca192a8738d1da8222fc6ac21d7c19182 (patch)
tree46c8ae1c129d6d1f390aa281cd7af55091028cfe /include/k3-clk.h
parent6b7fd3128f71e8c1fa847c18be4b9a322f341ba7 (diff)
downloadu-boot-0aa2930ca192a8738d1da8222fc6ac21d7c19182.tar.xz
clk: add support for TI K3 SoC PLL
Add support for TI K3 SoC PLLs. This clock type supports enabling/disabling/setting and querying the clock rate for the PLL. The euclidean library routine is used to calculate divider/multiplier rates for the PLLs. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tero Kristo <kristo@kernel.org>
Diffstat (limited to 'include/k3-clk.h')
-rw-r--r--include/k3-clk.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/k3-clk.h b/include/k3-clk.h
new file mode 100644
index 0000000000..fc84378d03
--- /dev/null
+++ b/include/k3-clk.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2020 - Texas Instruments Incorporated - http://www.ti.com
+ * Tero Kristo <t-kristo@ti.com>
+ */
+
+#ifndef __K3_CLK_H__
+#define __K3_CLK_H__
+
+#include <linux/clk-provider.h>
+
+struct clk *clk_register_ti_pll(const char *name, const char *parent_name,
+ void __iomem *reg);
+
+#endif /* __K3_CLK_H__ */