Andreas Färber
0ec5477c3e
clocksource/drivers/owl: Add the S700 timer
...
Actions S700 has two 2Hz timers like S500, and four TIMx timers like S900.
Signed-off-by: Andreas Färber <afaerber@suse.de >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Linus Torvalds <torvalds@linux-foundation.org >
Cc: Peter Zijlstra <peterz@infradead.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Link: http://lkml.kernel.org/r/1515418139-23276-3-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org >
2018-01-08 17:57:23 +01:00
Andreas Färber
f58639ac29
clocksource/drivers/owl: Adopt TIMER_OF_DECLARE()
...
The following commit:
1727339590
("clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE")
deprecated CLOCKSOURCE_OF_DECLARE(), so adopt the new TIMER_OF_DECLARE() macro instead.
Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Andreas Färber <afaerber@suse.de >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Linus Torvalds <torvalds@linux-foundation.org >
Cc: Peter Zijlstra <peterz@infradead.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Link: http://lkml.kernel.org/r/1515418139-23276-2-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org >
2018-01-08 17:57:23 +01:00
Arvind Yadav
3c044a15ff
clocksource/drivers/owl: pr_err() strings should end with newlines
...
pr_err() messages should end with a new-line to avoid other messages being
concatenated.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com >
Reviewed-by: Andreas Färber <afaerber@suse.de >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2017-10-19 23:49:01 +02:00
Andreas Färber
f35b093615
clocksource: owl: Add S900 support
...
The Actions Semi S900 SoC provides four 32-bit timers, TIMER0/1/2/3,
but no 2Hz timers.
An S900 datasheet can be found in 96Boards documentation:
https://github.com/96boards/documentation/blob/master/ConsumerEdition/Bubblegum-96/HardwareDocs/SoC_bubblegum96.pdf
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2017-06-18 21:20:06 +02:00
Andreas Färber
4be78a86c5
clocksource: Add Owl timer
...
The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1.
Use TIMER0 as clocksource and TIMER1 as clockevents.
Based on LeMaker linux-actions tree.
An S500 datasheet can be found on the LeMaker Guitar pages:
http://www.lemaker.org/product-guitar-download-29.html
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2017-06-18 21:19:48 +02:00