clocksource: oxnas: add OX820 compatible
Subsystems (2)
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.
Signed-off-by Neil Armstrong <[email protected]>
--- 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
@@ -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
@@ -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
Rob Herring
maintainerQuoted 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.Signed-off-by Neil Armstrong <[email protected]>--- 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
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 sourcedrivers/clocksource/timer-oxnas-rps.c +2
-0@@ -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