1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4if ARM_SCMI
5
6config ARM_SCMI_CLK_HELPERS
7	bool "Helper functions for SCMI clock protocol"
8	default y
9	depends on DT_HAS_ARM_SCMI_CLOCK_ENABLED
10	help
11	  Enable support for SCMI clock protocol helper functions.
12
13config ARM_SCMI_MAILBOX_TRANSPORT
14	bool "SCMI transport based on shared memory and doorbells"
15	default y
16	depends on DT_HAS_ARM_SCMI_ENABLED
17	depends on ARM_SCMI_SHMEM
18	select ARM_SCMI_TRANSPORT_HAS_STATIC_CHANNELS
19	help
20	  Enable support for SCMI transport based on shared memory
21	  and doorbells.
22
23config ARM_SCMI_PINCTRL_HELPERS
24	bool "Helper functions for SCMI pinctrl protocol"
25	default y
26	depends on DT_HAS_ARM_SCMI_PINCTRL_ENABLED
27	select PINCTRL
28	help
29	  Enable support for SCMI pinctrl protocol helper functions.
30
31config ARM_SCMI_SHMEM
32	bool "SCMI shared memory (SHMEM) driver"
33	default y
34	depends on DT_HAS_ARM_SCMI_SHMEM_ENABLED
35	help
36	  Enable support for SCMI shared memory (SHMEM) driver.
37
38config ARM_SCMI_SHMEM_INIT_PRIORITY
39	int "SCMI shared memory (SHMEM) initialization priority"
40	default 15
41	help
42	  SCMI SHMEM driver device initialization priority.
43
44config ARM_SCMI_TRANSPORT_HAS_STATIC_CHANNELS
45	bool "Transport layer has static channels"
46	help
47	  Enable this if the SCMI transport layer uses static channels.
48	  What this means is that each protocol will have its channels
49	  assigned at compile time. This option is recommended for
50	  transport layer drivers which can use the default channel
51	  allocation scheme (i.e: use protocol-specific channels if
52	  they exist, otherwise use base protocol channels).
53
54config ARM_SCMI_TRANSPORT_INIT_PRIORITY
55	int "SCMI transport layer initialization priority"
56	default 20
57	help
58	  SCMI transport driver device initialization priority.
59
60endif # ARM_SCMI
61