]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65c7c2359408af60b174953665e881a8d832e223
tree210e103771226a44126aa4f9b7969ebe1da96a28
parent3ae99e3a8e8cbdc862c59a0c65923d0fdeb8e3dc
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]