1 // SPDX-License-Identifier: GPL-2.0
3 * Clock drivers for TI DaVinci PLL and PSC controllers
5 * Copyright (C) 2018 David Lechner <david@lechnology.com>
8 #ifndef __LINUX_CLK_DAVINCI_PLL_H___
9 #define __LINUX_CLK_DAVINCI_PLL_H___
11 #include <linux/device.h>
12 #include <linux/regmap.h>
14 /* function for registering clocks in early boot */
16 #ifdef CONFIG_ARCH_DAVINCI_DA830
17 int da830_pll_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
19 #ifdef CONFIG_ARCH_DAVINCI_DA850
20 int da850_pll0_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
22 #ifdef CONFIG_ARCH_DAVINCI_DM355
23 int dm355_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
24 int dm355_psc_init(struct device *dev, void __iomem *base);
26 #ifdef CONFIG_ARCH_DAVINCI_DM365
27 int dm365_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
28 int dm365_pll2_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
29 int dm365_psc_init(struct device *dev, void __iomem *base);
32 #endif /* __LINUX_CLK_DAVINCI_PLL_H___ */