aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/clk
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-25 13:11:49 -0500
committerMichael Turquette <mturquette@baylibre.com>2018-05-30 12:48:44 -0700
commit043eaa70ad736380a631e820e32ad9176b020887 (patch)
treecb13733532485db51dbcbb238138fb4470ba8ec2 /include/linux/clk
parentclk: davinci: da850-pll: change PLL0 to CLK_OF_DECLARE (diff)
downloadwireguard-linux-043eaa70ad736380a631e820e32ad9176b020887.tar.xz
wireguard-linux-043eaa70ad736380a631e820e32ad9176b020887.zip
clk: davinci: psc: allow for dev == NULL
On some davinci SoCs, we need to register the PSC clocks during early boot because they are needed for clocksource/clockevent. These changes allow for dev == NULL because in this case, we won't have a platform device for the clocks. Signed-off-by: David Lechner <david@lechnology.com> Reviewed-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20180525181150.17873-9-david@lechnology.com
Diffstat (limited to 'include/linux/clk')
-rw-r--r--include/linux/clk/davinci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/clk/davinci.h b/include/linux/clk/davinci.h
index ebdd9df1c0ef..62764c5cc86e 100644
--- a/include/linux/clk/davinci.h
+++ b/include/linux/clk/davinci.h
@@ -21,4 +21,9 @@ int dm365_pll2_init(struct device *dev, void __iomem *base, struct regmap *cfgch
int dm644x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
int dm646x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
+int dm355_psc_init(struct device *dev, void __iomem *base);
+int dm365_psc_init(struct device *dev, void __iomem *base);
+int dm644x_psc_init(struct device *dev, void __iomem *base);
+int dm646x_psc_init(struct device *dev, void __iomem *base);
+
#endif /* __LINUX_CLK_DAVINCI_PLL_H___ */