Heiko Stuebner
1002148899
clocksource: dw_apb_timer_of: use clocksource_of_init
...
dw_apb_timer_init used to search the devicetree for matching timer
devices, making calls to it from board files necessary.
Change the dw_apb_timer_init to work with CLOCKSOURCE_OF_DECLARE.
With this change the function gets called once for each timer node
and tracks these number of calls to attach clockevent and clocksource
devices to the nodes.
Also remove the calls to dw_apb_timer_init from all previous users, as
clocksource_of_init is the default for init_time now.
Tested on the upcoming rk3066 code.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Dinh Nguyen <dinguyen@altera.com>
2013-06-12 13:47:38 +02:00
..
acpi_pm.c
Drivers: clocksource: remove __dev* attributes.
2013-01-03 15:57:15 -08:00
arm_arch_timer.c
ARM: arch_timer: Silence debug preempt warnings
2013-04-26 17:17:29 -07:00
bcm2835_timer.c
clocksource: pass DT node pointer to init functions
2013-03-11 08:42:07 -05:00
bcm_kona_timer.c
ARM: bcm281xx: Add timer driver (driver portion)
2013-03-28 10:58:55 -07:00
cadence_ttc_timer.c
arm: zynq: Move timer to generic location
2013-04-04 09:22:09 +02:00
clksrc-dbx500-prcmu.c
ARM: ux500: make remaining headers local
2013-04-08 13:59:48 +02:00
clksrc-of.c
clocksource: make CLOCKSOURCE_OF_DECLARE type safe
2013-03-28 12:01:06 +01:00
cs5535-clockevt.c
clocksource: use clockevents_config_and_register() where possible
2013-01-14 10:12:42 -08:00
cyclone.c
dw_apb_timer.c
dw_apb_timer_of.c
clocksource: dw_apb_timer_of: use clocksource_of_init
2013-06-12 13:47:38 +02:00
em_sti.c
clocksource: em_sti: Set initcall level to subsys
2013-03-13 02:24:36 +09:00
exynos_mct.c
ARM: late Exynos multiplatform changes
2013-05-07 11:28:42 -07:00
i8253.c
time: Kill xtime_lock, replacing it with jiffies_lock
2012-11-13 14:08:23 -05:00
Kconfig
clocksource: dw_apb_timer_of: use clocksource_of_init
2013-06-12 13:47:38 +02:00
Makefile
ARM: late Exynos multiplatform changes
2013-05-07 11:28:42 -07:00
metag_generic.c
metag: Time keeping
2013-03-02 20:09:22 +00:00
mmio.c
mxs_timer.c
clocksource: mxs_timer: Add semicolon at end of line
2013-04-03 10:30:08 +08:00
nomadik-mtu.c
clocksource: nomadik-mtu: fix up clocksource/timer
2013-04-26 17:10:46 -07:00
samsung_pwm_timer.c
clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
2013-04-28 12:17:05 -07:00
scx200_hrt.c
sh_cmt.c
clocksource: sh_cmt: Set initcall level to subsys
2013-03-13 02:24:36 +09:00
sh_mtu2.c
clocksource: sh_mtu2: Set initcall level to subsys
2013-03-13 02:24:37 +09:00
sh_tmu.c
clocksource: sh_tmu: Set initcall level to subsys
2013-03-13 02:24:36 +09:00
sun4i_timer.c
clocksource: sunxi: Rename sunxi to sun4i
2013-04-08 21:42:11 +02:00
tcb_clksrc.c
clocksource: use clockevents_config_and_register() where possible
2013-01-14 10:12:42 -08:00
tegra20_timer.c
Merge branch 'tegra/soc' into next/drivers
2013-04-09 17:07:36 +02:00
time-armada-370-xp.c
clocksource: time-armada-370-xp: add local timer support
2013-02-28 18:57:07 +01:00
timer-marco.c
ARM: sirf: use clocksource_of infrastructure
2013-03-25 12:29:41 +01:00
timer-prima2.c
ARM: sirf: use clocksource_of infrastructure
2013-03-25 12:29:41 +01:00
vt8500_timer.c
clocksource: make CLOCKSOURCE_OF_DECLARE type safe
2013-03-28 12:01:06 +01:00