linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: dwc3: pci: add support for the Intel Alder Lake-S
@ 2020-10-06 12:51 Heikki Krogerus
  2020-10-06 12:55 ` Heikki Krogerus
  0 siblings, 1 reply; 2+ messages in thread
From: Heikki Krogerus @ 2020-10-06 12:51 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: Greg Kroah-Hartman, linux-usb

This patch adds the necessary PCI ID for Intel Alder Lake-S
devices.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 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..42ed6bc4dab63 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_swnode, },
+
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NL_USB),
 	  (kernel_ulong_t) &dwc3_pci_amd_properties, },
 	{  }	/* Terminating Entry */
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: dwc3: pci: add support for the Intel Alder Lake-S
  2020-10-06 12:51 [PATCH] usb: dwc3: pci: add support for the Intel Alder Lake-S Heikki Krogerus
@ 2020-10-06 12:55 ` Heikki Krogerus
  0 siblings, 0 replies; 2+ messages in thread
From: Heikki Krogerus @ 2020-10-06 12:55 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: Greg Kroah-Hartman, linux-usb

On Tue, Oct 06, 2020 at 03:51:52PM +0300, Heikki Krogerus wrote:
> This patch adds the necessary PCI ID for Intel Alder Lake-S
> devices.
> 
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
>  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..42ed6bc4dab63 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_swnode, },
> +

Oh, this is broken. I have to resend. Sorry about that.

thanks,

-- 
heikki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-06 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 12:51 [PATCH] usb: dwc3: pci: add support for the Intel Alder Lake-S Heikki Krogerus
2020-10-06 12:55 ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).