From 1115cd569898decee7899d3ffbd7bd2f3023ad10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Tue, 26 Nov 2024 16:08:13 +0100 Subject: [PATCH] tests: drivers: uart: async_api: nrf54h20dk: Enable device PM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable device runtime PM for nrf54h20dk/nrf54h20/cpuapp where fast UARTE (uart120) is tested. Signed-off-by: Krzysztof Chruściński --- .../uart/uart_async_api/boards/nrf54h20dk_nrf54h20_common.dtsi | 2 ++ .../uart/uart_async_api/boards/nrf54h20dk_nrf54h20_cpuapp.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_cpuapp.conf diff --git a/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_common.dtsi b/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_common.dtsi index ae810c2796616b..9902d733d3579f 100644 --- a/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_common.dtsi +++ b/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_common.dtsi @@ -43,6 +43,7 @@ dut: &uart137 { pinctrl-1 = <&uart137_sleep_alt>; pinctrl-names = "default", "sleep"; current-speed = <115200>; + zephyr,pm-device-runtime-auto; }; dut2: &uart120 { @@ -50,4 +51,5 @@ dut2: &uart120 { pinctrl-1 = <&uart120_sleep_alt>; pinctrl-names = "default", "sleep"; current-speed = <115200>; + zephyr,pm-device-runtime-auto; }; diff --git a/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_cpuapp.conf b/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_cpuapp.conf new file mode 100644 index 00000000000000..74cc8d7691e15d --- /dev/null +++ b/tests/drivers/uart/uart_async_api/boards/nrf54h20dk_nrf54h20_cpuapp.conf @@ -0,0 +1,2 @@ +CONFIG_PM_DEVICE=y +CONFIG_PM_DEVICE_RUNTIME=y