Skip to content

Commit 0869783

Browse files
committed
drivers: firmware: TISCI driver support
Added TISCI driver for supported devices using the binding ti,k2g-sci. This is used to communicate via the secury proxy channel for clock, resource and power domain management. Refer: https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/TISCI_header.html Signed-off-by: Dave Joseph <[email protected]>
1 parent 22ffe4f commit 0869783

File tree

9 files changed

+4377
-0
lines changed

9 files changed

+4377
-0
lines changed

drivers/firmware/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# zephyr-keep-sorted-start
44
add_subdirectory_ifdef(CONFIG_ARM_SCMI scmi)
55
add_subdirectory_ifdef(CONFIG_NRF_IRONSIDE nrf_ironside)
6+
add_subdirectory_ifdef(CONFIG_TISCI ti_sci)
67
# zephyr-keep-sorted-stop

drivers/firmware/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ config ARM_SCMI
1313
# zephyr-keep-sorted-start
1414
source "drivers/firmware/nrf_ironside/Kconfig"
1515
source "drivers/firmware/scmi/Kconfig"
16+
source "drivers/firmware/ti_sci/Kconfig"
1617
# zephyr-keep-sorted-stop
1718

1819
endmenu
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025, Texas Instruments
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
zephyr_library()
5+
6+
zephyr_library_sources_ifdef(CONFIG_TISCI ti_sci.c)

drivers/firmware/ti_sci/Kconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2025, Texas Instruments
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config TISCI
5+
bool "TISCI Firmware driver"
6+
default y
7+
depends on DT_HAS_TI_K2G_SCI_ENABLED
8+
select MBOX
9+
help
10+
TISCI firmware driver is a frontend interface
11+
to TI System Controller interface firmware through
12+
secureproxy mailbox.
13+
14+
if TISCI
15+
16+
config TISCI_INIT_PRIORITY
17+
int "TISCI init priority"
18+
default KERNEL_INIT_PRIORITY_OBJECTS
19+
help
20+
Init priority for the TISCI driver.
21+
22+
endif

0 commit comments

Comments
 (0)