summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2026-06-15 11:21:24 +0800
committerRbb666 <[email protected]>2026-06-23 08:02:09 +0800
commite280f213bfba8de1b6dd0da45c4cd04e647bb56e (patch)
tree2e31d355635a2495210e23b6a31175578adc23c9 /include/rtdef.h
parent1870d83956783a17b126206d92dee90ee7784c34 (diff)
[dm][dvfs] support Dynamic Voltage and Frequency Scaling (DVFS)
1. Support DVFS and finsh cmd, there are 6 governors: - conservative - freedom - performance - powersave - schedutil 2. Support DVFS for SCMI. 3. Port the Cooling device for DVFS. 4. Port the PM with DVFS. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index db711aadff..ab97aeb917 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -1377,6 +1377,9 @@ struct rt_device
void *ofw_node; /**< ofw node get from device tree */
#endif /* RT_USING_OFW */
void *power_domain_unit;
+#ifdef RT_USING_DVFS
+ void *dvfs_scaling;
+#endif
#ifdef RT_USING_DMA
const void *dma_ops;
#endif