spear3xx_clock.c (cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144) | spear3xx_clock.c (ef0fd0a207c00b09449f33724322ba762d822d97) |
---|---|
1/* 2 * SPEAr3xx machines clock framework source file 3 * 4 * Copyright (C) 2012 ST Microelectronics 5 * Viresh Kumar <viresh.linux@gmail.com> 6 * 7 * This file is licensed under the terms of the GNU General Public 8 * License version 2. This program is licensed "as is" without any --- 93 unchanged lines hidden (view full) --- 102 {.mode = 0, .m = 0x53, .n = 0x0C, .p = 0x1}, /* vco 332 & pll 166 MHz */ 103 {.mode = 0, .m = 0x85, .n = 0x0C, .p = 0x1}, /* vco 532 & pll 266 MHz */ 104 {.mode = 0, .m = 0xA6, .n = 0x0C, .p = 0x1}, /* vco 664 & pll 332 MHz */ 105}; 106 107/* aux rate configuration table, in ascending order of rates */ 108static struct aux_rate_tbl aux_rtbl[] = { 109 /* For PLL1 = 332 MHz */ | 1/* 2 * SPEAr3xx machines clock framework source file 3 * 4 * Copyright (C) 2012 ST Microelectronics 5 * Viresh Kumar <viresh.linux@gmail.com> 6 * 7 * This file is licensed under the terms of the GNU General Public 8 * License version 2. This program is licensed "as is" without any --- 93 unchanged lines hidden (view full) --- 102 {.mode = 0, .m = 0x53, .n = 0x0C, .p = 0x1}, /* vco 332 & pll 166 MHz */ 103 {.mode = 0, .m = 0x85, .n = 0x0C, .p = 0x1}, /* vco 532 & pll 266 MHz */ 104 {.mode = 0, .m = 0xA6, .n = 0x0C, .p = 0x1}, /* vco 664 & pll 332 MHz */ 105}; 106 107/* aux rate configuration table, in ascending order of rates */ 108static struct aux_rate_tbl aux_rtbl[] = { 109 /* For PLL1 = 332 MHz */ |
110 {.xscale = 1, .yscale = 81, .eq = 0}, /* 2.049 MHz */ 111 {.xscale = 1, .yscale = 59, .eq = 0}, /* 2.822 MHz */ 112 {.xscale = 2, .yscale = 81, .eq = 0}, /* 4.098 MHz */ 113 {.xscale = 3, .yscale = 89, .eq = 0}, /* 5.644 MHz */ 114 {.xscale = 4, .yscale = 81, .eq = 0}, /* 8.197 MHz */ 115 {.xscale = 4, .yscale = 59, .eq = 0}, /* 11.254 MHz */ |
|
110 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 111 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 112 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 113 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */ 114}; 115 116/* gpt rate configuration table, in ascending order of rates */ 117static struct gpt_rate_tbl gpt_rtbl[] = { --- 518 unchanged lines hidden --- | 116 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 117 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 118 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 119 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */ 120}; 121 122/* gpt rate configuration table, in ascending order of rates */ 123static struct gpt_rate_tbl gpt_rtbl[] = { --- 518 unchanged lines hidden --- |