timer MediaTek use upstream compatible
authorMatthias Brugger <mbrugger@suse.com>
Sat, 25 Apr 2020 23:17:44 +0000 (01:17 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 May 2020 15:34:01 +0000 (11:34 -0400)
The timers compatible string in upstream is called
mt6577-timer. Add this compatible to the driver.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/timer/mtk_timer.c

index b5e76bd3586199e10070e093476007c2ec5cfb46..e99135e5becded143c518bae58b20da28060f241 100644 (file)
@@ -71,6 +71,7 @@ static const struct timer_ops mtk_timer_ops = {
 
 static const struct udevice_id mtk_timer_ids[] = {
        { .compatible = "mediatek,timer" },
+       { .compatible = "mediatek,mt6577-timer" },
        { }
 };