diff options
| author | GuEe-GUI <[email protected]> | 2026-06-15 11:21:24 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-06-23 08:02:09 +0800 |
| commit | e280f213bfba8de1b6dd0da45c4cd04e647bb56e (patch) | |
| tree | 2e31d355635a2495210e23b6a31175578adc23c9 /include | |
| parent | 1870d83956783a17b126206d92dee90ee7784c34 (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')
| -rw-r--r-- | include/rtdef.h | 3 |
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 |
