Skip to content

Commit e79b30a

Browse files
committed
[dm][firmware][scmi] add SCMI drivers
1. Clock driver controlled via SCMI interface 2. Pinctrl driver via ARM SCMI interface 3. Power domain ARM SCMI 4. SCMI regulator 5. Reset driver controlled via ARM SCMI interface 6. Thermal Sensors Drivers Signed-off-by: GuEe-GUI <[email protected]>
1 parent 695fd10 commit e79b30a

File tree

18 files changed

+1588
-0
lines changed

18 files changed

+1588
-0
lines changed

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)