xref: /linux/drivers/clk/meson/meson-eeclk.h (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
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 #include "meson-clkc-utils.h"
13 
14 struct platform_device;
15 
16 struct meson_eeclkc_data {
17 	struct clk_regmap *const	*regmap_clks;
18 	unsigned int			regmap_clk_num;
19 	const struct reg_sequence	*init_regs;
20 	unsigned int			init_count;
21 	struct meson_clk_hw_data	hw_clks;
22 };
23 
24 int meson_eeclkc_probe(struct platform_device *pdev);
25 
26 #endif /* __MESON_CLKC_H */
27