summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/plat-versatile/include/plat/clock.h
blob: 3cfb024ccd70fb3827c5f68330647c6278d979bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PLAT_CLOCK_H
#define PLAT_CLOCK_H

#include <asm/hardware/icst.h>

struct clk_ops {
	long	(*round)(struct clk *, unsigned long);
	int	(*set)(struct clk *, unsigned long);
	void	(*setvco)(struct clk *, struct icst_vco);
};

int icst_clk_set(struct clk *, unsigned long);
long icst_clk_round(struct clk *, unsigned long);

#endif