clocksource/drivers/sysctr: Add nxp system counter timer driver support
authorBai Ping <ping.bai@nxp.com>
Wed, 5 Jun 2019 06:40:52 +0000 (06:40 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Jun 2019 17:49:18 +0000 (19:49 +0200)
commit7117a44bc0eb5d73dc8aa8df92134f736c2099ac
tree210e103771226a44126aa4f9b7969ebe1da96a28
parent668f870f98ac935a550e8f9b1fa6ef74831b3b40
clocksource/drivers/sysctr: Add nxp system counter timer driver support

The system counter (sys_ctr) is a programmable system counter
which provides a shared time base to the Cortex A15, A7, A53 etc cores.
It is intended for use in applications where the counter is always
powered on and supports multiple, unrelated clocks. The sys_ctr hardware
supports:
 - 56-bit counter width (roll-over time greater than 40 years)
 - compare frame(64-bit compare value) contains programmable interrupt
   generation when compare value <= counter value.

[dlezcano] Fixed over 80 chars length warning

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt [new file with mode: 0644]
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/timer-imx-sysctr.c [new file with mode: 0644]