Kconfig (db9cc5e677783a8a9157804f4a61bb81d83049ac) Kconfig (20bda12a0ea086c35a4cf7465f8014a248e59080)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "ARM System Control and Management Interface Protocol"
3
4config ARM_SCMI_PROTOCOL
5 tristate "ARM System Control and Management Interface (SCMI) Message Protocol"
6 depends on ARM || ARM64 || COMPILE_TEST
7 help
8 ARM System Control and Management Interface (SCMI) protocol is a

--- 57 unchanged lines hidden (view full) ---

66 or received, were there any failures, what kind of failures, ..etc.
67
68 Enable this option to create a new debugfs directory which contains
69 such useful debug counters. This can be helpful for debugging and
70 SCMI monitoring.
71
72source "drivers/firmware/arm_scmi/transports/Kconfig"
73
1# SPDX-License-Identifier: GPL-2.0-only
2menu "ARM System Control and Management Interface Protocol"
3
4config ARM_SCMI_PROTOCOL
5 tristate "ARM System Control and Management Interface (SCMI) Message Protocol"
6 depends on ARM || ARM64 || COMPILE_TEST
7 help
8 ARM System Control and Management Interface (SCMI) protocol is a

--- 57 unchanged lines hidden (view full) ---

66 or received, were there any failures, what kind of failures, ..etc.
67
68 Enable this option to create a new debugfs directory which contains
69 such useful debug counters. This can be helpful for debugging and
70 SCMI monitoring.
71
72source "drivers/firmware/arm_scmi/transports/Kconfig"
73
74config ARM_SCMI_TRANSPORT_VIRTIO
75 bool "SCMI transport based on VirtIO"
76 depends on VIRTIO=y || VIRTIO=ARM_SCMI_PROTOCOL
77 select ARM_SCMI_HAVE_TRANSPORT
78 select ARM_SCMI_HAVE_MSG
79 help
80 This enables the virtio based transport for SCMI.
81
82 If you want the ARM SCMI PROTOCOL stack to include support for a
83 transport based on VirtIO, answer Y.
84
85config ARM_SCMI_TRANSPORT_VIRTIO_VERSION1_COMPLIANCE
86 bool "SCMI VirtIO transport Version 1 compliance"
87 depends on ARM_SCMI_TRANSPORT_VIRTIO
88 default y
89 help
90 This enforces strict compliance with VirtIO Version 1 specification.
91
92 If you want the ARM SCMI VirtIO transport layer to refuse to work
93 with Legacy VirtIO backends and instead support only VirtIO Version 1
94 devices (or above), answer Y.
95
96 If you want instead to support also old Legacy VirtIO backends (like
97 the ones implemented by kvmtool) and let the core Kernel VirtIO layer
98 take care of the needed conversions, say N.
99
100config ARM_SCMI_TRANSPORT_VIRTIO_ATOMIC_ENABLE
101 bool "Enable atomic mode for SCMI VirtIO transport"
102 depends on ARM_SCMI_TRANSPORT_VIRTIO
103 help
104 Enable support of atomic operation for SCMI VirtIO based transport.
105
106 If you want the SCMI VirtIO based transport to operate in atomic
107 mode, avoiding any kind of sleeping behaviour for selected
108 transactions on the TX path, answer Y.
109
110 Enabling atomic mode operations allows any SCMI driver using this
111 transport to optionally ask for atomic SCMI transactions and operate
112 in atomic context too, at the price of using a number of busy-waiting
113 primitives all over instead. If unsure say N.
114
115endif #ARM_SCMI_PROTOCOL
116
117config ARM_SCMI_POWER_CONTROL
118 tristate "SCMI system power control driver"
119 depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
120 help
121 This enables System Power control logic which binds system shutdown or
122 reboot actions to SCMI System Power notifications generated by SCP
123 firmware.
124
125 This driver can also be built as a module. If so, the module will be
126 called scmi_power_control. Note this may needed early in boot to catch
127 early shutdown/reboot SCMI requests.
128
129endmenu
74endif #ARM_SCMI_PROTOCOL
75
76config ARM_SCMI_POWER_CONTROL
77 tristate "SCMI system power control driver"
78 depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
79 help
80 This enables System Power control logic which binds system shutdown or
81 reboot actions to SCMI System Power notifications generated by SCP
82 firmware.
83
84 This driver can also be built as a module. If so, the module will be
85 called scmi_power_control. Note this may needed early in boot to catch
86 early shutdown/reboot SCMI requests.
87
88endmenu