Preparing to add the AMD/Xilinx SCMI vendor protocol driver, support probe
of SCMI vendor ID 0x81. Add the protocol ID, the per-agent protocol device
slot, the probe/lookup switch cases and the scmi command name, gated by a
Kconfig option for conditional compilation.
The same wiring has been done by commit 7830ccc77a ("firmware: scmi:
Support probe vendor ID 0x80 and 0x82").
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
config SCMI_FIRMWARE
|
|
bool "Enable SCMI support"
|
|
select FIRMWARE
|
|
select OF_TRANSLATE
|
|
depends on SANDBOX || DM_MAILBOX || ARM_SMCCC || OPTEE
|
|
depends on OF_CONTROL
|
|
help
|
|
System Control and Management Interface (SCMI) is a communication
|
|
protocol that defines standard interfaces for power, performance
|
|
and system management. The SCMI specification is available at
|
|
https://developer.arm.com/architectures/system-architectures/software-standards/scmi
|
|
|
|
An SCMI agent communicates with a related SCMI server firmware
|
|
located in another sub-system, as a companion micro controller
|
|
or a companion host in the CPU system.
|
|
|
|
Communications between agent (client) and the SCMI server are
|
|
based on message exchange. Messages can be exchanged over transport
|
|
channels as a mailbox device or an Arm SMCCC service with some
|
|
piece of identified shared memory.
|
|
|
|
config SCMI_AGENT_MAILBOX
|
|
bool "Enable SCMI agent mailbox"
|
|
depends on SCMI_FIRMWARE && DM_MAILBOX
|
|
default y
|
|
help
|
|
Enable the SCMI communication channel based on mailbox
|
|
for compatible "arm,scmi".
|
|
|
|
config SCMI_AGENT_SMCCC
|
|
bool "Enable SCMI agent SMCCC"
|
|
depends on SCMI_FIRMWARE && ARM_SMCCC
|
|
default y
|
|
help
|
|
Enable the SCMI communication channel based on Arm SMCCC service for
|
|
compatible "arm,scmi-smc".
|
|
|
|
config SCMI_AGENT_OPTEE
|
|
bool "Enable SCMI agent OP-TEE"
|
|
depends on SCMI_FIRMWARE && OPTEE
|
|
default y
|
|
help
|
|
Enable the SCMI communication channel based on OP-TEE transport
|
|
for compatible "linaro,scmi-optee".
|
|
|
|
config SCMI_ID_VENDOR_80
|
|
bool
|
|
|
|
config SCMI_ID_VENDOR_81
|
|
bool
|
|
|
|
config SCMI_ID_VENDOR_82
|
|
bool
|
|
|
|
source "drivers/firmware/scmi/vendors/imx/Kconfig"
|