coreboot/src/include/acpi
Raul E Rangel 6d2bc001ea acpi/device: Add ability to generate proper _STA for PowerResource
acpi_device_add_power_res currently generates a `_STA` method hardcoded
to ON. This change enables the ability to generate a `_STA` method that
queries the status of the GPIOs to determine if the power resource is ON
or OFF.

BUG=b:184617186
TEST=Dump SSDT table for guybrush

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I91410556db002c620fd9aaa99981457808da93a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55027
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-06-07 05:21:30 +00:00
..
acpi.h acpi: drop unused parameter from acpi_soc_fill_bert 2021-06-01 12:49:26 +00:00
acpi_crat.h acpi: Add cb support to publish CRAT ACPI object 2021-01-02 22:50:56 +00:00
acpi_device.h acpi/device: Add ability to generate proper _STA for PowerResource 2021-06-07 05:21:30 +00:00
acpi_gnvs.h mb/google: Move ECFW_RW setting for non-ChromeEC boards 2021-04-30 06:48:56 +00:00
acpi_ivrs.h soc/amd/acpi: Move ACPI IVRS generation to coreboot 2020-08-20 19:42:05 +00:00
acpi_osc.h acpi: Add acpi_osc.h 2021-04-21 22:25:36 +00:00
acpi_pld.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi_pm.h ACPI: Add helpers for CBMEM_ID_POWER_STATE 2021-01-23 20:31:09 +00:00
acpi_sata.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi_soundwire.h acpi/soundwire: Add functions to generate SoundWire properties 2020-05-21 08:04:02 +00:00
acpigen.h acpi: Add acpigen_write_thermal_zone 2021-05-14 08:54:48 +00:00
acpigen_dptf.h src/include: Add missing includes 2020-07-26 21:37:35 +00:00
acpigen_dsm.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpigen_pci.h acpi: Add acpigen_write_PRT* helpers for generating _PRT entries 2021-03-24 16:08:57 +00:00
acpigen_ps2_keybd.h src: Remove extra lines in license header 2020-07-26 20:57:18 +00:00
acpigen_usb.h acpi: Add new file for implementing Type-C Connector class 2020-05-28 23:54:43 +00:00