summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-15 12:20:35 +0800
committerR b b666 <[email protected]>2025-12-17 10:29:05 +0800
commitb4d332706ee7b75e09b19d35c205f3dc2174d5bf (patch)
tree42a84dfee5105c5160aa7a3cc6e8aa0fe624caa8 /components/drivers/include/rtdevice.h
parent99a25459cd5dd4a09fbd33844bed65f91f7b2362 (diff)
[dm][power] add power reset and supply framework
1. Board level reset or poweroff 2. Power supply class Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index cd4ef4f444..7cda82c235 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -135,6 +135,10 @@ extern "C" {
#include "drivers/hwcache.h"
#endif /* RT_USING_HWCACHE */
+#ifdef RT_USING_POWER_SUPPLY
+#include "drivers/power_supply.h"
+#endif /* RT_USING_POWER_SUPPLY */
+
#ifdef RT_USING_NVMEM
#include "drivers/nvmem.h"
#endif /* RT_USING_NVMEM */