diff options
author | Vladimir Barinov <vbarinov@ru.mvista.com> | 2007-06-05 11:36:55 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-12 04:57:09 -0400 |
commit | 3e062b07ada88edb9ffdd147e39c7df4b4418f64 (patch) | |
tree | 0ebde9e0e6b3de7dd6ada32233d3db3106366e5f /arch/arm/mach-davinci/clock.h | |
parent | 7dcca30a32aadb0520417521b0c44f42d09fe05c (diff) |
[ARM] 4430/1: davinci: clock control support
Support clock control driver for TI DaVinci SoC
Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com>
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-davinci/clock.h')
-rw-r--r-- | arch/arm/mach-davinci/clock.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h new file mode 100644 index 000000000000..ed47079a52e4 --- /dev/null +++ b/arch/arm/mach-davinci/clock.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | * TI DaVinci clock definitions | ||
3 | * | ||
4 | * Copyright (C) 2006 Texas Instruments. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __ARCH_ARM_DAVINCI_CLOCK_H | ||
12 | #define __ARCH_ARM_DAVINCI_CLOCK_H | ||
13 | |||
14 | struct clk { | ||
15 | struct list_head node; | ||
16 | struct module *owner; | ||
17 | const char *name; | ||
18 | unsigned int *rate; | ||
19 | int id; | ||
20 | __s8 usecount; | ||
21 | __u8 flags; | ||
22 | __u8 lpsc; | ||
23 | }; | ||
24 | |||
25 | /* Clock flags */ | ||
26 | #define RATE_CKCTL 1 | ||
27 | #define RATE_FIXED 2 | ||
28 | #define RATE_PROPAGATES 4 | ||
29 | #define VIRTUAL_CLOCK 8 | ||
30 | #define ALWAYS_ENABLED 16 | ||
31 | #define ENABLE_REG_32BIT 32 | ||
32 | |||
33 | #endif | ||