coreboot/src
Duncan Laurie 389cb30ced soc/intel/common: Fix/clean up USB4 PCIe virtual/generic driver
This driver is for the root port device and needs to reference the
parent device for its ACPI scope.  Similarly for the debug output it
needs to use the parent device, and fall back to the chip name if
config->desc is not provided in the devicetree.

The UID property is removed.  This value is not the same as the port
number; according to some docs it should be unique but it is not fully
clear what it should be tied to.  Regardless, it is not used by the
Thunderbolt driver in the kernel.

I also renamed some functions/structures to be clear that this is just
an ACPI driver for the PCIe root port and not a driver for the root port
itself.  As part of this I removed the PCI based resource operations and
the scan bus function since this device does not have children itself.

Finally I added a detailed comment with an example describing what the
driver is for and what properties it generates.

TEST=boot on volteer and ensure the USB4 root port device and properties
are added to the SSDT as described by the comment in chip.h.

Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: Id6069a0fb7a0fc6836ddff1dbeca5915e444ee18
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46544
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-10-21 15:35:50 +00:00
..
acpi acpi: Skip writing references for disabled devices in Type-C config 2020-10-20 21:29:53 +00:00
arch sc7180: Enable bootblock compression 2020-10-13 22:41:19 +00:00
commonlib src/commonlib: Drop unneeded empty lines 2020-09-21 15:53:25 +00:00
console src: Rename EM100Pro-specific SPI console Kconfig option 2020-10-13 08:40:52 +00:00
cpu {cpu,soc}/intel: replace AES-NI locking by common implemenation call 2020-10-21 12:34:28 +00:00
device device: Allow virtual/generic devices under PCI in devicetree 2020-10-21 15:35:33 +00:00
drivers mrc_cache: Remove unnecessary data checksum calculation 2020-10-20 23:26:15 +00:00
ec ec/google/chromeec: Add wrappers to get/set the voltage 2020-10-20 06:58:11 +00:00
include device: Export enable_static_device() function 2020-10-21 15:35:24 +00:00
lib lib/imd: move struct definitions to a new header file 2020-10-19 06:55:03 +00:00
mainboard mb/asus/f2a85-m_pro: Turn super-i/o 0x30 writes into on/off 2020-10-21 14:49:15 +00:00
northbridge intel/txt: Add txt_get_chipset_dpr function 2020-10-17 09:34:35 +00:00
security mrc_cache: Add tpm_hash_index field to cache_region struct 2020-10-20 23:26:01 +00:00
soc soc/intel/common: Fix/clean up USB4 PCIe virtual/generic driver 2020-10-21 15:35:50 +00:00
southbridge sb/intel/ibexpeak: Align to coreboot's coding style 2020-10-20 11:52:16 +00:00
superio superio/nuvoton: Factor out equivalent Kconfig option 2020-10-19 07:06:20 +00:00
vendorcode volteer+vendorcode: Retrieve Cr50 version only via SPI 2020-10-19 07:03:37 +00:00
Kconfig drivers/intel/usb4: Add driver for USB4 retimer device 2020-10-19 06:51:40 +00:00