From patchwork Tue Oct 6 13:02:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heikki Krogerus X-Patchwork-Id: 11818647 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3092159D for ; Tue, 6 Oct 2020 13:02:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 10A552078E for ; Tue, 6 Oct 2020 13:02:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726006AbgJFNCz (ORCPT ); Tue, 6 Oct 2020 09:02:55 -0400 Received: from mga17.intel.com ([192.55.52.151]:28761 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbgJFNCz (ORCPT ); Tue, 6 Oct 2020 09:02:55 -0400 IronPort-SDR: NUF3GfrHEFXg9HvD2Kdw55wuXW5Yqe7h7ntx6NPCV3T1OoCtefE818KoeRT4UBx7bHxVXfd21h XP0rauerbSyw== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="144387699" X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="144387699" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 06:02:52 -0700 IronPort-SDR: mr3lUTw4yOXRP+TUh/AtB3lZnS9Iv/3XQxSxFTHn/0B6M203OKrklCEo1twdJqpXWRttu08fDa Tj8PlyhY7exA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="418165296" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 06 Oct 2020 06:02:50 -0700 From: Heikki Krogerus To: Felipe Balbi Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH v2] usb: dwc3: pci: add support for the Intel Alder Lake-S Date: Tue, 6 Oct 2020 16:02:50 +0300 Message-Id: <20201006130250.15704-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This patch adds the necessary PCI ID for Intel Alder Lake-S devices. Signed-off-by: Heikki Krogerus --- Hi, I had prepared the first version of this patch on top of my software node series [1] that is not ready yet. [1] https://lore.kernel.org/linux-acpi/20200825135951.53340-1-heikki.krogerus@linux.intel.com/ thanks, --- drivers/usb/dwc3/dwc3-pci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index f5a61f57c74f0..83183eb93092b 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -40,6 +40,7 @@ #define PCI_DEVICE_ID_INTEL_TGPLP 0xa0ee #define PCI_DEVICE_ID_INTEL_TGPH 0x43ee #define PCI_DEVICE_ID_INTEL_JSP 0x4dee +#define PCI_DEVICE_ID_INTEL_ADLS 0x7ae1 #define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511" #define PCI_INTEL_BXT_FUNC_PMU_PWR 4 @@ -366,6 +367,9 @@ static const struct pci_device_id dwc3_pci_id_table[] = { { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_JSP), (kernel_ulong_t) &dwc3_pci_intel_properties, }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLS), + (kernel_ulong_t) &dwc3_pci_intel_properties, }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NL_USB), (kernel_ulong_t) &dwc3_pci_amd_properties, }, { } /* Terminating Entry */