From c06202c176bc9f59ce01d114d9a11a9c1dd35447 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 18 Feb 2025 11:41:51 +0000 Subject: [PATCH] it82xx2_evb: drop PM symbols from the board config PM, PM_DEVICE etc should be enabled by the application/samples, not the board. Add a config to default to custom policy for the board though since there's one defined at soc level. Signed-off-by: Fabio Baltieri --- boards/ite/it82xx2_evb/it82xx2_evb_defconfig | 5 ----- soc/ite/ec/Kconfig.defconfig | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/boards/ite/it82xx2_evb/it82xx2_evb_defconfig b/boards/ite/it82xx2_evb/it82xx2_evb_defconfig index 2b174670d48..2a244e464eb 100644 --- a/boards/ite/it82xx2_evb/it82xx2_evb_defconfig +++ b/boards/ite/it82xx2_evb/it82xx2_evb_defconfig @@ -18,8 +18,3 @@ CONFIG_UART_CONSOLE=y # GPIO Driver CONFIG_GPIO=y - -# Power Management -CONFIG_PM=y -CONFIG_PM_DEVICE=y -CONFIG_PM_POLICY_CUSTOM=y diff --git a/soc/ite/ec/Kconfig.defconfig b/soc/ite/ec/Kconfig.defconfig index 646437f9c53..2030dc8a68c 100644 --- a/soc/ite/ec/Kconfig.defconfig +++ b/soc/ite/ec/Kconfig.defconfig @@ -5,4 +5,8 @@ if SOC_FAMILY_ITE_EC rsource "*/Kconfig.defconfig.series" +choice PM_POLICY + default PM_POLICY_CUSTOM if SOC_FAMILY_ITE_EC +endchoice + endif # SOC_FAMILY_ITE_EC