From e280f213bfba8de1b6dd0da45c4cd04e647bb56e Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Mon, 15 Jun 2026 11:21:24 +0800 Subject: [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 <2991707448@qq.com> --- include/rtdef.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.3.1