Skip to contentSkip to conversation

clocksource: oxnas: add OX820 compatible

PATCH In review Neil Armstrong 2 participants 2 messages Sep 9, 2016 – Sep 19, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: oxnas: add OX820 compatible

In order to support the Oxford Semiconductor OX820 SoC, add new compatible string to rps timer driver.
Also add new string in the dt-bindings.

---
 Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt | 2 +-
 drivers/clocksource/timer-oxnas-rps.c                        | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt +1 -1
index 3ca89cd..d191612 100644
@@ -2,7 +2,7 @@ Oxford Semiconductor OXNAS SoCs Family RPS Timer
 ================================================
 
 Required properties:
-- compatible: Should be "oxsemi,ox810se-rps-timer"
+- compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer"
 - reg : Specifies base physical address and size of the registers.
 - interrupts : The interrupts of the two timers
 - clocks : The phandle of the timer clock source
drivers/clocksource/timer-oxnas-rps.c +2 -0
index bd887e2..d630bf4 100644
@@ -295,3 +295,5 @@ err_alloc:
 
 CLOCKSOURCE_OF_DECLARE(ox810se_rps,
 		       "oxsemi,ox810se-rps-timer", oxnas_rps_timer_init);
+CLOCKSOURCE_OF_DECLARE(ox820_rps,
+		       "oxsemi,ox820se-rps-timer", oxnas_rps_timer_init);
Signature · 1 line
2.7.0
maintainer
#1 lore raw
Quoted 15 lines · Neil Armstrong

In order to support the Oxford Semiconductor OX820 SoC, add new compatible string to rps timer driver.
Also add new string in the dt-bindings.

---
 Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt | 2 +-
 drivers/clocksource/timer-oxnas-rps.c                        | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt +0 -0
index 3ca89cd..d191612 100644

Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt Oxford Semiconductor OXNAS SoCs Family RPS Timer · line 5

Quoted 5 lines
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt +1 -1
@@ -2,7 +2,7 @@ Oxford Semiconductor OXNAS SoCs Family RPS Timer
 ================================================
 
 Required properties:
-- compatible: Should be "oxsemi,ox810se-rps-timer"
+- compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer"

Seems like this should be ox820 followed by ox810se and no kernel change.

Quoted 20 lines
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt +0 -0
 - reg : Specifies base physical address and size of the registers.
 - interrupts : The interrupts of the two timers
 - clocks : The phandle of the timer clock source
drivers/clocksource/timer-oxnas-rps.c +2 -0
index bd887e2..d630bf4 100644
@@ -295,3 +295,5 @@ err_alloc:
 
 CLOCKSOURCE_OF_DECLARE(ox810se_rps,
 		       "oxsemi,ox810se-rps-timer", oxnas_rps_timer_init);
+CLOCKSOURCE_OF_DECLARE(ox820_rps,
+		       "oxsemi,ox820se-rps-timer", oxnas_rps_timer_init);
Signature · 6 lines
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html