summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/clk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/clk.h b/components/drivers/include/drivers/clk.h
index dd74fdc85b..5a282bdcb1 100644
--- a/components/drivers/include/drivers/clk.h
+++ b/components/drivers/include/drivers/clk.h
@@ -84,6 +84,7 @@ struct rt_clk_node
#define RT_CLK_F_SET_RATE_UNGATE RT_BIT(4) /**< Clock needs to run to set rate */
#define RT_CLK_F_IS_CRITICAL RT_BIT(5) /**< Do not gate, ever */
#define RT_CLK_F_GET_RATE_NOCACHE RT_BIT(6) /**< Do not get rate by cache */
+#define RT_CLK_F_SET_RATE_NO_REPARENT RT_BIT(7) /**< Keep the selected parent across rate changes */
/**
* @brief Clock cell - represents a single hardware clock element.
@@ -299,4 +300,4 @@ rt_inline rt_err_t rt_ofw_clk_set_defaults(struct rt_ofw_node *np)
/*! @}*/
-#endif /* __CLK_H__ */ \ No newline at end of file
+#endif /* __CLK_H__ */