diff options
| author | Tero Kristo <[email protected]> | 2021-06-11 11:45:13 +0300 |
|---|---|---|
| committer | Lokesh Vutla <[email protected]> | 2021-06-11 16:34:52 +0530 |
| commit | 0aa2930ca192a8738d1da8222fc6ac21d7c19182 (patch) | |
| tree | 46c8ae1c129d6d1f390aa281cd7af55091028cfe /include | |
| parent | 6b7fd3128f71e8c1fa847c18be4b9a322f341ba7 (diff) | |
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 <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/k3-clk.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/k3-clk.h b/include/k3-clk.h new file mode 100644 index 00000000000..fc84378d03f --- /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 <[email protected]> + */ + +#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__ */ |
