coreboot-kgpe-d16/src/soc/intel/common
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 soc/intel/common/acpi: correct indentation 2020-10-19 06:59:48 +00:00
basecode soc/intel/common: Keep common non-IP code block inside basecode 2020-09-21 16:16:46 +00:00
block soc/intel/common: Fix/clean up USB4 PCIe virtual/generic driver 2020-10-21 15:35:50 +00:00
pch src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
acpi.h treewide: replace GPLv2 long form headers with SPDX header 2020-05-06 22:20:57 +00:00
acpi_wake_source.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
hda_verb.c {soc/intel/common,sb/intel/lynxpoint}/hda_verb.c: Reduce differences 2020-08-17 06:59:24 +00:00
hda_verb.h soc/intel/common: Move common HDA registers to <device/azalia_device.h> 2020-08-17 06:44:04 +00:00
Kconfig.common soc/intel: Configure PAVP at compile-time 2020-10-12 23:11:04 +00:00
Makefile.inc
mma.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mma.h src: Remove unused 'include <stdint.h> 2020-07-14 16:11:10 +00:00
nhlt.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
reset.c Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
reset.h Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
smbios.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
tpm_tis.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
vbt.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
vbt.h src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00