samples: mec15xxevb: pm: update test clk out config

CONFIG_SOC_MEC1501_TEST_CLK_OUT is removed from mec15xx SOC,
hence remove this configuration in mec15xxevb power management
sample and add board overlay with right configurations.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
This commit is contained in:
Jay Vasanth 2022-11-22 12:16:02 -05:00 committed by Carles Cufí
commit 4dc2d766c7
2 changed files with 20 additions and 3 deletions

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2022 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
/ {
};
&pcr {
status = "okay";
pll-32k-src = <MCHP_XEC_PLL_CLK32K_SRC_SIL_OSC>;
periph-32k-src = <MCHP_XEC_PERIPH_CLK32K_SRC_SO_SO>;
/* debug only, not using 32KHZ_IN pin */
pinctrl-0 = <&tst_clk_out_gpio060>;
pinctrl-names = "default";
};

View file

@ -7,9 +7,6 @@ CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=2100
CONFIG_THREAD_NAME=y
# Enable test clock out in MEC1501 this will give indication in MCHP_060
# This consumes additional power (VTR_PLL)
CONFIG_SOC_MEC1501_TEST_CLK_OUT=y
# Enable additional drivers to evaluate power consumption without activity
CONFIG_PECI=y
CONFIG_KSCAN=y