Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-davinci/include/mach/clock.h |
| 3 | * |
| 4 | * Clock control driver for DaVinci - header file |
| 5 | * |
| 6 | * Authors: Vladimir Barinov <source@mvista.com> |
| 7 | * |
| 8 | * 2007 (c) MontaVista Software, Inc. This file is licensed under |
| 9 | * the terms of the GNU General Public License version 2. This program |
| 10 | * is licensed "as is" without any warranty of any kind, whether express |
| 11 | * or implied. |
| 12 | */ |
| 13 | #ifndef __ASM_ARCH_DAVINCI_CLOCK_H |
| 14 | #define __ASM_ARCH_DAVINCI_CLOCK_H |
| 15 | |
| 16 | struct clk; |
| 17 | |
| 18 | extern int clk_register(struct clk *clk); |
| 19 | extern void clk_unregister(struct clk *clk); |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 20 | |
Robert Tivy | af47e6b | 2013-01-10 16:23:23 -0800 | [diff] [blame] | 21 | int davinci_clk_reset_assert(struct clk *c); |
| 22 | int davinci_clk_reset_deassert(struct clk *c); |
| 23 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 24 | #endif |