From a262cdbc27face9ecc8b551cd0a4f7ad89f7966e Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Thu, 4 Sep 2025 17:47:53 -0700 Subject: [PATCH] mb/intel/ptlrvp: Add wake configuration to cnvi_bluetooth This commit adds a wake configuration to the cnvi_bluetooth device for all the ptlrvp board variants. The "wake" setting is now registered to "GPE0_PME_B0" using the common CNVi block. This enhancement ensures that the cnvi_bluetooth device can properly wake the system. TEST=Able to wake up the device from a low power state using a keyboard Bluetooth device. Change-Id: I4c17ca926a4409cedfaef24a802330ef463703ac Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/89061 Tested-by: build bot (Jenkins) Reviewed-by: Jamie Ryu Reviewed-by: Cliff Huang --- src/mainboard/intel/ptlrvp/variants/ptlrvp/overridetree.cb | 4 ++++ .../intel/ptlrvp/variants/ptlrvp_chromeec/overridetree.cb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/mainboard/intel/ptlrvp/variants/ptlrvp/overridetree.cb b/src/mainboard/intel/ptlrvp/variants/ptlrvp/overridetree.cb index 6a945727aa..1f8611979f 100644 --- a/src/mainboard/intel/ptlrvp/variants/ptlrvp/overridetree.cb +++ b/src/mainboard/intel/ptlrvp/variants/ptlrvp/overridetree.cb @@ -629,6 +629,10 @@ chip soc/intel/pantherlake device ref cnvi_bluetooth on probe WIFI WIFI_CNVI_6 probe WIFI WIFI_CNVI_7 + chip soc/intel/common/block/cnvi + register "wake" = "GPE0_PME_B0" + device generic 0 on end + end end # NOTE: i2c0 is function 0; hence it needs to be enabled when any of i2c1-5 is enabled. diff --git a/src/mainboard/intel/ptlrvp/variants/ptlrvp_chromeec/overridetree.cb b/src/mainboard/intel/ptlrvp/variants/ptlrvp_chromeec/overridetree.cb index 52af027cad..4d8ae44266 100644 --- a/src/mainboard/intel/ptlrvp/variants/ptlrvp_chromeec/overridetree.cb +++ b/src/mainboard/intel/ptlrvp/variants/ptlrvp_chromeec/overridetree.cb @@ -629,6 +629,10 @@ chip soc/intel/pantherlake device ref cnvi_bluetooth on probe WIFI WIFI_CNVI_6 probe WIFI WIFI_CNVI_7 + chip soc/intel/common/block/cnvi + register "wake" = "GPE0_PME_B0" + device generic 0 on end + end end # NOTE: i2c0 is function 0; hence it needs to be enabled when any of i2c1-5 is enabled.