blob: bdc94e7624d21a5da95282f686354da0fc771826 [file] [log] [blame]
Sam Protsenko8a0f6342024-01-10 21:09:03 -06001/* 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 Protsenko49ba25a2024-03-07 20:18:56 -060018struct samsung_pll_clock;
19
Sam Protsenko8a0f6342024-01-10 21:09:03 -060020enum samsung_pll_type {
21 pll_0822x,
22 pll_0831x,
23};
24
Sam Protsenko62112352024-03-07 20:18:57 -060025void samsung_clk_register_pll(void __iomem *base, unsigned int cmu_id,
Sam Protsenko49ba25a2024-03-07 20:18:56 -060026 const struct samsung_pll_clock *clk_list,
27 unsigned int nr_clk);
28
Sam Protsenko8a0f6342024-01-10 21:09:03 -060029#endif /* __EXYNOS_CLK_PLL_H */