1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2019 BayLibre, SAS.
7 #ifndef __MESON_CLK_MPLL_H
8 #define __MESON_CLK_MPLL_H
10 #include <linux/clk-provider.h>
11 #include <linux/spinlock.h>
15 struct meson_clk_mpll_data {
21 const struct reg_sequence *init_regs;
22 unsigned int init_count;
27 #define CLK_MESON_MPLL_ROUND_CLOSEST BIT(0)
28 #define CLK_MESON_MPLL_SPREAD_SPECTRUM BIT(1)
30 extern const struct clk_ops meson_clk_mpll_ro_ops;
31 extern const struct clk_ops meson_clk_mpll_ops;
33 #endif /* __MESON_CLK_MPLL_H */