summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2021-03-20 19:16:06 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-04-08 13:24:16 +0200
commit690daddcb60246d8a510aaad7b954bcc53eba17e (patch)
treea5b3cde537b4997a60b6b79057dee0df4c0e6e9b /drivers/clocksource
parent68c70aae06e9660473a00fd7d68e0b53f4d7b6f4 (diff)
clocksource/drivers/npcm: Add support for WPCM450
Add a compatible string for WPCM450, which has essentially the same timer controller. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210320181610.680870-11-j.neuschaefer@gmx.net
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/timer-npcm7xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c
index 9780ffd8010e..a00520cbb660 100644
--- a/drivers/clocksource/timer-npcm7xx.c
+++ b/drivers/clocksource/timer-npcm7xx.c
@@ -208,5 +208,6 @@ static int __init npcm7xx_timer_init(struct device_node *np)
return 0;
}
+TIMER_OF_DECLARE(wpcm450, "nuvoton,wpcm450-timer", npcm7xx_timer_init);
TIMER_OF_DECLARE(npcm7xx, "nuvoton,npcm750-timer", npcm7xx_timer_init);