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_POWER_DOMAIN_HELPERS 32 bool "Helper functions for SCMI power domain protocol" 33 default y 34 depends on DT_HAS_ARM_SCMI_POWER_ENABLED 35 help 36 Enable support for SCMI power domain protocol helper functions. 37 38config ARM_SCMI_SHMEM 39 bool "SCMI shared memory (SHMEM) driver" 40 default y 41 depends on DT_HAS_ARM_SCMI_SHMEM_ENABLED 42 help 43 Enable support for SCMI shared memory (SHMEM) driver. 44 45config ARM_SCMI_SHMEM_INIT_PRIORITY 46 int "SCMI shared memory (SHMEM) initialization priority" 47 default 15 48 help 49 SCMI SHMEM driver device initialization priority. 50 51config ARM_SCMI_TRANSPORT_HAS_STATIC_CHANNELS 52 bool "Transport layer has static channels" 53 help 54 Enable this if the SCMI transport layer uses static channels. 55 What this means is that each protocol will have its channels 56 assigned at compile time. This option is recommended for 57 transport layer drivers which can use the default channel 58 allocation scheme (i.e: use protocol-specific channels if 59 they exist, otherwise use base protocol channels). 60 61config ARM_SCMI_TRANSPORT_INIT_PRIORITY 62 int "SCMI transport layer initialization priority" 63 default 20 64 help 65 SCMI transport driver device initialization priority. 66 67source "drivers/firmware/scmi/nxp/Kconfig" 68 69endif # ARM_SCMI 70