]>
Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
4baa9922 | 2 | * arch/arm/include/asm/hardware/icst307.h |
1da177e4 LT |
3 | * |
4 | * Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved. | |
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 | * Support functions for calculating clocks/divisors for the ICS307 | |
11 | * clock generators. See http://www.icst.com/ for more information | |
12 | * on these devices. | |
13 | * | |
14 | * This file is similar to the icst525.h file | |
15 | */ | |
16 | #ifndef ASMARM_HARDWARE_ICST307_H | |
17 | #define ASMARM_HARDWARE_ICST307_H | |
18 | ||
39c0cb02 | 19 | #include <asm/hardware/icst.h> |
1da177e4 | 20 | |
39c0cb02 RK |
21 | unsigned long icst307_khz(const struct icst_params *p, struct icst_vco vco); |
22 | struct icst_vco icst307_khz_to_vco(const struct icst_params *p, unsigned long freq); | |
1da177e4 | 23 | |
4de2edbd RK |
24 | /* |
25 | * ICST307 VCO frequency must be between 6MHz and 200MHz (3.3 or 5V). | |
26 | * This frequency is pre-output divider. | |
27 | */ | |
28 | #define ICST307_VCO_MIN 6000 | |
29 | #define ICST307_VCO_MAX 200000 | |
30 | ||
1da177e4 | 31 | #endif |