Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions drivers/clock_control/Kconfig.tisci
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ config CLOCK_CONTROL_TISCI
depends on DT_HAS_TI_K2G_SCI_CLK_ENABLED
help
Driver for TISCI based clock control.

config CLOCK_CONTROL_TISCI_PRIORITY
int "TISCI Clock Controller Priority"
default KERNEL_INIT_PRIORITY_DEFAULT
help
TISCI clock controller priority should always be equal or greater
than the TISCI priority.
2 changes: 1 addition & 1 deletion drivers/clock_control/clock_control_tisci.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ static DEVICE_API(clock_control, tisci_clock_driver_api) = {

#define TI_K2G_SCI_CLK_INIT(_n) \
DEVICE_DT_INST_DEFINE(_n, NULL, NULL, NULL, NULL, PRE_KERNEL_1, \
CONFIG_CLOCK_CONTROL_INIT_PRIORITY, &tisci_clock_driver_api);
CONFIG_CLOCK_CONTROL_TISCI_PRIORITY, &tisci_clock_driver_api);

DT_INST_FOREACH_STATUS_OKAY(TI_K2G_SCI_CLK_INIT)
2 changes: 1 addition & 1 deletion drivers/firmware/tisci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if TISCI

config TISCI_INIT_PRIORITY
int "TISCI init priority"
default KERNEL_INIT_PRIORITY_OBJECTS
default KERNEL_INIT_PRIORITY_DEFAULT
help
Init priority for the TISCI driver.

Expand Down
6 changes: 0 additions & 6 deletions drivers/mbox/Kconfig.ti_secproxy
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@ config MBOX_TI_SECURE_PROXY
depends on DT_HAS_TI_SECURE_PROXY_ENABLED
help
Driver for TI Secure Proxy Mailbox.

config MBOX_TI_SECURE_PROXY_PRIORITY
int "MBOX_TI_SECURE_PROXY_PRIORITY"
default KERNEL_INIT_PRIORITY_OBJECTS
help
Mbox secproxy initialization priority.
2 changes: 1 addition & 1 deletion drivers/mbox/mbox_ti_secproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static DEVICE_API(mbox, secproxy_mailbox_driver_api) = {
} \
DEVICE_DT_INST_DEFINE(idx, secproxy_mailbox_##idx##_init, NULL, \
&secproxy_mailbox_##idx##_data, &secproxy_mailbox_##idx##_config, \
PRE_KERNEL_1, CONFIG_MBOX_TI_SECURE_PROXY_PRIORITY, \
PRE_KERNEL_1, CONFIG_MBOX_INIT_PRIORITY, \
&secproxy_mailbox_driver_api)

#define MAILBOX_INST(idx) MAILBOX_INSTANCE_DEFINE(idx);
Expand Down