Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1712709 > unrolled thread

[PATCH v2 2/4] usb: xhci-mtk: add generic compatible string

Started byChunfeng Yun <chunfeng.yun@mediatek.com>
First post2017-08-16 08:10 +0200
Last post2017-08-23 01:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string Chunfeng Yun <chunfeng.yun@mediatek.com> - 2017-08-16 08:10 +0200
    Re: [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string Chunfeng Yun <chunfeng.yun@mediatek.com> - 2017-08-23 01:20 +0200

#1712709 — [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string

FromChunfeng Yun <chunfeng.yun@mediatek.com>
Date2017-08-16 08:10 +0200
Subject[PATCH v2 2/4] usb: xhci-mtk: add generic compatible string
Message-ID<ueZGF-3rI-7@gated-at.bofh.it>
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>
---
 drivers/usb/host/xhci-mtk.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 67d5dc7..8fb6065 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -795,6 +795,7 @@ static int __maybe_unused xhci_mtk_resume(struct device *dev)
 #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);
-- 
1.7.9.5

[toc] | [next] | [standalone]


#1717887

FromChunfeng Yun <chunfeng.yun@mediatek.com>
Date2017-08-23 01:20 +0200
Message-ID<uhqCK-Ml-3@gated-at.bofh.it>
In reply to#1712709
Hi, Mathias

On Wed, 2017-08-16 at 14:08 +0800, Chunfeng Yun wrote:
> 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>
> ---
>  drivers/usb/host/xhci-mtk.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
> index 67d5dc7..8fb6065 100644
> --- a/drivers/usb/host/xhci-mtk.c
> +++ b/drivers/usb/host/xhci-mtk.c
> @@ -795,6 +795,7 @@ static int __maybe_unused xhci_mtk_resume(struct device *dev)
>  #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);

Do you have any comment about this patch?
Thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web