Skip to content

Commit f5aca55

Browse files
GuEe-GUIRbb666
authored andcommitted
[DM/FEATURE] Support import SoC CLK config
Signed-off-by: GuEe-GUI <[email protected]>
1 parent b6dff44 commit f5aca55

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

components/drivers/Kconfig.dm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
#
3+
# This a empty file for SoC DM Kconfig
4+
#
5+
comment "SoC Device Drivers"

components/drivers/clk/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ menuconfig RT_USING_CLK
33
depends on RT_USING_DM
44
select RT_USING_ADT_REF
55
default y
6+
7+
if RT_USING_CLK
8+
source "$(RTT_DIR)/components/drivers/$(SOC_DM_CLK_DIR)/Kconfig.dm"
9+
endif

0 commit comments

Comments
 (0)