2 * Copyright 2013 Ideas On Board SPRL
3 * Copyright 2013, 2014 Horms Solutions Ltd.
5 * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6 * Contact: Simon Horman <horms@verge.net.au>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
14 #ifndef __LINUX_CLK_SHMOBILE_H_
15 #define __LINUX_CLK_SHMOBILE_H_
17 #include <linux/types.h>
21 struct generic_pm_domain;
23 void r8a7778_clocks_init(u32 mode);
24 void r8a7779_clocks_init(u32 mode);
25 void rcar_gen2_clocks_init(u32 mode);
27 #ifdef CONFIG_PM_GENERIC_DOMAINS_OF
28 void cpg_mstp_add_clk_domain(struct device_node *np);
29 int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev);
30 void cpg_mstp_detach_dev(struct generic_pm_domain *domain, struct device *dev);
32 static inline void cpg_mstp_add_clk_domain(struct device_node *np) {}