Skip to content

Commit b0af77c

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 649eb62 commit b0af77c

File tree

8 files changed

+4110
-0
lines changed

8 files changed

+4110
-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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright (c) 2025, Texas Instruments
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config TISCI
5+
bool "TISCI Firmware driver"
6+
depends on MBOX
7+
help
8+
TISCI firmware driver is a frontend interface
9+
to TI System Controller interface firmware through
10+
secureproxy mailbox.
11+
12+
if TISCI
13+
14+
config TISCI_INIT_PRIORITY
15+
int "TISCI init priority"
16+
default KERNEL_INIT_PRIORITY_OBJECTS
17+
help
18+
Init priority for the TISCI driver.
19+
20+
config TISCI_RESPONSE_TIMEOUT_MS
21+
int "TISCI response timeout in milliseconds"
22+
default 100
23+
help
24+
Timeout in milliseconds to wait for a response from the TISCI firmware.
25+
26+
endif

0 commit comments

Comments
 (0)