xref: /linux/drivers/clk/meson/clk-phase.h (revision 63307d015b91e626c97bb82e88054af3d0b74643)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2019 BayLibre, SAS.
4  * Author: Jerome Brunet <jbrunet@baylibre.com>
5  */
6 
7 #ifndef __MESON_CLK_PHASE_H
8 #define __MESON_CLK_PHASE_H
9 
10 #include <linux/clk-provider.h>
11 #include "parm.h"
12 
13 struct meson_clk_phase_data {
14 	struct parm ph;
15 };
16 
17 struct meson_clk_triphase_data {
18 	struct parm ph0;
19 	struct parm ph1;
20 	struct parm ph2;
21 };
22 
23 extern const struct clk_ops meson_clk_phase_ops;
24 extern const struct clk_ops meson_clk_triphase_ops;
25 
26 #endif /* __MESON_CLK_PHASE_H */
27