[tip: timers/core] clocksource/drivers/npcm: Add support for WPCM450

From: tip-bot2 for Jonathan Neuschäfer
Date: Fri Apr 09 2021 - 06:27:54 EST


The following commit has been merged into the timers/core branch of tip:

Commit-ID: 690daddcb60246d8a510aaad7b954bcc53eba17e
Gitweb: https://git.kernel.org/tip/690daddcb60246d8a510aaad7b954bcc53eba17e
Author: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx>
AuthorDate: Sat, 20 Mar 2021 19:16:06 +01:00
Committer: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
CommitterDate: Thu, 08 Apr 2021 13:24:16 +02:00

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@xxxxxxx>
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20210320181610.680870-11-j.neuschaefer@xxxxxxx
---
drivers/clocksource/timer-npcm7xx.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c
index 9780ffd..a00520c 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);