Skip to content

Commit 0fa6876

Browse files
samples: sensor: thermometer: frdm_rw612: enable PM_DEVICE_RUNTIME
Enable PM_DEVICE_RUNTIME and explicitlly enable dependencies required for the power domains and device drivers power management to function. For now, this requires manually enabling PM_DEVICE_RUNTIME for every device used in the sample by adding the devicetree prop zephyr,pm-device-runtime-auto to make the drivers actually adhere to PM_DEVICE_RUNTIME... Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
1 parent 90c590a commit 0fa6876

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

samples/sensor/thermometer/boards/frdm_rw612.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
#
66
CONFIG_PM=y
77
CONFIG_PM_DEVICE=y
8+
CONFIG_POWER_DOMAIN=y
9+
CONFIG_PM_DEVICE_POWER_DOMAIN=y
10+
CONFIG_PM_DEVICE_RUNTIME=y

samples/sensor/thermometer/boards/frdm_rw612.overlay

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,23 @@
88
&standby {
99
status = "okay";
1010
};
11+
12+
&peripheral_domain {
13+
zephyr,pm-device-runtime-auto;
14+
status = "okay";
15+
};
16+
17+
&flexcomm3 {
18+
zephyr,pm-device-runtime-auto;
19+
status = "okay";
20+
};
21+
22+
&flexcomm2 {
23+
zephyr,pm-device-runtime-auto;
24+
status = "okay";
25+
};
26+
27+
&p3t1755 {
28+
zephyr,pm-device-runtime-auto;
29+
status = "okay";
30+
};

0 commit comments

Comments
 (0)