summaryrefslogtreecommitdiffstats
path: root/drivers/clk/davinci/pll.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-03-15 21:52:20 -0500
committerStephen Boyd <sboyd@kernel.org>2018-03-20 10:16:26 -0700
commit55b3caed2bf6edd5d44ccae92ed37cff00951a91 (patch)
tree6a9b991627097a402ae391db8a1984723463fdd7 /drivers/clk/davinci/pll.c
parentc92765fdb8ffd2efc7693d5d83bb71ab8dfcad5e (diff)
downloadlinux-55b3caed2bf6edd5d44ccae92ed37cff00951a91.tar.bz2
clk: davinci: Add platform information for TI DA850 PLL
This adds platform-specific declarations for the PLL clocks on TI DA850/ OMAP-L138/AM18XX SoCs. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/davinci/pll.c')
-rw-r--r--drivers/clk/davinci/pll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/davinci/pll.c b/drivers/clk/davinci/pll.c
index d91cb9d5bc1f..124bbd2c39e0 100644
--- a/drivers/clk/davinci/pll.c
+++ b/drivers/clk/davinci/pll.c
@@ -771,11 +771,15 @@ int of_davinci_pll_init(struct device *dev,
}
static const struct of_device_id davinci_pll_of_match[] = {
+ { .compatible = "ti,da850-pll0", .data = of_da850_pll0_init },
+ { .compatible = "ti,da850-pll1", .data = of_da850_pll1_init },
{ }
};
static const struct platform_device_id davinci_pll_id_table[] = {
{ .name = "da830-pll", .driver_data = (kernel_ulong_t)da830_pll_init },
+ { .name = "da850-pll0", .driver_data = (kernel_ulong_t)da850_pll0_init },
+ { .name = "da850-pll1", .driver_data = (kernel_ulong_t)da850_pll1_init },
{ }
};