[PATCH V13 resend 3/4] clocksource: add gx6605s SOC system timer

2018-11-02 Thread Guo Ren
The driver is for gx6605s SOC system timer and there are two same timers in gx6605s. We use one for clkevt and another one for clksrc. The timer is mmio map to access, so we need give mmio address in dts. The counter at 0x0 offset is clock event. The counter at 0x40 offset is clock source.

[PATCH V13 resend 3/4] clocksource: add gx6605s SOC system timer

2018-11-02 Thread Guo Ren
The driver is for gx6605s SOC system timer and there are two same timers in gx6605s. We use one for clkevt and another one for clksrc. The timer is mmio map to access, so we need give mmio address in dts. The counter at 0x0 offset is clock event. The counter at 0x40 offset is clock source.