]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
clocksource/drivers/oxnas: Add OX820 compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 9 Sep 2016 13:26:08 +0000 (15:26 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Sep 2016 05:28:46 +0000 (07:28 +0200)
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 <narmstrong@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt
drivers/clocksource/timer-oxnas-rps.c

index 3ca89cd1caef5a6975f03c6eada8d2f8d0a899ed..d191612539e8867129504b569e6c6a82e7514069 100644 (file)
@@ -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
index bd887e2a8cf8c776e696d0fe8004c049c9f5056c..d630bf417773a4d1513283631b5108e37e76dfb8 100644 (file)
@@ -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);