forked from ddrown/pps-gmtimer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
kernel-tclkin.patch
28 lines (23 loc) · 972 Bytes
/
kernel-tclkin.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/arch/arm/mach-omap2/cclock33xx_data.c b/arch/arm/mach-omap2/cclock33xx_data.c
index 11a8173..93d1f8b 100644
--- a/arch/arm/mach-omap2/cclock33xx_data.c
+++ b/arch/arm/mach-omap2/cclock33xx_data.c
@@ -71,8 +71,8 @@ DEFINE_CLK_MUX(sys_clkin_ck, sys_clkin_ck_parents, NULL, 0x0,
AM33XX_CONTROL_STATUS_SYSBOOT1_WIDTH,
0, NULL);
-/* External clock - 12 MHz */
-DEFINE_CLK_FIXED_RATE(tclkin_ck, CLK_IS_ROOT, 12000000, 0x0);
+/* External clock - 24 MHz */
+DEFINE_CLK_FIXED_RATE(tclkin_ck, CLK_IS_ROOT, 24000000, 0x0);
/* Module clocks and DPLL outputs */
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index ea4d89c..2bfa541 100644
--- a/arch/arm/plat-omap/dmtimer.c
+++ b/arch/arm/plat-omap/dmtimer.c
@@ -514,7 +514,7 @@ int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source)
break;
case OMAP_TIMER_SRC_EXT_CLK:
- parent_name = "timer_ext_ck";
+ parent_name = "tclkin_ck";
break;
}