coreboot-kgpe-d16/src
Tim Van Patten 9244358536 soc/amd: Refactor DPTC Tablet Mode
Refactor AMD DPTC tablet mode in preparation for adding low/no battery
DPTC settings.

1. Refactor and simplify acpigen_write_alib_dptc() into the following
   functions:
   - acpigen_write_alib_dptc_default()
   - acpigen_write_alib_dptc_tablet()
2. Add device tree register value dptc_tablet_mode_enable to control
   whether DPTC tablet mode is enabled for a variant.
3. Add dptc.asl to perform the necessary ACPI checking before modifying
   the DPTC settings.

BRANCH=none
BUG=b:217911928
TEST=Build zork
TEST=Build nipperkin
TEST=Boot skyrim

Change-Id: I2518fdd526868c9d5668a6018fd3570392e809c0
Signed-off-by: Tim Van Patten <timvp@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66994
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2022-09-12 12:21:01 +00:00
..
acpi drivers/intel/dptf: Add multiple fan support under dptf 2022-09-04 16:48:07 +00:00
arch src: remove force-included header rules.h from individual files 2022-09-06 17:57:31 +00:00
commonlib cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
console
cpu arch/x86: Fix MAX_CPUS check proper for late X2APIC config 2022-07-25 10:06:18 +00:00
device device/pci_device: Add missing spaces to log messages 2022-09-08 14:20:30 +00:00
drivers drivers/intel/fsp2_0: Fix location of timestamp for loading FSP-S 2022-09-08 12:21:19 +00:00
ec ec/google/chromeec: Modify ufp from type-c role 2022-09-05 14:06:16 +00:00
include acpi/acpigen_dptf: Increase DPTF_MAX_FAN_PERF_STATES to 20 2022-09-08 16:12:04 +00:00
lib lib/xxhash.c: Add new hash functions 2022-09-07 22:24:51 +00:00
mainboard soc/amd: Refactor DPTC Tablet Mode 2022-09-12 12:21:01 +00:00
northbridge nb/intel/sandybridge: Align TOUUD down to 1 MiB granularity 2022-08-26 14:20:26 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security security/vboot/tpm: Avoid duplicate vb2api_secdata_firmware_create calls 2022-09-04 14:50:00 +00:00
soc soc/amd: Refactor DPTC Tablet Mode 2022-09-12 12:21:01 +00:00
southbridge amd/*/Makefile.inc: Put common words into common Makefile.inc 2022-09-01 16:33:54 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/intel/fsp: Update ADL N FSP headers from v3267.01 to v3301.00 2022-09-04 16:08:32 +00:00
Kconfig Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00