diff mbox

[v4,05/28] clocksource: owl: Add S900 support

Message ID 20170606005426.26446-6-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber June 6, 2017, 12:54 a.m. UTC
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

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v3 -> v4:
 * Dropped S900 DT data
 
 v3: new
 
 drivers/clocksource/owl-timer.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Lezcano June 6, 2017, 4:34 p.m. UTC | #1
On Tue, Jun 06, 2017 at 02:54:03AM +0200, Andreas Färber wrote:
> 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
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Andreas Färber June 18, 2017, 8:50 p.m. UTC | #2
Am 06.06.2017 um 18:34 schrieb Daniel Lezcano:
> On Tue, Jun 06, 2017 at 02:54:03AM +0200, Andreas Färber wrote:
>> 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
>>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
> 
> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>

Thanks, applied to linux-actions.git v4.13/soc branch:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions.git/log/?h=v4.13/soc

Regards,
Andreas
diff mbox

Patch

diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c
index 4609363a79a6..d19c53c11094 100644
--- a/drivers/clocksource/owl-timer.c
+++ b/drivers/clocksource/owl-timer.c
@@ -169,3 +169,4 @@  static int __init owl_timer_init(struct device_node *node)
 	return 0;
 }
 CLOCKSOURCE_OF_DECLARE(owl_s500, "actions,s500-timer", owl_timer_init);
+CLOCKSOURCE_OF_DECLARE(owl_s900, "actions,s900-timer", owl_timer_init);