From b1ad7877f238824fab0d98c4d50d73fb8896c6b9 Mon Sep 17 00:00:00 2001 From: Axel Le Bourhis Date: Wed, 4 Jun 2025 18:26:40 +0200 Subject: [PATCH] samples: bluetooth: enable PM standby on rd_rw612_bga and frdm_rw612 Enable the standby power state by default for the rd_rw612_bga and frdm_rw612 boards in the peripheral_ht and central_ht Bluetooth samples. Signed-off-by: Axel Le Bourhis --- samples/bluetooth/central_ht/boards/frdm_rw612.conf | 1 + samples/bluetooth/central_ht/boards/frdm_rw612.overlay | 9 +++++++++ samples/bluetooth/central_ht/boards/rd_rw612_bga.conf | 1 + samples/bluetooth/central_ht/boards/rd_rw612_bga.overlay | 9 +++++++++ samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf | 1 + .../bluetooth/peripheral_ht/boards/frdm_rw612.overlay | 9 +++++++++ samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf | 1 + .../bluetooth/peripheral_ht/boards/rd_rw612_bga.overlay | 9 +++++++++ 8 files changed, 40 insertions(+) create mode 100644 samples/bluetooth/central_ht/boards/frdm_rw612.overlay create mode 100644 samples/bluetooth/central_ht/boards/rd_rw612_bga.overlay create mode 100644 samples/bluetooth/peripheral_ht/boards/frdm_rw612.overlay create mode 100644 samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.overlay diff --git a/samples/bluetooth/central_ht/boards/frdm_rw612.conf b/samples/bluetooth/central_ht/boards/frdm_rw612.conf index 2df782efc71..84fee457a90 100644 --- a/samples/bluetooth/central_ht/boards/frdm_rw612.conf +++ b/samples/bluetooth/central_ht/boards/frdm_rw612.conf @@ -1 +1,2 @@ CONFIG_PM=y +CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=y diff --git a/samples/bluetooth/central_ht/boards/frdm_rw612.overlay b/samples/bluetooth/central_ht/boards/frdm_rw612.overlay new file mode 100644 index 00000000000..65821c8b3eb --- /dev/null +++ b/samples/bluetooth/central_ht/boards/frdm_rw612.overlay @@ -0,0 +1,9 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&standby { + status = "okay"; +}; diff --git a/samples/bluetooth/central_ht/boards/rd_rw612_bga.conf b/samples/bluetooth/central_ht/boards/rd_rw612_bga.conf index 2df782efc71..84fee457a90 100644 --- a/samples/bluetooth/central_ht/boards/rd_rw612_bga.conf +++ b/samples/bluetooth/central_ht/boards/rd_rw612_bga.conf @@ -1 +1,2 @@ CONFIG_PM=y +CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=y diff --git a/samples/bluetooth/central_ht/boards/rd_rw612_bga.overlay b/samples/bluetooth/central_ht/boards/rd_rw612_bga.overlay new file mode 100644 index 00000000000..65821c8b3eb --- /dev/null +++ b/samples/bluetooth/central_ht/boards/rd_rw612_bga.overlay @@ -0,0 +1,9 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&standby { + status = "okay"; +}; diff --git a/samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf b/samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf index 2df782efc71..84fee457a90 100644 --- a/samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf +++ b/samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf @@ -1 +1,2 @@ CONFIG_PM=y +CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=y diff --git a/samples/bluetooth/peripheral_ht/boards/frdm_rw612.overlay b/samples/bluetooth/peripheral_ht/boards/frdm_rw612.overlay new file mode 100644 index 00000000000..65821c8b3eb --- /dev/null +++ b/samples/bluetooth/peripheral_ht/boards/frdm_rw612.overlay @@ -0,0 +1,9 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&standby { + status = "okay"; +}; diff --git a/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf b/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf index 2df782efc71..84fee457a90 100644 --- a/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf +++ b/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf @@ -1 +1,2 @@ CONFIG_PM=y +CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=y diff --git a/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.overlay b/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.overlay new file mode 100644 index 00000000000..65821c8b3eb --- /dev/null +++ b/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.overlay @@ -0,0 +1,9 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&standby { + status = "okay"; +};