xref: /linux/drivers/clk/sophgo/clk-sg2042.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CLK_SOPHGO_SG2042_H_
3 #define _CLK_SOPHGO_SG2042_H_
4 
5 #include <linux/io.h>
6 #include <linux/clk-provider.h>
7 
8 /**
9  * struct sg2042_clk_data - Common data of clock-controller
10  * @iobase: base address of clock-controller
11  * @onecell_data: used for adding providers.
12  */
13 struct sg2042_clk_data {
14 	void __iomem *iobase;
15 	struct clk_hw_onecell_data onecell_data;
16 };
17 
18 #endif /* _CLK_SOPHGO_SG2042_H_ */
19