diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-09-18 21:22:35 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-09-24 10:51:04 +0200 |
commit | bd5a1936ffa2b69032815775fa54fc1c422d49d5 (patch) | |
tree | 55db2b06065ca6c0cb783282dd71d390899f3559 /drivers/clocksource/clksrc-dbx500-prcmu.c | |
parent | 23c788cd48db9e2646fb5455f004e4a5626e4230 (diff) |
clocksource/drivers/sp804: Add support for Hisilicon sp804 timer
The ARM SP804 supports a maximum of 32-bit counter, but Hisilicon extends
it to 64-bit. That means, the registers: TimerXload, TimerXValue and
TimerXBGLoad are 64bits, all other registers are the same as those in the
SP804. The driver code can be completely reused except that the register
offset is different.
Use compatible = "hisilicon,sp804" mark as Hisilicon sp804 timer.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200918132237.3552-8-thunder.leizhen@huawei.com
Diffstat (limited to 'drivers/clocksource/clksrc-dbx500-prcmu.c')
0 files changed, 0 insertions, 0 deletions