usb: xhci-mtk: add generic compatible string
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 30 Aug 2017 11:34:09 +0000 (19:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:08:46 +0000 (18:08 +0200)
The xhci-mtk driver is a generic driver for MediaTek xHCI IP, add
a generic compatible to avoid confusion when support new SoCs but
use a compatible with specific SoC's name "mt8173".

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c

index 67d5dc7..8fb6065 100644 (file)
@@ -795,6 +795,7 @@ static const struct dev_pm_ops xhci_mtk_pm_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id mtk_xhci_of_match[] = {
        { .compatible = "mediatek,mt8173-xhci"},
+       { .compatible = "mediatek,mtk-xhci"},
        { },
 };
 MODULE_DEVICE_TABLE(of, mtk_xhci_of_match);