xref: /openbmc/linux/drivers/clk/meson/meson-eeclk.h (revision de528723)
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 struct platform_device;
14 
15 struct meson_eeclkc_data {
16 	struct clk_regmap *const	*regmap_clks;
17 	unsigned int			regmap_clk_num;
18 	const struct reg_sequence	*init_regs;
19 	unsigned int			init_count;
20 	struct clk_hw_onecell_data	*hw_onecell_data;
21 };
22 
23 int meson_eeclkc_probe(struct platform_device *pdev);
24 
25 #endif /* __MESON_CLKC_H */
26