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