summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-07-31 20:44:01 +0100
committerSean Rhodes <sean@starlabs.systems>2024-10-11 08:32:12 +0000
commitb0128b18b58699ee3923314e6a95d6eadcd11544 (patch)
tree5b693b2b434224f9ca7587812536e3f178080e70 /src/soc
parentfe14d96b80c44f51d2b85e057d051fdb0935f389 (diff)
soc/intel/cnvi: Add power related methods
Only the _PRR method is used here, however, _PS0, _PS3 and _DSW must exist to avoid a BSOD on Windows. Change-Id: Ib4a1a8a76ce74b991a3e8686e9594c2c2b145a39 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83711 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/cnvi/cnvi.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c
index fcfb03fd1b..eff5044907 100644
--- a/src/soc/intel/common/block/cnvi/cnvi.c
+++ b/src/soc/intel/common/block/cnvi/cnvi.c
@@ -316,6 +316,28 @@ static void cnvw_fill_ssdt(const struct device *dev)
}
acpigen_pop_len();
+/*
+ * Method (_PS0, 0, Serialized)
+ * {
+ * }
+ *
+ * Method (_PS3, 0, Serialized)
+ * {
+ * }
+ *
+ * Method (_DSW, 3)
+ * {
+ * }
+ */
+ acpigen_write_method_serialized("_PS0", 0);
+ acpigen_pop_len();
+
+ acpigen_write_method_serialized("_PS3", 0);
+ acpigen_pop_len();
+
+ acpigen_write_method("_DSW", 3);
+ acpigen_pop_len();
+
acpigen_write_scope_end();
}