summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGUI <[email protected]>2026-08-07 21:31:43 +0800
committerGitHub <[email protected]>2026-08-07 21:31:43 +0800
commita2c196d6439643356490f62370d34001ee66af99 (patch)
treea5c1ed72e404dd0dc5ed51e047e7396772c586ad /components/drivers/include/rtdevice.h
parentc19fe2c8238e3c5d329fca4fc219e3924240945b (diff)
[dm][phye] Add Mode/State and MIPI D-PHY timing helper (#11675)
* [dm][phye] Add Mode/State and MIPI D-PHY timing helper Extend the generic PHY framework with cached mode and submode state, avoiding redundant hardware mode changes. Add MIPI D-PHY default timing calculation helpers based on pixel clock or lane high-speed clock, and expose the new API through rtdevice.h. Signed-off-by: GuEe-GUI <[email protected]> * style: format code with clang-format * style: format complete changed files with clang-format --------- 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, 2 insertions, 2 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 1185224304..ca0130739a 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -38,7 +38,7 @@
extern "C" {
#endif
-#define RT_DEVICE(device) ((rt_device_t)device)
+#define RT_DEVICE(device) ((rt_device_t)device)
#ifdef RT_USING_DM
#include "drivers/core/dm.h"
@@ -111,6 +111,7 @@ extern "C" {
#ifdef RT_USING_PHYE
#include "drivers/phye.h"
+#include "drivers/phye-mipi-dphy.h"
#endif /* RT_USING_PHYE */
#ifdef RT_USING_PIC
@@ -247,7 +248,6 @@ extern "C" {
#endif /* RT_USING_DM && RT_USING_SDHCI */
#endif /* RT_USING_SDIO */
-
#ifdef RT_USING_WDT
#include "drivers/dev_watchdog.h"
#endif /* RT_USING_WDT */