From ecb89b1370ec27be650a0a2fae7c6802b4246933 Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Fri, 25 Oct 2024 16:41:44 +0800 Subject: [PATCH] [DM/FEATURE] Support import SoC CLK config Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/Kconfig.dm | 5 +++++ components/drivers/clk/Kconfig | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 components/drivers/Kconfig.dm 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