From: chunfeng.yun@mediatek.com (Chunfeng Yun)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string
Date: Wed, 23 Aug 2017 07:14:33 +0800 [thread overview]
Message-ID: <1503443673.17567.8.camel@mhfsdcap03> (raw)
In-Reply-To: <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1502854628.git.chunfeng.yun@mediatek.com>
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.
next prev parent reply other threads:[~2017-08-22 23:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 6:08 [PATCH v2 1/4] usb: mtu3: add generic compatible string Chunfeng Yun
2017-08-16 6:08 ` [PATCH v2 2/4] usb: xhci-mtk: " Chunfeng Yun
2017-08-22 23:14 ` Chunfeng Yun [this message]
2017-08-31 16:03 ` Greg Kroah-Hartman
2017-08-31 16:08 ` Greg Kroah-Hartman
2017-08-16 6:08 ` [PATCH v2 3/4] dt-bindings: mt8173-mtu3: add generic compatible and rename file Chunfeng Yun
2017-08-22 2:02 ` Rob Herring
2017-08-16 6:08 ` [PATCH v2 4/4] dt-bindings: mt8173-xhci: " Chunfeng Yun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1503443673.17567.8.camel@mhfsdcap03 \
--to=chunfeng.yun@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox