usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
Subsystems (3)
PATCH 1/1 usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
From: Raymond Tan <[email protected]>
Similar to some other IA platforms, Elkhart Lake too depends on the PMU register write to request transition of Dx power state.
Thus, we add the PCI_DEVICE_ID_INTEL_EHLLP to the list of devices that shall execute the ACPI _DSM method during D0/D3 sequence.
[[email protected]: included Fixes tag]
--- drivers/usb/dwc3/dwc3-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/dwc3/dwc3-pci.c +2 -1
@@ -147,7 +147,8 @@ static int dwc3_pci_quirks(struct dwc3_pci *dwc)if (pdev->vendor ==PCI_VENDOR_ID_INTEL ) {if (pdev->device ==PCI_DEVICE_ID_INTEL_BXT || - pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M ) { + pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M || + pdev->device ==PCI_DEVICE_ID_INTEL_EHLLP ) {guid_parse (PCI_INTEL_BXT_DSM_GUID , &dwc->guid); dwc->has_dsm_for_pm = true; }
Signature · 1 line
2.28.0
Hi Felipe,
Quoted 23 lines · Heikki Krogerus
From: Raymond Tan <[email protected]>
Similar to some other IA platforms, Elkhart Lake too depends on the PMU register write to request transition of Dx power state.
Thus, we add the
PCI_DEVICE_ID_INTEL_EHLLPto the list of devices that shall execute the ACPI_DSMmethod during D0/D3 sequence.
a
[[email protected]: included Fixes tag]Fixes dbb0569de852 ("usb: dwc3: pci: Add Support for Intel Elkhart Lake Devices")Signed-off-by Raymond Tan <[email protected]>Signed-off-by Heikki Krogerus <[email protected]>--- drivers/usb/dwc3/dwc3-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/usb/dwc3/dwc3-pci.c +0
-0
drivers/usb/dwc3/dwc3-pci.c static int dwc3_pci_quirks(struct dwc3_pci *dwc) · line 154
Quoted 9 lines
drivers/usb/dwc3/dwc3-pci.c +2
-1@@ -147,7 +147,8 @@ static int dwc3_pci_quirks(struct dwc3_pci *dwc)if (pdev->vendor ==PCI_VENDOR_ID_INTEL ) {if (pdev->device ==PCI_DEVICE_ID_INTEL_BXT || - pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M ) { + pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M || + pdev->device ==PCI_DEVICE_ID_INTEL_EHLLP ) {guid_parse (PCI_INTEL_BXT_DSM_GUID , &dwc->guid); dwc->has_dsm_for_pm = true; }
I think this has gone under your radar. Let me know if you want anything to be changed.
thanks,
Signature · 1 line
heikki
Felipe Balbi
AppliedQuoted 27 lines · Heikki Krogerus
Hi Felipe,
Quoted 24 lines · Heikki Krogerus
From: Raymond Tan <[email protected]>
Similar to some other IA platforms, Elkhart Lake too depends on the PMU register write to request transition of Dx power state.
Thus, we add the
PCI_DEVICE_ID_INTEL_EHLLPto the list of devices that shall execute the ACPI_DSMmethod during D0/D3 sequence.
a
[[email protected]: included Fixes tag]Fixes dbb0569de852 ("usb: dwc3: pci: Add Support for Intel Elkhart Lake Devices")Signed-off-by Raymond Tan <[email protected]>Signed-off-by Heikki Krogerus <[email protected]>--- drivers/usb/dwc3/dwc3-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/usb/dwc3/dwc3-pci.c +0
-0@@ -147,7 +147,8 @@ static int dwc3_pci_quirks(struct dwc3_pci *dwc)
Quoted 11 lines
drivers/usb/dwc3/dwc3-pci.c static int dwc3_pci_quirks(struct dwc3_pci *dwc) · line 154
Quoted 8 lines
drivers/usb/dwc3/dwc3-pci.c +2
-1if (pdev->vendor ==PCI_VENDOR_ID_INTEL ) {if (pdev->device ==PCI_DEVICE_ID_INTEL_BXT || - pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M ) { + pdev->device ==PCI_DEVICE_ID_INTEL_BXT_M || + pdev->device ==PCI_DEVICE_ID_INTEL_EHLLP ) {guid_parse (PCI_INTEL_BXT_DSM_GUID , &dwc->guid); dwc->has_dsm_for_pm = true; }I think this has gone under your radar. Let me know if you want anything to be changed.
Applied
Signature · 1 line
balbi