coreboot/src/drivers
Raul E Rangel 1a31b103c7 drivers/usb/pci_xhci: Add a driver to generate xHCI ACPI nodes
We can use xhci_for_each_ext_cap to inspect the xHC so we generate the
correct number of device nodes.

    Scope (\_SB.PCI0.PBRA)
    {
        Device (XHC1)
        {
            Name (_ADR, 0x0000000000000004)  // _ADR: Address
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }

            Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
            {
                0x1F,
                0x03
            })
            Device (RHUB)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Device (HS01)
                {
                    Name (_ADR, 0x01)  // _ADR: Address
                }

                Device (HS02)
                {
                    Name (_ADR, 0x02)  // _ADR: Address
                }

                Device (SS01)
                {
                    Name (_ADR, 0x03)  // _ADR: Address
                }
            }

            Name (_S0W, Zero)  // _S0W: S0 Device Wake State
            Name (_S3W, 0x04)  // _S3W: S3 Device Wake State
            Name (_S4W, 0x04)  // _S4W: S4 Device Wake State
        }
    }

BUG=b:154756391
TEST=Boot trembyle and look at ACPI table. See all xHCI nodes.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I44ebaef342e45923bc181ceebef882358d33f0d1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41900
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-07-10 23:32:16 +00:00
..
amd/agesa binaryPI: Replace CONFIG(ARCH_xx) test 2020-06-10 18:33:34 +00:00
ams treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
analogix/anx7625 src: Remove unused '#include <timer.h>' 2020-06-02 07:39:05 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed aspeed/ast2050: Fix when resources are added 2020-05-14 21:25:59 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
crb treewide: Convert more license headers to SPDX style 2020-05-11 19:37:19 +00:00
elog ACPI,drivers/: Do not guard <acpi/acpi.h> 2020-06-18 12:56:01 +00:00
emulation/qemu drivers/emulation/qemu/bochs: Rewrite driver 2020-05-20 09:50:29 +00:00
generic drivers/generic/generic: Drop dead code 2020-07-09 23:54:30 +00:00
gfx/generic src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
gic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c drivers/i2c/adt7463: Drop dead code 2020-07-09 23:54:43 +00:00
intel drivers/intel/gma/i915_reg.h: Drop dead code 2020-07-09 23:51:23 +00:00
ipmi drivers/ipmi: Increase BMC waiting message level from DEBUG to INFO 2020-07-06 06:30:14 +00:00
lenovo src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
maxim src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mrc_cache drivers/mrc_cache: generate debug messages for MRC cache update 2020-06-07 21:51:32 +00:00
net drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
ocp/dmi drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data 2020-07-04 11:31:16 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 drivers/pc80/pc/i8259c: Drop dead code 2020-07-09 23:45:08 +00:00
ricoh/rce822 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore smmstore: Verify userspace-provided pointer to protect SMM 2020-06-17 09:18:05 +00:00
soundwire drivers/soundwire/alc5682: Support Realtek ALC5682 SoundWire device 2020-05-22 01:48:59 +00:00
spi acpi_device: Replace polarity with active_low in acpi_gpio for GpioIo 2020-07-02 19:12:46 +00:00
ti drivers/ti/tps65090: Drop dead code 2020-07-09 23:51:41 +00:00
tpm ACPI,drivers/: Do not guard <acpi/acpi.h> 2020-06-18 12:56:01 +00:00
uart acpi_device: Replace polarity with active_low in acpi_gpio for GpioIo 2020-07-02 19:12:46 +00:00
usb drivers/usb/pci_xhci: Add a driver to generate xHCI ACPI nodes 2020-07-10 23:32:16 +00:00
vpd drivers/vpd: add VPD region VPD_RW_THEN_RO 2020-06-02 07:18:40 +00:00
wifi Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00