* 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. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/clk.h> #include <linux/err.h> #include <plat/cpu.h> #include <plat/cpu-freq-core.h> static struct cpufreq_frequency_table s3c2440_plls_169344[] __initdata = { { .frequency = 78019200, .index = PLLVAL(121, 5, 3), }, /* FVco 624.153600 */ { .frequency = 84067200, .index = PLLVAL(131, 5, 3), }, /* FVco 672.537600 */ { .frequency = 90115200, .index = PLLVAL(141, 5, 3), }, /* FVco 720.921600 */ { .frequency = 96163200, .index = PLLVAL(151, 5, 3), }, /* FVco 769.305600 */ { .frequency = 102135600, .index = PLLVAL(185, 6, 3), }, /* FVco 817.084800 */ { .frequency = 108259200, .index = PLLVAL(171, 5, 3), }, /* FVco 866.073600 */ { .frequency = 114307200, .index = PLLVAL(127, 3, 3), }, /* FVco 914.457600 */ { .frequency = 120234240, .index = PLLVAL(134, 3, 3), }, /* FVco 961.873920 */ { .frequency = 126161280, .index = PLLVAL(141, 3, 3), }, /* FVco 1009.290240 */ { .frequency = 132088320, .index = PLLVAL(148, 3, 3), }, /* FVco 1056.706560 */ { .frequency = 138015360, .index = PLLVAL(155, 3, 3), }, /* FVco 1104.122880 */ { .frequency = 144789120, .index = PLLVAL(163, 3, 3), }, /* FVco 1158.312960 */ { .frequency = 150100363, .index = PLLVAL(187, 9, 2), }, /* FVco 600.401454 */ { .frequency = 156038400, .index = PLLVAL(121, 5, 2), }, /* FVco 624.153600 */ { .frequency = 162086400, .index = PLLVAL(126, 5, 2), }, /* FVco 648.345600 */ { .frequency = 168134400, .index = PLLVAL(131, 5, 2), }, /* FVco 672.537600 */
* 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. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/sysdev.h> #include <linux/clk.h> #include <linux/err.h> #include <plat/cpu.h> #include <plat/cpu-freq-core.h> static struct cpufreq_frequency_table s3c2440_plls_12[] __initdata = { { .frequency = 75000000, .index = PLLVAL(0x75, 3, 3), }, /* FVco 600.000000 */ { .frequency = 80000000, .index = PLLVAL(0x98, 4, 3), }, /* FVco 640.000000 */ { .frequency = 90000000, .index = PLLVAL(0x70, 2, 3), }, /* FVco 720.000000 */ { .frequency = 100000000, .index = PLLVAL(0x5c, 1, 3), }, /* FVco 800.000000 */ { .frequency = 110000000, .index = PLLVAL(0x66, 1, 3), }, /* FVco 880.000000 */ { .frequency = 120000000, .index = PLLVAL(0x70, 1, 3), }, /* FVco 960.000000 */ { .frequency = 150000000, .index = PLLVAL(0x75, 3, 2), }, /* FVco 600.000000 */ { .frequency = 160000000, .index = PLLVAL(0x98, 4, 2), }, /* FVco 640.000000 */ { .frequency = 170000000, .index = PLLVAL(0x4d, 1, 2), }, /* FVco 680.000000 */ { .frequency = 180000000, .index = PLLVAL(0x70, 2, 2), }, /* FVco 720.000000 */ { .frequency = 190000000, .index = PLLVAL(0x57, 1, 2), }, /* FVco 760.000000 */ { .frequency = 200000000, .index = PLLVAL(0x5c, 1, 2), }, /* FVco 800.000000 */ { .frequency = 210000000, .index = PLLVAL(0x84, 2, 2), }, /* FVco 840.000000 */ { .frequency = 220000000, .index = PLLVAL(0x66, 1, 2), }, /* FVco 880.000000 */ { .frequency = 230000000, .index = PLLVAL(0x6b, 1, 2), }, /* FVco 920.000000 */ { .frequency = 240000000, .index = PLLVAL(0x70, 1, 2), }, /* FVco 960.000000 */
#include <linux/types.h> #include <linux/kernel.h> #include <linux/sysdev.h> #include <linux/clk.h> #include <linux/err.h> #include <plat/cpu.h> #include <plat/cpu-freq-core.h> static struct cpufreq_frequency_table s3c2440_plls_169344[] __initdata = { { .frequency = 78019200, .index = PLLVAL(121, 5, 3), }, { .frequency = 84067200, .index = PLLVAL(131, 5, 3), }, { .frequency = 90115200, .index = PLLVAL(141, 5, 3), }, { .frequency = 96163200, .index = PLLVAL(151, 5, 3), }, { .frequency = 102135600, .index = PLLVAL(185, 6, 3), }, { .frequency = 108259200, .index = PLLVAL(171, 5, 3), }, { .frequency = 114307200, .index = PLLVAL(127, 3, 3), }, { .frequency = 120234240, .index = PLLVAL(134, 3, 3), }, { .frequency = 126161280, .index = PLLVAL(141, 3, 3), }, { .frequency = 132088320, .index = PLLVAL(148, 3, 3), }, { .frequency = 138015360, .index = PLLVAL(155, 3, 3), }, { .frequency = 144789120, .index = PLLVAL(163, 3, 3), }, { .frequency = 150100363, .index = PLLVAL(187, 9, 2), }, { .frequency = 156038400, .index = PLLVAL(121, 5, 2), }, { .frequency = 162086400, .index = PLLVAL(126, 5, 2), }, { .frequency = 168134400, .index = PLLVAL(131, 5, 2), }, { .frequency = 174048000, .index = PLLVAL(177, 7, 2), }, { .frequency = 180230400, .index = PLLVAL(141, 5, 2), }, { .frequency = 186278400, .index = PLLVAL(124, 4, 2), },
*/ #include <linux/types.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/list.h> #include <linux/clk.h> #include <linux/err.h> #include <plat/cpu.h> #include <plat/cpu-freq-core.h> /* This array should be sorted in ascending order of the frequencies */ static struct cpufreq_frequency_table pll_vals_12MHz[] = { { .frequency = 34000000, .driver_data = PLLVAL(82, 2, 3), }, { .frequency = 45000000, .driver_data = PLLVAL(82, 1, 3), }, { .frequency = 48000000, .driver_data = PLLVAL(120, 2, 3), }, { .frequency = 51000000, .driver_data = PLLVAL(161, 3, 3), }, { .frequency = 56000000, .driver_data = PLLVAL(142, 2, 3), }, { .frequency = 68000000, .driver_data = PLLVAL(82, 2, 2), }, { .frequency = 79000000, .driver_data = PLLVAL(71, 1, 2), }, { .frequency = 85000000, .driver_data = PLLVAL(105, 2, 2), }, { .frequency = 90000000, .driver_data = PLLVAL(112, 2, 2), }, { .frequency = 101000000, .driver_data = PLLVAL(127, 2, 2), }, { .frequency = 113000000, .driver_data = PLLVAL(105, 1, 2), }, { .frequency = 118000000, .driver_data = PLLVAL(150, 2, 2), }, { .frequency = 124000000, .driver_data = PLLVAL(116, 1, 2), }, { .frequency = 135000000, .driver_data = PLLVAL(82, 2, 1), }, { .frequency = 147000000, .driver_data = PLLVAL(90, 2, 1), }, { .frequency = 152000000, .driver_data = PLLVAL(68, 1, 1), },
* 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. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/clk.h> #include <linux/err.h> #include <plat/cpu.h> #include <plat/cpu-freq-core.h> static struct cpufreq_frequency_table s3c2440_plls_12[] __initdata = { { .frequency = 75000000, .index = PLLVAL(0x75, 3, 3), }, { .frequency = 80000000, .index = PLLVAL(0x98, 4, 3), }, { .frequency = 90000000, .index = PLLVAL(0x70, 2, 3), }, { .frequency = 100000000, .index = PLLVAL(0x5c, 1, 3), }, { .frequency = 110000000, .index = PLLVAL(0x66, 1, 3), }, { .frequency = 120000000, .index = PLLVAL(0x70, 1, 3), }, { .frequency = 150000000, .index = PLLVAL(0x75, 3, 2), }, { .frequency = 160000000, .index = PLLVAL(0x98, 4, 2), }, { .frequency = 170000000, .index = PLLVAL(0x4d, 1, 2), }, { .frequency = 180000000, .index = PLLVAL(0x70, 2, 2), }, { .frequency = 190000000, .index = PLLVAL(0x57, 1, 2), }, { .frequency = 200000000, .index = PLLVAL(0x5c, 1, 2), }, { .frequency = 210000000, .index = PLLVAL(0x84, 2, 2), }, { .frequency = 220000000, .index = PLLVAL(0x66, 1, 2), }, { .frequency = 230000000, .index = PLLVAL(0x6b, 1, 2), }, { .frequency = 240000000, .index = PLLVAL(0x70, 1, 2), },