Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/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 <narmstrong@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Neil Armstrong and committed by
Daniel Lezcano
2ea3401e 2783e5d6

+3 -1
+1 -1
Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt
··· 2 2 ================================================ 3 3 4 4 Required properties: 5 - - compatible: Should be "oxsemi,ox810se-rps-timer" 5 + - compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer" 6 6 - reg : Specifies base physical address and size of the registers. 7 7 - interrupts : The interrupts of the two timers 8 8 - clocks : The phandle of the timer clock source
+2
drivers/clocksource/timer-oxnas-rps.c
··· 295 295 296 296 CLOCKSOURCE_OF_DECLARE(ox810se_rps, 297 297 "oxsemi,ox810se-rps-timer", oxnas_rps_timer_init); 298 + CLOCKSOURCE_OF_DECLARE(ox820_rps, 299 + "oxsemi,ox820se-rps-timer", oxnas_rps_timer_init);