Skip to content

Commit eaa22a3

Browse files
author
Dave Joseph
committed
drivers: firmware: TISCI driver support
Added TISCI driver for supported devices using the binding ti,k2g-sci Signed-off-by: Dave Joseph <[email protected]>
1 parent 6e34acc commit eaa22a3

File tree

8 files changed

+4108
-0
lines changed

8 files changed

+4108
-0
lines changed

drivers/firmware/CMakeLists.txt

+1
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

+10
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,14 @@ source "drivers/firmware/nrf_ironside/Kconfig"
1515
source "drivers/firmware/scmi/Kconfig"
1616
# zephyr-keep-sorted-stop
1717

18+
config TISCI
19+
bool "TISCI Firmware driver"
20+
select MBOX
21+
help
22+
TISCI firmware driver is a frontend interface
23+
to TI System Controller interface firmware through
24+
secureproxy mailbox.
25+
26+
source "drivers/firmware/ti_sci/Kconfig"
27+
1828
endmenu
+6
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

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025, Texas Instruments
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if TISCI
5+
6+
config TISCI_INIT_PRIORITY
7+
int "TISCI init priority"
8+
default KERNEL_INIT_PRIORITY_OBJECTS
9+
help
10+
Init priority for the TISCI driver.
11+
12+
config TISCI_RESPONSE_TIMEOUT_MS
13+
int "TISCI response timeout in milliseconds"
14+
default 100
15+
help
16+
Timeout in milliseconds to wait for a response from the TISCI firmware.
17+
18+
endif

0 commit comments

Comments
 (0)