Sam Protsenko | 8a0f634 | 2024-01-10 21:09:03 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2016 Samsung Electronics |
| 4 | * Copyright (C) 2023 Linaro Ltd. |
| 5 | * |
| 6 | * Authors: |
| 7 | * Thomas Abraham <thomas.ab@samsung.com> |
| 8 | * Sam Protsenko <semen.protsenko@linaro.org> |
| 9 | * |
| 10 | * Common Clock Framework support for all PLL's in Samsung platforms. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __EXYNOS_CLK_PLL_H |
| 14 | #define __EXYNOS_CLK_PLL_H |
| 15 | |
| 16 | #include <linux/clk-provider.h> |
| 17 | |
Sam Protsenko | 49ba25a | 2024-03-07 20:18:56 -0600 | [diff] [blame] | 18 | struct samsung_pll_clock; |
| 19 | |
Sam Protsenko | 8a0f634 | 2024-01-10 21:09:03 -0600 | [diff] [blame] | 20 | enum samsung_pll_type { |
| 21 | pll_0822x, |
| 22 | pll_0831x, |
| 23 | }; |
| 24 | |
Sam Protsenko | 6211235 | 2024-03-07 20:18:57 -0600 | [diff] [blame^] | 25 | void samsung_clk_register_pll(void __iomem *base, unsigned int cmu_id, |
Sam Protsenko | 49ba25a | 2024-03-07 20:18:56 -0600 | [diff] [blame] | 26 | const struct samsung_pll_clock *clk_list, |
| 27 | unsigned int nr_clk); |
| 28 | |
Sam Protsenko | 8a0f634 | 2024-01-10 21:09:03 -0600 | [diff] [blame] | 29 | #endif /* __EXYNOS_CLK_PLL_H */ |