1# Copyright (c) 2025 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4common:
5  harness: power
6  harness_config:
7    fixture: pm_probe
8    pytest_dut_scope: session
9    power_measurements:
10      elements_to_trim: 100
11      min_peak_distance: 40
12      min_peak_height: 0.008
13      peak_padding: 40
14      measurement_duration: 6
15      num_of_transitions: 4
16      expected_rms_values: [5.6, 0.4, 0.14, 0.026, 14]
17      tolerance_percentage: 20
18    record:
19      regex:
20        - "RECORD:(?P<metrics>.*)"
21      as_json: ['metrics']
22
23tests:
24  pm.power_states:
25    platform_allow:
26      - stm32l562e_dk
27    tags:
28      - pm
29
30  pm.power_states.pm_device:
31    platform_allow:
32      - stm32l562e_dk
33    tags:
34      - pm
35    extra_args:
36      - CONFIG_PM_DEVICE=y
37
38  pm.power_states.pm_device_runtime:
39    platform_allow:
40      - stm32l562e_dk
41    tags:
42      - pm
43    extra_args:
44      - CONFIG_PM_DEVICE=y
45      - CONFIG_PM_DEVICE_RUNTIME=y
46
47  pm.power_states.pm_device_system_managed:
48    platform_allow:
49      - stm32l562e_dk
50    tags:
51      - pm
52    extra_args:
53      - CONFIG_PM_DEVICE=y
54      - CONFIG_PM_DEVICE_SYSTEM_MANAGED=y
55