aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/dw_apb_timer.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-18Revert "dw_apb_timer_of.c: Remove parts that were picoxcell-specific"John Stultz1-0/+6
This reverts commit 55a68c23e0a675b2b8ac2656fd6edbf98b78e4c6. In order to avoid a collision with dw_apb_timer changes in the arm-soc tree, revert this change. I'm leaving it to the arm-soc folks to sort out if they want to keep the other side of the collision or if they're just going to back it all out and try again during the next release cycle. Reported-by: Dinh Nguyen <[email protected]> Signed-off-by: John Stultz <[email protected]>
2013-05-28dw_apb_timer_of.c: Remove parts that were picoxcell-specificPavel Machek1-6/+0
It seems we made a mistake when creating dw_apb_timer_of.c: picoxcell sched_clock had parts that were not related to dw_apb_timer, yet we moved them to dw_apb_timer_of, and tried to use them on socfpga. This results in system where user/system time is not measured properly, as demonstrated by time dd if=/dev/urandom of=/dev/zero bs=100000 count=100 So this patch switches sched_clock to hardware that exists on both platforms, and adds missing of_node_put() in dw_apb_timer_init(). Signed-off-by: Pavel Machek <[email protected]> Acked-by: Jamie Iles <[email protected]> Signed-off-by: John Stultz <[email protected]>
2013-05-16clocksource: apb_timer: Remove unsused functionThomas Gleixner1-12/+0
Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: John Stultz <[email protected]> Cc: Magnus Damm <[email protected]> Acked-by: Jamie Iles <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
2011-10-04dw_apb_timer: constify clocksource nameJamie Iles1-1/+1
The clocksource name should be const for correctness. Cc: John Stultz <[email protected]> Signed-off-by: Jamie Iles <[email protected]> Signed-off-by: John Stultz <[email protected]>
2011-06-27clocksource: apb: Share APB timer code with other platformsJamie Iles1-0/+401
The APB timers are an IP block from Synopsys (DesignWare APB timers) and are also found in other systems including ARM SoC's. This patch adds functions for creating clock_event_devices and clocksources from APB timers but does not do the resource allocation. This is handled in a higher layer to allow the timers to be created from multiple methods such as platform_devices. Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Jacob Pan <[email protected]> Signed-off-by: Jamie Iles <[email protected]> Signed-off-by: John Stultz <[email protected]>