diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-01 16:18:39 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-02 09:35:38 +0100 |
commit | 9bf5b2ef673237e0e43161c56f70ac8bf24e43f9 (patch) | |
tree | 6b75855102d54da6ff6d7023ae00e25610e44f92 /arch/arm/plat-versatile/include | |
parent | 3081e43b97cb50a80ebd98ce4b60e4853ad38424 (diff) | |
download | kernel_samsung_smdk4412-9bf5b2ef673237e0e43161c56f70ac8bf24e43f9.zip kernel_samsung_smdk4412-9bf5b2ef673237e0e43161c56f70ac8bf24e43f9.tar.gz kernel_samsung_smdk4412-9bf5b2ef673237e0e43161c56f70ac8bf24e43f9.tar.bz2 |
ARM: Indirect round/set_rate operations through clk structure
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/include')
-rw-r--r-- | arch/arm/plat-versatile/include/plat/clock.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/plat-versatile/include/plat/clock.h b/arch/arm/plat-versatile/include/plat/clock.h new file mode 100644 index 0000000..3cfb024 --- /dev/null +++ b/arch/arm/plat-versatile/include/plat/clock.h @@ -0,0 +1,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 |