Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / clk / meson / meson-eeclk.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_CLKC_H
8 #define __MESON_CLKC_H
9
10 #include <linux/clk-provider.h>
11 #include "clk-regmap.h"
12
13 #define IN_PREFIX "ee-in-"
14
15 struct platform_device;
16
17 struct meson_eeclkc_data {
18         struct clk_regmap *const        *regmap_clks;
19         unsigned int                    regmap_clk_num;
20         const struct reg_sequence       *init_regs;
21         unsigned int                    init_count;
22         struct clk_hw_onecell_data      *hw_onecell_data;
23 };
24
25 int meson_eeclkc_probe(struct platform_device *pdev);
26
27 #endif /* __MESON_CLKC_H */