summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris.Wang <chris.wang@amd.corp-partner.google.com>2022-12-13 15:11:30 +0800
committerRaul Rangel <rrangel@chromium.org>2022-12-22 16:03:33 +0000
commit174d2635fd3fda2f3bd3c33ebafce2f4a4561663 (patch)
tree095a362ec6ba4dc3c72171976f9383fe319209c7
parent9a9b2778a1f04ba5d570de154f4b6f38f3b5807a (diff)
mb/skyrim/var/frostflow: enable dptc tablet mode switch
add dptc power parameter for tablet mode sustained_power_limit_mW_tablet : 12w BUG=b:257187831 BRANCH=none TEST= validate the parameter changes for each mode by AGT Signed-off-by: Chris.Wang <chris.wang@amd.corp-partner.google.com> Change-Id: I22d3f9c79a1eaaccfbef3766019516edb3523964 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70674 Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: John Su <john_su@compal.corp-partner.google.com>
-rw-r--r--src/mainboard/google/skyrim/Kconfig.name3
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/overridetree.cb3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name
index dd5647104d..23aea4812c 100644
--- a/src/mainboard/google/skyrim/Kconfig.name
+++ b/src/mainboard/google/skyrim/Kconfig.name
@@ -19,8 +19,9 @@ config BOARD_GOOGLE_MORTHAL
config BOARD_GOOGLE_FROSTFLOW
bool "-> Frostflow"
select BOARD_GOOGLE_BASEBOARD_SKYRIM
- select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
select DRIVERS_GENESYSLOGIC_GL9755
+ select FEATURE_TABLET_MODE_DPTC
+ select SOC_AMD_COMMON_BLOCK_ACPI_DPTC
config BOARD_GOOGLE_CRYSTALDRIFT
bool "-> Crystaldrift"
diff --git a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
index bc9aec126b..d7af489839 100644
--- a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
@@ -14,6 +14,9 @@ chip soc/amd/mendocino
# Set Package Power Parameters
register "stapm_time_constant_s" = "200"
+ # Power table for tablet mode
+ register "sustained_power_limit_mW_tablet" = "12000"
+
register "i2c[0]" = "{
.speed = I2C_SPEED_FAST,
.speed_config[0] = {