18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2019 BayLibre, SAS.
48c2ecf20Sopenharmony_ci * Author: Jerome Brunet <jbrunet@baylibre.com>
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef __MESON_CLK_PHASE_H
88c2ecf20Sopenharmony_ci#define __MESON_CLK_PHASE_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/clk-provider.h>
118c2ecf20Sopenharmony_ci#include "parm.h"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cistruct meson_clk_phase_data {
148c2ecf20Sopenharmony_ci	struct parm ph;
158c2ecf20Sopenharmony_ci};
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_cistruct meson_clk_triphase_data {
188c2ecf20Sopenharmony_ci	struct parm ph0;
198c2ecf20Sopenharmony_ci	struct parm ph1;
208c2ecf20Sopenharmony_ci	struct parm ph2;
218c2ecf20Sopenharmony_ci};
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_cistruct meson_sclk_ws_inv_data {
248c2ecf20Sopenharmony_ci	struct parm ph;
258c2ecf20Sopenharmony_ci	struct parm ws;
268c2ecf20Sopenharmony_ci};
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciextern const struct clk_ops meson_clk_phase_ops;
298c2ecf20Sopenharmony_ciextern const struct clk_ops meson_clk_triphase_ops;
308c2ecf20Sopenharmony_ciextern const struct clk_ops meson_sclk_ws_inv_ops;
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#endif /* __MESON_CLK_PHASE_H */
33