summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/clk-phase.h
blob: b637b9b227bc62f14c87e7765ce17f692759625e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2019 BayLibre, SAS.
 * Author: Jerome Brunet <jbrunet@baylibre.com>
 */

#ifndef __MESON_CLK_PHASE_H
#define __MESON_CLK_PHASE_H

#include <linux/clk-provider.h>
#include "parm.h"

struct meson_clk_phase_data {
	struct parm ph;
};

struct meson_clk_triphase_data {
	struct parm ph0;
	struct parm ph1;
	struct parm ph2;
};

struct meson_sclk_ws_inv_data {
	struct parm ph;
	struct parm ws;
};

extern const struct clk_ops meson_clk_phase_ops;
extern const struct clk_ops meson_clk_triphase_ops;
extern const struct clk_ops meson_sclk_ws_inv_ops;

#endif /* __MESON_CLK_PHASE_H */