]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/include/asm/hardware/icst525.h
ARM: ICST: provide definitions for max/min VCO frequencies
[net-next-2.6.git] / arch / arm / include / asm / hardware / icst525.h
CommitLineData
1da177e4 1/*
4baa9922 2 * arch/arm/include/asm/hardware/icst525.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 ICST525
11 * clock generators. See http://www.icst.com/ for more information
12 * on these devices.
13 */
14#ifndef ASMARM_HARDWARE_ICST525_H
15#define ASMARM_HARDWARE_ICST525_H
16
39c0cb02 17#include <asm/hardware/icst.h>
1da177e4 18
39c0cb02
RK
19unsigned long icst525_khz(const struct icst_params *p, struct icst_vco vco);
20struct icst_vco icst525_khz_to_vco(const struct icst_params *p, unsigned long freq);
1da177e4 21
4de2edbd
RK
22/*
23 * ICST525 VCO frequency must be between 10MHz and 200MHz (3V) or 320MHz (5V).
24 * This frequency is pre-output divider.
25 */
26#define ICST525_VCO_MIN 10000
27#define ICST525_VCO_MAX_3V 200000
28#define ICST525_VCO_MAX_5V 320000
29
1da177e4 30#endif