summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGUI <[email protected]>2024-05-30 15:30:40 +0800
committerGitHub <[email protected]>2024-05-30 15:30:40 +0800
commite7cddf3a5275937b38f95afa7540fcc3fc7e5354 (patch)
tree25bb3a1597a0118585e994e29286dc4734401486 /components/drivers/include/rtdevice.h
parent2cbe8bdae01cdd2d8fc0c55f363a94f13fb11a47 (diff)
[Feature] Support simple power domain API (#9005)
* [Feature] Power domain for device 1.Support device power on/off. 2.Support attach/detach device. 3.Support power domain driver api. Signed-off-by: GuEe-GUI <[email protected]> * [DM/platform] Enhanced platform bus 1.Add power domain for device. 2.Support `remove` and `shutdown` bus interface. Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 863e9d8503..5b080fced7 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -42,6 +42,7 @@ extern "C" {
#ifdef RT_USING_DM
#include "drivers/core/dm.h"
#include "drivers/core/numa.h"
+#include "drivers/core/power_domain.h"
#include "drivers/platform.h"
#ifdef RT_USING_OFW