summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/armv8-timer.c
Commit message (Collapse)AuthorAgeFilesLines
* clocksource: Enable architected timer support for CPU_V7Sascha Hauer2019-03-111-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: armv8-timer: Make use of postcore_platform_driver()Andrey Smirnov2018-06-111-5/+1
| | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: armv8-timer: Make armv8_clocksource_read() staticAndrey Smirnov2018-06-111-1/+1
| | | | | | | | There are no users of that function outside of the driver itself, so re-declare it as static. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: armv8-timer: Convert explicit assembly into helpersAndrey Smirnov2018-06-111-11/+2
| | | | | | | | | | Move inline assembly related to querying and counter value as well as getting and setting counter frequency register into asm/system.h as well as converting it inot helper functions. This is done to make the code availible to other parts of the system. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: Add armv8 generic timer supportSascha Hauer2018-03-211-0/+65
armv8 has a generic time used in many SoCs. Add support for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>