coreboot/src/ec
Kyösti Mälkki 027f86e6af ACPI: Add usb_charge_mode_from_gnvs()
Early Chromebook generations stored the information about
USB port power control for S3/S5 sleepstates in GNVS, although
the configuration is static.

Reduce code duplication and react to ACPI S4 as if it was ACPI
S5 request.

Change-Id: I7e6f37a023b0e9317dcf0355dfa70e28d51cdad9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74524
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2023-08-16 17:55:02 +00:00
..
51nb/npce985la0dx
acpi ec/acpi/ec: replace misleading "recv_ec_data_timeout" console output 2023-04-14 23:47:29 +00:00
apple/acpi tree: Replace ShiftLeft(a,b) with ASL 2.0 syntax 2022-12-23 08:30:39 +00:00
clevo/it5570e ec/clevo/it5570e/acpi: Replace Index(a, b) with ASL 2.0 syntax 2022-12-12 21:43:31 +00:00
compal/ene932 {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
dell/mec5035 ec/dell: Add support for the SMSC MEC5035 2023-02-08 19:21:59 +00:00
google ACPI: Add usb_charge_mode_from_gnvs() 2023-08-16 17:55:02 +00:00
hp/kbc1126 tree/acpi: Replace Divide(a,b,c,d) with ASL 2.0 syntax 2022-12-26 19:57:44 +00:00
intel mb/intel/mtlrvp: Add MTL-P RVP board ids 2022-12-09 23:57:03 +00:00
kontron tree: Replace And(a,b) with ASL 2.0 syntax 2022-12-23 10:18:55 +00:00
lenovo ec/lenovo/pmh7/chip.h: Use 'bool' instead of 'int' 2023-04-08 03:36:07 +00:00
purism ec/purism,system76: Provide probe for fixed Librem-EC jack detect 2023-05-26 14:57:27 +00:00
quanta ec/quanta/ene_kb3940q/acpi: Fix PS2K under Windows 2023-05-13 18:35:44 +00:00
roda/it8518 treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
smsc/mec1308 {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
starlabs/merlin ec/starlabs/merlin/ite: Don't attempt EC mirror without a counter 2023-08-11 17:53:10 +00:00
system76/ec {ec,mb}/system76: Replace color keyboard logic 2023-07-18 15:03:16 +00:00
ec.h