coreboot/src/drivers
Felix Held ed6c999904 soc/amd: add ops xhci_pci_ops to XHCI controllers in devicetree
Instead of adding the new PCI IDs of the XHCI controllers in every new
chip generation to the pci_xhci driver, bind the driver to the internal
PCI devices of the XHCI controllers via the device ops statement in the
chipset devicetree. The PCI device function of the XHCI2 controller in
Mendocino can be either a dummy device or the XHCI controller, so the
device ops are attached to that device in the mainboard devicetree
instead. The Glinda code is right now just a copy of the Mendocino code,
so it'll change in the future, but for consistency the equivalent
changes to those in Mendocino are applied there too.

Since the device ops are now attached to the devices via the static
devicetree entry, also remove both the xhci_pci_driver struct and the
amd_pci_device_ids array from drivers/usb/pci_xhci/pci_xhci.c.

TEST=SSDT entries for the XHCI controllers are still generated on
Mandolin.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I9c455002c6d2aac576fe24eee0c31744b4507bb0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75713
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jon Murphy <jpmurphy@google.com>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2023-06-09 00:10:00 +00:00
..
acpi/thermal_zone
amd
ams
analogix/anx7625
asmedia
aspeed
broadcom
camera
crb
efi drivers/efi: Fix linker error when SMM phase uses option API 2023-04-14 09:41:53 +00:00
elog
emulation/qemu drivers/emulation/qemu/bochs: Fix the MMIO access to the VGA ioports 2023-05-21 22:33:39 +00:00
generic treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
genesyslogic
gfx/generic drivers/gfx/generic: Add _PLD support to GFX device 2023-05-08 13:12:18 +00:00
i2c treewide: Remove 'extern' from functions declaration 2023-05-26 13:45:24 +00:00
intel drivers/intel/fsp2_0: Apply FSP Reset Status W/A for MultiPhaseSiInit 2023-05-02 10:51:17 +00:00
ipmi drivers/ocp/ewl: Add sending Meta's BMC SEL for memory training error 2023-05-22 12:47:33 +00:00
lenovo
maxim
mipi drivers/mipi: Add support for STA_ILI9882T panel 2023-05-09 13:26:52 +00:00
mrc_cache
net drivers/net/r8168: add ACPI _STA field entry 2023-05-13 20:06:58 +00:00
nxp/uwb
ocp drivers/ocp/vpd: Overwrite Linux payload's kernel command via VPD 2023-06-01 13:12:18 +00:00
parade
pc80 drivers/pc80/rtc/mc146818rtc.c: Add Kconfig for RTC CMOS base addresses 2023-05-08 17:51:08 +00:00
pcie drivers/pcie/generic: Add DmaProperty to config 2023-05-11 17:49:28 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
sil/3114
smbus
smmstore drivers/smmstore: Fix fmap_config.h dependency 2023-02-13 12:52:11 +00:00
sof drivers/sof: Add support for max98373a using port SSP2 2023-05-17 11:19:59 +00:00
soundwire drivers/soundwire/cs42l42: Support CS42L42 SoundWire device 2023-05-25 21:22:32 +00:00
spi drivers/spi/winbond.c: Add W25Q256JW_DTR part 2023-06-06 21:14:42 +00:00
ti
tpm
uart treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
usb soc/amd: add ops xhci_pci_ops to XHCI controllers in devicetree 2023-06-09 00:10:00 +00:00
vpd drivers/vpd: Demote FMAP not found printk from error to warn 2023-02-10 08:28:49 +00:00
wifi/generic treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
wwan/fm drivers/wwan/fm: Use RTD3 root port mutex for reset methods 2023-04-05 12:45:45 +00:00