diff --git a/tests/benchmarks/power_consumption/qdec/boards/nrf54h20dk_nrf54h20_cpuapp.conf b/tests/benchmarks/power_consumption/qdec/boards/nrf54h20dk_nrf54h20_cpuapp.conf index 8fe32f3c4990..df86d85f8d97 100644 --- a/tests/benchmarks/power_consumption/qdec/boards/nrf54h20dk_nrf54h20_cpuapp.conf +++ b/tests/benchmarks/power_consumption/qdec/boards/nrf54h20dk_nrf54h20_cpuapp.conf @@ -1,9 +1,5 @@ CONFIG_NRFS=y -# Enable runtime power management for peripheral -CONFIG_PM_DEVICE=y -CONFIG_PM_DEVICE_RUNTIME=y - CONFIG_PM=y CONFIG_PM_S2RAM=y CONFIG_POWEROFF=y diff --git a/tests/benchmarks/power_consumption/qdec/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/tests/benchmarks/power_consumption/qdec/boards/nrf54l15dk_nrf54l15_cpuapp.overlay index cf66669cffb2..03a876ee77f0 100644 --- a/tests/benchmarks/power_consumption/qdec/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ b/tests/benchmarks/power_consumption/qdec/boards/nrf54l15dk_nrf54l15_cpuapp.overlay @@ -28,6 +28,14 @@ ; }; }; + + qdec_sleep_pinctrl: qdec_sleep_pinctrl { + group1 { + psels = , + ; + low-power-enable; + }; + }; }; &gpio1 { @@ -37,7 +45,9 @@ &qdec20 { status = "okay"; pinctrl-0 = <&qdec_pinctrl>; - pinctrl-names = "default"; + pinctrl-1 = <&qdec_sleep_pinctrl>; + pinctrl-names = "default", "sleep"; steps = <127>; led-pre = <500>; + zephyr,pm-device-runtime-auto; }; diff --git a/tests/benchmarks/power_consumption/qdec/prj.conf b/tests/benchmarks/power_consumption/qdec/prj.conf index de77b7fb1cda..2d95aa300b29 100644 --- a/tests/benchmarks/power_consumption/qdec/prj.conf +++ b/tests/benchmarks/power_consumption/qdec/prj.conf @@ -1,5 +1,9 @@ CONFIG_SENSOR=y +# Enable runtime power management for peripheral +CONFIG_PM_DEVICE=y +CONFIG_PM_DEVICE_RUNTIME=y + CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_SERIAL=n