2005-04-16 15:20:36 -07:00
|
|
|
/*
|
2008-08-02 02:55:55 -07:00
|
|
|
* arch/arm/include/asm/hardware/icst525.h
|
2005-04-16 15:20:36 -07:00
|
|
|
*
|
|
|
|
* Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Support functions for calculating clocks/divisors for the ICST525
|
|
|
|
* clock generators. See http://www.icst.com/ for more information
|
|
|
|
* on these devices.
|
|
|
|
*/
|
|
|
|
#ifndef ASMARM_HARDWARE_ICST525_H
|
|
|
|
#define ASMARM_HARDWARE_ICST525_H
|
|
|
|
|
2010-01-16 09:27:28 -07:00
|
|
|
#include <asm/hardware/icst.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-01-16 10:28:44 -07:00
|
|
|
unsigned long icst525_hz(const struct icst_params *p, struct icst_vco vco);
|
|
|
|
struct icst_vco icst525_hz_to_vco(const struct icst_params *p, unsigned long freq);
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-01-16 11:08:47 -07:00
|
|
|
/*
|
|
|
|
* ICST525 VCO frequency must be between 10MHz and 200MHz (3V) or 320MHz (5V).
|
|
|
|
* This frequency is pre-output divider.
|
|
|
|
*/
|
2010-01-16 10:28:44 -07:00
|
|
|
#define ICST525_VCO_MIN 10000000
|
|
|
|
#define ICST525_VCO_MAX_3V 200000000
|
|
|
|
#define ICST525_VCO_MAX_5V 320000000
|
2010-01-16 11:08:47 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|