[PATCH v1 1/3] timer MediaTek use upstream compatible

matthias.bgg at kernel.org matthias.bgg at kernel.org
Sun Apr 26 01:17:44 CEST 2020


From: Matthias Brugger <mbrugger at suse.com>

The timers compatible string in upstream is called
mt6577-timer. Add this compatible to the driver.

Signed-off-by: Matthias Brugger <mbrugger at suse.com>
---

 drivers/timer/mtk_timer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/timer/mtk_timer.c b/drivers/timer/mtk_timer.c
index b5e76bd358..e99135e5be 100644
--- a/drivers/timer/mtk_timer.c
+++ b/drivers/timer/mtk_timer.c
@@ -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" },
 	{ }
 };
 
-- 
2.26.0



More information about the U-Boot mailing list