summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/Kconfig.dm5
-rwxr-xr-xcomponents/drivers/clk/Kconfig4
2 files changed, 9 insertions, 0 deletions
diff --git a/components/drivers/Kconfig.dm b/components/drivers/Kconfig.dm
new file mode 100644
index 0000000000..7d37abb1ee
--- /dev/null
+++ b/components/drivers/Kconfig.dm
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+#
+# This a empty file for SoC DM Kconfig
+#
+comment "SoC Device Drivers"
diff --git a/components/drivers/clk/Kconfig b/components/drivers/clk/Kconfig
index 3c34d386e1..69f95bcee6 100755
--- a/components/drivers/clk/Kconfig
+++ b/components/drivers/clk/Kconfig
@@ -3,3 +3,7 @@ menuconfig RT_USING_CLK
depends on RT_USING_DM
select RT_USING_ADT_REF
default y
+
+if RT_USING_CLK
+ source "$(RTT_DIR)/components/drivers/$(SOC_DM_CLK_DIR)/Kconfig.dm"
+endif