[dm][power] add power reset and supply framework

1. Board level reset or poweroff
2. Power supply class

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-12-17 10:29:05 +08:00
committed by R b b666
parent 99a25459cd
commit b4d332706e
9 changed files with 1215 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
from building import *
group = []
if not GetDepend(['RT_USING_POWER_RESET']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../../include']
src = []
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')