From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751827AbdIAJ4f (ORCPT ); Fri, 1 Sep 2017 05:56:35 -0400 Received: from mga05.intel.com ([192.55.52.43]:25882 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbdIAJ4d (ORCPT ); Fri, 1 Sep 2017 05:56:33 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,457,1498546800"; d="scan'208";a="1213393219" Subject: Re: [PATCH v3 1/3] usb: xhci-mtk: add generic compatible string To: Chunfeng Yun , Mathias Nyman , Greg Kroah-Hartman , Felipe Balbi , Rob Herring References: <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1504092763.git.chunfeng.yun@mediatek.com> Cc: Matthias Brugger , Mark Rutland , Ian Campbell , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org From: Mathias Nyman Message-ID: <59A92FA3.5090105@linux.intel.com> Date: Fri, 1 Sep 2017 13:00:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1504092763.git.chunfeng.yun@mediatek.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30.08.2017 14:34, 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); > Acked-by: Mathias Nyman