15 #include <linux/types.h>
16 #include <linux/kernel.h>
17 #include <linux/device.h>
25 { .frequency = 75000000, .index =
PLLVAL(0x75, 3, 3), },
26 { .frequency = 80000000, .index =
PLLVAL(0x98, 4, 3), },
27 { .frequency = 90000000, .index =
PLLVAL(0x70, 2, 3), },
28 { .frequency = 100000000, .index =
PLLVAL(0x5c, 1, 3), },
29 { .frequency = 110000000, .index =
PLLVAL(0x66, 1, 3), },
30 { .frequency = 120000000, .index =
PLLVAL(0x70, 1, 3), },
31 { .frequency = 150000000, .index =
PLLVAL(0x75, 3, 2), },
32 { .frequency = 160000000, .index =
PLLVAL(0x98, 4, 2), },
33 { .frequency = 170000000, .index =
PLLVAL(0x4d, 1, 2), },
34 { .frequency = 180000000, .index =
PLLVAL(0x70, 2, 2), },
35 { .frequency = 190000000, .index =
PLLVAL(0x57, 1, 2), },
36 { .frequency = 200000000, .index =
PLLVAL(0x5c, 1, 2), },
37 { .frequency = 210000000, .index =
PLLVAL(0x84, 2, 2), },
38 { .frequency = 220000000, .index =
PLLVAL(0x66, 1, 2), },
39 { .frequency = 230000000, .index =
PLLVAL(0x6b, 1, 2), },
40 { .frequency = 240000000, .index =
PLLVAL(0x70, 1, 2), },
41 { .frequency = 300000000, .index =
PLLVAL(0x75, 3, 1), },
42 { .frequency = 310000000, .index =
PLLVAL(0x93, 4, 1), },
43 { .frequency = 320000000, .index =
PLLVAL(0x98, 4, 1), },
44 { .frequency = 330000000, .index =
PLLVAL(0x66, 2, 1), },
45 { .frequency = 340000000, .index =
PLLVAL(0x4d, 1, 1), },
46 { .frequency = 350000000, .index =
PLLVAL(0xa7, 4, 1), },
47 { .frequency = 360000000, .index =
PLLVAL(0x70, 2, 1), },
48 { .frequency = 370000000, .index =
PLLVAL(0xb1, 4, 1), },
49 { .frequency = 380000000, .index =
PLLVAL(0x57, 1, 1), },
50 { .frequency = 390000000, .index =
PLLVAL(0x7a, 2, 1), },
51 { .frequency = 400000000, .index =
PLLVAL(0x5c, 1, 1), },
61 return PTR_ERR(xtal_clk);
66 if (xtal == 12000000) {
76 .name =
"s3c2440_plls12",
78 .add_dev = s3c2440_plls12_add,
81 static int __init s3c2440_pll_12mhz(
void)
90 .name =
"s3c2442_plls12",
92 .add_dev = s3c2440_plls12_add,
95 static int __init s3c2442_pll_12mhz(
void)