2 * arch/arm/include/asm/hardware/icst525.h
4 * Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
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.
10 * Support functions for calculating clocks/divisors for the ICST525
11 * clock generators. See http://www.icst.com/ for more information
14 #ifndef ASMARM_HARDWARE_ICST525_H
15 #define ASMARM_HARDWARE_ICST525_H
17 #include <asm/hardware/icst.h>
19 unsigned long icst525_hz(const struct icst_params *p, struct icst_vco vco);
20 struct icst_vco icst525_hz_to_vco(const struct icst_params *p, unsigned long freq);
23 * ICST525 VCO frequency must be between 10MHz and 200MHz (3V) or 320MHz (5V).
24 * This frequency is pre-output divider.
26 #define ICST525_VCO_MIN 10000000
27 #define ICST525_VCO_MAX_3V 200000000
28 #define ICST525_VCO_MAX_5V 320000000
30 extern const unsigned char icst525_s2div[];
31 extern const unsigned char icst525_idx2s[];