diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2025-12-03 14:18:45 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-12-03 14:18:45 -0600 |
| commit | 9f1aa395ad7889685ce7ea69a1a5badfacfce5e4 (patch) | |
| tree | 9ba2291273595876d52c68f22faf10908e07f126 /include/linux/pci.h | |
| parent | 7a13e837d20f7b02304df596fdcf63dc7ef05d59 (diff) | |
| parent | 4c9c7be47310c1dbd7b6d37d45986123f5b133b4 (diff) | |
Merge branch 'pci/pwrctrl-tc9563'
- Add a struct pci_ops.assert_perst() function pointer to assert/deassert
PCIe PERST# and implement it for the qcom driver (Krishna Chaitanya
Chundru)
- Add DT binding and pwrctrl driver for the Toshiba TC9563 PCIe switch,
which must be held in reset after poweron so the pwrctrl driver can
configure the switch via I2C before bringing up the links (Krishna
Chaitanya Chundru)
* pci/pwrctrl-tc9563:
PCI: pwrctrl: Add power control driver for TC9563
PCI: qcom: Implement .assert_perst()
PCI: dwc: Implement .assert_perst() for dwc glue drivers
PCI: Add .assert_perst() to control PCIe PERST#
dt-bindings: PCI: Add binding for Toshiba TC9563 PCIe switch
Diffstat (limited to 'include/linux/pci.h')
| -rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 21fe5cd9eaec..71ae8a3b34ff 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -832,6 +832,7 @@ struct pci_ops { void __iomem *(*map_bus)(struct pci_bus *bus, unsigned int devfn, int where); int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); + int (*assert_perst)(struct pci_bus *bus, bool assert); }; /* |
