Skip to content

Commit 4373326

Browse files
authored
[dm][firmware][scmi] support ARM-SCMI interface #11069
1 parent 77fbed5 commit 4373326

File tree

32 files changed

+3561
-0
lines changed

32 files changed

+3561
-0
lines changed

components/drivers/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ rsource "ata/Kconfig"
3030
rsource "nvme/Kconfig"
3131
rsource "block/Kconfig"
3232
rsource "scsi/Kconfig"
33+
rsource "firmware/Kconfig"
3334
rsource "hwcache/Kconfig"
3435
rsource "regulator/Kconfig"
3536
rsource "reset/Kconfig"

components/drivers/clk/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ menuconfig RT_USING_CLK
44
select RT_USING_ADT_REF
55
default y
66

7+
config RT_CLK_SCMI
8+
bool "Clock driver controlled via SCMI interface"
9+
depends on RT_USING_CLK
10+
depends on RT_FIRMWARE_ARM_SCMI
11+
default n
12+
713
if RT_USING_CLK
814
osource "$(SOC_DM_CLK_DIR)/Kconfig"
915
endif

components/drivers/clk/SConscript

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ src = ['clk.c']
1414
if GetDepend(['RT_USING_OFW']):
1515
src += ['clk-fixed-rate.c']
1616

17+
if GetDepend(['RT_CLK_SCMI']):
18+
src += ['clk-scmi.c']
1719

1820
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
1921

0 commit comments

Comments
 (0)