From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752772AbdHVXOn (ORCPT ); Tue, 22 Aug 2017 19:14:43 -0400 Received: from mailgw02.mediatek.com ([218.249.47.111]:57481 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752332AbdHVXOl (ORCPT ); Tue, 22 Aug 2017 19:14:41 -0400 Message-ID: <1503443673.17567.8.camel@mhfsdcap03> Subject: Re: [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string From: Chunfeng Yun To: Mathias Nyman CC: Greg Kroah-Hartman , Felipe Balbi , Rob Herring , "Matthias Brugger" , Mark Rutland , "Ian Campbell" , , , , , Date: Wed, 23 Aug 2017 07:14:33 +0800 In-Reply-To: <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1502854628.git.chunfeng.yun@mediatek.com> References: <670f9ce1ecaec5859006b6f02b45cfc72c3cca2c.1502854628.git.chunfeng.yun@mediatek.com> <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1502854628.git.chunfeng.yun@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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.