xref: /linux/drivers/clk/sophgo/clk-sg2042.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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