lkml.org 
[lkml]   [2016]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Support hisilicon 64bit mode timer
Date
There is a kind of 64bit mode timer in hisilicon soc(like Hip05, Hip06 and
some arm32 soc), it is very similar with ARM sp804 Dual Timers, but TimerX
LOAD/Value/BGLoad are 64bit(two 32bit regs), and reg offset is different.

This patchset make some cleanup and enable 64bit mode timer for hisilicon.

Kefeng Wang (4):
clocksource: sp804: cleanup clk_get_sys()
clocksource: sp804: introduce helper sp804_load_mode_set()
clocksource: sp804: use sp804_timer_disable() where possible
clocksource: sp804: support 64bit mode for hisilicon timer64

.../devicetree/bindings/timer/arm,sp804.txt | 1 +
drivers/clocksource/timer-sp.h | 1 +
drivers/clocksource/timer-sp804.c | 142 +++++++++++++--------
3 files changed, 92 insertions(+), 52 deletions(-)

--
1.7.12.4

\
 
 \ /
  Last update: 2016-05-28 12:01    [W:0.040 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site