summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2024-10-25 16:41:44 +0800
committerRbb666 <[email protected]>2024-11-20 11:08:28 +0800
commitf5aca55a26f2f9f092267e3cd67da3cef2c87a6a (patch)
tree0a718fbc2ebb6477d3325bd793ef7f397aa13577
parentb6dff44054335c80531ed1fe4e2ad49216582993 (diff)
[DM/FEATURE] Support import SoC CLK config
Signed-off-by: GuEe-GUI <[email protected]>
-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