2013-11-06 19:14:19 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2013 Ideas On Board SPRL
|
2014-04-18 06:05:50 +07:00
|
|
|
* Copyright 2013, 2014 Horms Solutions Ltd.
|
2013-11-06 19:14:19 +07:00
|
|
|
*
|
|
|
|
* Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
2014-04-18 06:05:50 +07:00
|
|
|
* Contact: Simon Horman <horms@verge.net.au>
|
2013-11-06 19:14:19 +07:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
2016-03-08 07:42:07 +07:00
|
|
|
#ifndef __LINUX_CLK_RENESAS_H_
|
|
|
|
#define __LINUX_CLK_RENESAS_H_
|
2013-11-06 19:14:19 +07:00
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
2015-08-04 19:28:02 +07:00
|
|
|
struct device;
|
|
|
|
struct device_node;
|
|
|
|
struct generic_pm_domain;
|
|
|
|
|
2015-02-26 23:42:07 +07:00
|
|
|
void r8a7778_clocks_init(u32 mode);
|
2014-04-18 06:05:50 +07:00
|
|
|
void r8a7779_clocks_init(u32 mode);
|
2013-11-06 19:14:19 +07:00
|
|
|
void rcar_gen2_clocks_init(u32 mode);
|
|
|
|
|
2015-08-04 19:28:02 +07:00
|
|
|
void cpg_mstp_add_clk_domain(struct device_node *np);
|
|
|
|
int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev);
|
|
|
|
void cpg_mstp_detach_dev(struct generic_pm_domain *domain, struct device *dev);
|
|
|
|
|
2013-11-06 19:14:19 +07:00
|
|
|
#endif
|