diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-16 19:08:47 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-02 10:35:30 +0200 |
commit | 4de2edbd15ff70c77e1d018611d06f7801fc2b72 (patch) | |
tree | 576899cd3a6492bb01d8326851ee63e1ea58fc0a /arch/arm/include/asm/hardware | |
parent | ARM: ICST: icst.*_ps_to_vco() functions are unused, remove them (diff) | |
download | linux-4de2edbd15ff70c77e1d018611d06f7801fc2b72.tar.xz linux-4de2edbd15ff70c77e1d018611d06f7801fc2b72.zip |
ARM: ICST: provide definitions for max/min VCO frequencies
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/hardware')
-rw-r--r-- | arch/arm/include/asm/hardware/icst307.h | 7 | ||||
-rw-r--r-- | arch/arm/include/asm/hardware/icst525.h | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/icst307.h b/arch/arm/include/asm/hardware/icst307.h index 8d0820a654db..0c4e37e3fdef 100644 --- a/arch/arm/include/asm/hardware/icst307.h +++ b/arch/arm/include/asm/hardware/icst307.h @@ -21,4 +21,11 @@ unsigned long icst307_khz(const struct icst_params *p, struct icst_vco vco); struct icst_vco icst307_khz_to_vco(const struct icst_params *p, unsigned long freq); +/* + * ICST307 VCO frequency must be between 6MHz and 200MHz (3.3 or 5V). + * This frequency is pre-output divider. + */ +#define ICST307_VCO_MIN 6000 +#define ICST307_VCO_MAX 200000 + #endif diff --git a/arch/arm/include/asm/hardware/icst525.h b/arch/arm/include/asm/hardware/icst525.h index 42a274e59fa2..3b72c132e24f 100644 --- a/arch/arm/include/asm/hardware/icst525.h +++ b/arch/arm/include/asm/hardware/icst525.h @@ -19,4 +19,12 @@ unsigned long icst525_khz(const struct icst_params *p, struct icst_vco vco); struct icst_vco icst525_khz_to_vco(const struct icst_params *p, unsigned long freq); +/* + * ICST525 VCO frequency must be between 10MHz and 200MHz (3V) or 320MHz (5V). + * This frequency is pre-output divider. + */ +#define ICST525_VCO_MIN 10000 +#define ICST525_VCO_MAX_3V 200000 +#define ICST525_VCO_MAX_5V 320000 + #endif |