File Index
Files and directories
Sign in
FILE

Kconfig

File preview with syntax highlighting.

linux-6.19.14/drivers/firmware/arm_scmi/Kconfig KCONFIG
  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
  9	  set of operating system-independent software interfaces that are
 10	  used in system management. SCMI is extensible and currently provides
 11	  interfaces for: Discovery and self-description of the interfaces
 12	  it supports, Power domain management which is the ability to place
 13	  a given device or domain into the various power-saving states that
 14	  it supports, Performance management which is the ability to control
 15	  the performance of a domain that is composed of compute engines
 16	  such as application processors and other accelerators, Clock
 17	  management which is the ability to set and inquire rates on platform
 18	  managed clocks and Sensor management which is the ability to read
 19	  sensor data, and be notified of sensor value.
 20
 21	  This protocol library provides interface for all the client drivers
 22	  making use of the features offered by the SCMI.
 23
 24if ARM_SCMI_PROTOCOL
 25
 26config ARM_SCMI_NEED_DEBUGFS
 27	bool
 28	help
 29	  This declares whether at least one SCMI facility is configured
 30	  which needs debugfs support. When selected causess the creation
 31	  of a common SCMI debugfs root directory.
 32
 33config ARM_SCMI_RAW_MODE_SUPPORT
 34	bool "Enable support for SCMI Raw transmission mode"
 35	depends on DEBUG_FS
 36	select ARM_SCMI_NEED_DEBUGFS
 37	help
 38	  Enable support for SCMI Raw transmission mode.
 39
 40	  If enabled allows the direct injection and snooping of SCMI bare
 41	  messages through a dedicated debugfs interface.
 42	  It is meant to be used by SCMI compliance/testing suites.
 43
 44	  When enabled regular SCMI drivers interactions are inhibited in
 45	  order to avoid unexpected interactions with the SCMI Raw message
 46	  flow. If unsure say N.
 47
 48config ARM_SCMI_RAW_MODE_SUPPORT_COEX
 49	bool "Allow SCMI Raw mode coexistence with normal SCMI stack"
 50	depends on ARM_SCMI_RAW_MODE_SUPPORT
 51	help
 52	  Allow SCMI Raw transmission mode to coexist with normal SCMI stack.
 53
 54	  This will allow regular SCMI drivers to register with the core and
 55	  operate normally, thing which could make an SCMI test suite using the
 56	  SCMI Raw mode support unreliable. If unsure, say N.
 57
 58config ARM_SCMI_DEBUG_COUNTERS
 59	bool "Enable SCMI communication debug metrics tracking"
 60	select ARM_SCMI_NEED_DEBUGFS
 61	depends on DEBUG_FS
 62	default n
 63	help
 64	  Enables tracking of some key communication metrics for debug
 65	  purposes. It may track metrics like how many messages were sent
 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
 72config ARM_SCMI_QUIRKS
 73	bool "Enable SCMI Quirks framework"
 74	depends on JUMP_LABEL || COMPILE_TEST
 75	default y
 76	help
 77	  Enables support for SCMI Quirks framework to workaround SCMI platform
 78	  firmware bugs on system already deployed in the wild.
 79
 80	  The framework allows the definition of platform-specific code quirks
 81	  that will be associated and enabled only on the desired platforms
 82	  depending on the SCMI firmware advertised versions and/or machine
 83	  compatibles.
 84
 85source "drivers/firmware/arm_scmi/transports/Kconfig"
 86source "drivers/firmware/arm_scmi/vendors/imx/Kconfig"
 87
 88endif #ARM_SCMI_PROTOCOL
 89
 90config ARM_SCMI_POWER_CONTROL
 91	tristate "SCMI system power control driver"
 92	depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
 93	help
 94	  This enables System Power control logic which binds system shutdown or
 95	  reboot actions to SCMI System Power notifications generated by SCP
 96	  firmware.
 97
 98	  This driver can also be built as a module.  If so, the module will be
 99	  called scmi_power_control. Note this may needed early in boot to catch
100	  early shutdown/reboot SCMI requests.
101
102endmenu
~/ Read-only file preview.