diff mbox series

[10/14] clocksource/drivers/npcm: Add support for WPCM450

Message ID 20210320181610.680870-11-j.neuschaefer@gmx.net (mailing list archive)
State New, archived
Headers show
Series Initial support for Nuvoton WPCM450 BMC SoC | expand

Commit Message

J. Neuschäfer March 20, 2021, 6:16 p.m. UTC
Add a compatible string for WPCM450, which has essentially the same
timer controller.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/clocksource/timer-npcm7xx.c | 1 +
 1 file changed, 1 insertion(+)

--
2.30.2

Comments

Daniel Lezcano March 22, 2021, 10:46 a.m. UTC | #1
On 20/03/2021 19:16, Jonathan Neuschäfer wrote:
> Add a compatible string for WPCM450, which has essentially the same
> timer controller.
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---

Applied, thanks
diff mbox series

Patch

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