Merge tag 'rpmsg-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux-2.6-microblaze.git] / drivers / clk / meson / clk-phase.h
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 struct meson_sclk_ws_inv_data {
24         struct parm ph;
25         struct parm ws;
26 };
27
28 extern const struct clk_ops meson_clk_phase_ops;
29 extern const struct clk_ops meson_clk_triphase_ops;
30 extern const struct clk_ops meson_sclk_ws_inv_ops;
31
32 #endif /* __MESON_CLK_PHASE_H */