xref: /linux/drivers/clk/meson/meson-clkc-utils.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2 /*
3  * Copyright (c) 2023 Neil Armstrong <neil.armstrong@linaro.org>
4  */
5 
6 #ifndef __MESON_CLKC_UTILS_H__
7 #define __MESON_CLKC_UTILS_H__
8 
9 #include <linux/of_device.h>
10 #include <linux/clk-provider.h>
11 
12 struct meson_clk_hw_data {
13 	struct clk_hw	**hws;
14 	unsigned int	num;
15 };
16 
17 struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_data);
18 
19 #endif
20