GNU Linux-libre 4.19.264-gnu1
[releases.git] / drivers / clk / meson / clkc-audio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2018 BayLibre, SAS.
4  * Author: Jerome Brunet <jbrunet@baylibre.com>
5  */
6
7 #ifndef __MESON_CLKC_AUDIO_H
8 #define __MESON_CLKC_AUDIO_H
9
10 #include "clkc.h"
11
12 struct meson_clk_triphase_data {
13         struct parm ph0;
14         struct parm ph1;
15         struct parm ph2;
16 };
17
18 struct meson_sclk_div_data {
19         struct parm div;
20         struct parm hi;
21         unsigned int cached_div;
22         struct clk_duty cached_duty;
23 };
24
25 extern const struct clk_ops meson_clk_triphase_ops;
26 extern const struct clk_ops meson_sclk_div_ops;
27
28 #endif /* __MESON_CLKC_AUDIO_H */