diff options
author | Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> | 2022-06-20 16:54:13 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-07 13:06:35 +0000 |
commit | 6aadb93355a4c883369a53ab0d2eef8f61bd1a70 (patch) | |
tree | 4b9aee5a38b9e48a46e98a7b3ca0ef5444d1c6fa /src/soc/intel/tigerlake/gpio_pch_h.c | |
parent | f136ddb9fa1ecc80f64a218f36f275583d903584 (diff) |
mb/google/brya/var/kinox: Support DPTF oem_variables
Enable DPTF oem_variables and override based on charger type.
BUG=b:230803675
TEST=1. With 90W adapter, check ACPI object ODVX and oem_variable[0]=1
Name (ODVX, Package (0x06)
{
0x00000001,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000
})
2. With 65W adapter, check ACPI object ODVX and oem_variable[0]=0
Name (ODVX, Package (0x06)
{
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000
})
Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: I78929ecbc9db56aa234b3f46c641d1f2f3b7cba8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65251
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/soc/intel/tigerlake/gpio_pch_h.c')
0 files changed, 0 insertions, 0 deletions