public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
@ 2021-12-15  9:32 Nehal Bakulchandra Shah
  2021-12-15 22:38 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Nehal Bakulchandra Shah @ 2021-12-15  9:32 UTC (permalink / raw)
  To: mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel, Nehal Bakulchandra Shah

AMD's Yellow Carp platform has few more XHCI controllers, 
enable the runtime power management support for the same.

Signed-off-by: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com>
---
 drivers/usb/host/xhci-pci.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 92adf6107864..3af017883231 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -71,6 +71,8 @@
 #define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_4		0x161e
 #define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_5		0x15d6
 #define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6		0x15d7
+#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_7		0x161c
+#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_8		0x161f
 
 #define PCI_DEVICE_ID_ASMEDIA_1042_XHCI			0x1042
 #define PCI_DEVICE_ID_ASMEDIA_1042A_XHCI		0x1142
@@ -330,7 +332,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_3 ||
 	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_4 ||
 	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_5 ||
-	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6))
+	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6 ||
+	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_7 ||
+	    pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_8))
 		xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW;
 
 	if (xhci->quirks & XHCI_RESET_ON_RESUME)
-- 
2.25.1


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

* Re: [PATCH] usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
  2021-12-15  9:32 [PATCH] usb: xhci: Extend support for runtime power management for AMD's Yellow carp Nehal Bakulchandra Shah
@ 2021-12-15 22:38 ` Greg KH
  2021-12-16  4:31   ` Shah, Nehal-bakulchandra
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2021-12-15 22:38 UTC (permalink / raw)
  To: Nehal Bakulchandra Shah; +Cc: mathias.nyman, linux-usb, linux-kernel

On Wed, Dec 15, 2021 at 03:02:16PM +0530, Nehal Bakulchandra Shah wrote:
> AMD's Yellow Carp platform has few more XHCI controllers, 
> enable the runtime power management support for the same.
> 
> Signed-off-by: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com>
> ---
>  drivers/usb/host/xhci-pci.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Mathias, I can take this now, no need to add it to your queue.

thanks,

greg k-h

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

* Re: [PATCH] usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
  2021-12-15 22:38 ` Greg KH
@ 2021-12-16  4:31   ` Shah, Nehal-bakulchandra
  0 siblings, 0 replies; 3+ messages in thread
From: Shah, Nehal-bakulchandra @ 2021-12-16  4:31 UTC (permalink / raw)
  To: Greg KH; +Cc: mathias.nyman, linux-usb, linux-kernel

Hi Greg
On 12/16/2021 4:08 AM, Greg KH wrote:
> On Wed, Dec 15, 2021 at 03:02:16PM +0530, Nehal Bakulchandra Shah wrote:
>> AMD's Yellow Carp platform has few more XHCI controllers,
>> enable the runtime power management support for the same.
>>
>> Signed-off-by: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com>
>> ---
>>   drivers/usb/host/xhci-pci.c | 6 +++++-
>>   1 file changed, 5 insertions(+), 1 deletion(-)
> 
> Mathias, I can take this now, no need to add it to your queue.
> 
> thanks,
> 
> greg k-h
> 

Thanks
Nehal

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

end of thread, other threads:[~2021-12-16  4:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15  9:32 [PATCH] usb: xhci: Extend support for runtime power management for AMD's Yellow carp Nehal Bakulchandra Shah
2021-12-15 22:38 ` Greg KH
2021-12-16  4:31   ` Shah, Nehal-bakulchandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox