Skip to content

Commit 424ee7b

Browse files
FROMLIST: pci: quirks: Advertise D3cold capability for UPD720201
PCIe-to-USB bridge UPD720201 does not advertise D3cold support until firmware is loaded post pci enumeration. This results in upd blocking D3cold entry during system suspend and causing overall failure to enter XO shutdown. Hence, add a quirk to advertise D3cold PME capability since the HW actually supports and advertises it post firmware loading. Link: https://lore.kernel.org/all/20260430-d3cold_support-v1-1-6734f280c481@oss.qualcomm.com/ Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@oss.qualcomm.com>
1 parent cdf31ed commit 424ee7b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6429,3 +6429,13 @@ static void pci_mask_replay_timer_timeout(struct pci_dev *pdev)
64296429
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9750, pci_mask_replay_timer_timeout);
64306430
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9755, pci_mask_replay_timer_timeout);
64316431
#endif
6432+
6433+
/*
6434+
* Renesas PCIe-to-USB bridge UPD720201 does not advertise D3cold
6435+
* capability by default until firmware is loaded post-enumeration.
6436+
*/
6437+
static void quirk_enable_d3cold(struct pci_dev *dev)
6438+
{
6439+
dev->pme_support = dev->pme_support | (1 << PCI_D3cold);
6440+
}
6441+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_RENESAS, 0x0014, quirk_enable_d3cold);

0 commit comments

Comments
 (0)