diff options
author | Mark Salter <msalter@redhat.com> | 2011-10-04 19:10:50 +0400 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2011-10-07 03:48:07 +0400 |
commit | 81ec98898188639ac53413605681b3e3bb0a2ff1 (patch) | |
tree | ba8a4c16120f0e9c2fd2fe5c9e5f7acc0a56e652 /arch/c6x/include/asm/clkdev.h | |
parent | e94e668251ab31b17ef6dcd16ba7fe05ffc1917a (diff) | |
download | linux-81ec98898188639ac53413605681b3e3bb0a2ff1.tar.xz |
C6X: clocks
The C6X SoCs contain several PLL controllers each with up to 16 clock outputs
feeding into the cores or peripheral clock domains. The hardware is very similar
to arm/mach-davinci clocks. This is still a work in progress which needs to be
updated once device tree clock binding changes shake out.
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/c6x/include/asm/clkdev.h')
-rw-r--r-- | arch/c6x/include/asm/clkdev.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/clkdev.h b/arch/c6x/include/asm/clkdev.h new file mode 100644 index 000000000000..76a070b1c2e5 --- /dev/null +++ b/arch/c6x/include/asm/clkdev.h @@ -0,0 +1,22 @@ +#ifndef _ASM_CLKDEV_H +#define _ASM_CLKDEV_H + +#include <linux/slab.h> + +struct clk; + +static inline int __clk_get(struct clk *clk) +{ + return 1; +} + +static inline void __clk_put(struct clk *clk) +{ +} + +static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) +{ + return kzalloc(size, GFP_KERNEL); +} + +#endif /* _ASM_CLKDEV_H */ |