Re: [PATCH v2 7/9] clocksource: sp804: add support for Hisilicon sp804 timer

2020-09-18 Thread Leizhen (ThunderTown)
On 2020/9/18 16:53, Daniel Lezcano wrote: > On 12/09/2020 13:45, Zhen Lei wrote: >> 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

Re: [PATCH v2 7/9] clocksource: sp804: add support for Hisilicon sp804 timer

2020-09-18 Thread Daniel Lezcano
On 12/09/2020 13:45, Zhen Lei wrote: > 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

[PATCH v2 7/9] clocksource: sp804: add support for Hisilicon sp804 timer

2020-09-12 Thread Zhen Lei
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