Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / clk / meson / clk-dualdiv.h
blob4aa9390180122c4fe82de3321d3ebda422789770
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2019 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
7 #ifndef __MESON_CLK_DUALDIV_H
8 #define __MESON_CLK_DUALDIV_H
10 #include <linux/clk-provider.h>
11 #include "parm.h"
13 struct meson_clk_dualdiv_param {
14 unsigned int n1;
15 unsigned int n2;
16 unsigned int m1;
17 unsigned int m2;
18 unsigned int dual;
21 struct meson_clk_dualdiv_data {
22 struct parm n1;
23 struct parm n2;
24 struct parm m1;
25 struct parm m2;
26 struct parm dual;
27 const struct meson_clk_dualdiv_param *table;
30 extern const struct clk_ops meson_clk_dualdiv_ops;
31 extern const struct clk_ops meson_clk_dualdiv_ro_ops;
33 #endif /* __MESON_CLK_DUALDIV_H */