1
2
3
4
5
6
7
8
9
10 #ifndef __LINUX_CLK_RENESAS_H_
11 #define __LINUX_CLK_RENESAS_H_
12
13 #include <linux/types.h>
14
15 struct device;
16 struct device_node;
17 struct generic_pm_domain;
18
19 void cpg_mstp_add_clk_domain(struct device_node *np);
20 #ifdef CONFIG_CLK_RENESAS_CPG_MSTP
21 int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev);
22 void cpg_mstp_detach_dev(struct generic_pm_domain *unused, struct device *dev);
23 #else
24 #define cpg_mstp_attach_dev NULL
25 #define cpg_mstp_detach_dev NULL
26 #endif
27
28 #ifdef CONFIG_CLK_RENESAS_CPG_MSSR
29 int cpg_mssr_attach_dev(struct generic_pm_domain *unused, struct device *dev);
30 void cpg_mssr_detach_dev(struct generic_pm_domain *unused, struct device *dev);
31 #else
32 #define cpg_mssr_attach_dev NULL
33 #define cpg_mssr_detach_dev NULL
34 #endif
35 #endif