brintos

brintos / linux-shallow public Read only

0
0
Text · 3.4 KiB · dabd874 Raw
90 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "ARM System Control and Management Interface Protocol"3 4config ARM_SCMI_PROTOCOL5	tristate "ARM System Control and Management Interface (SCMI) Message Protocol"6	depends on ARM || ARM64 || COMPILE_TEST7	help8	  ARM System Control and Management Interface (SCMI) protocol is a9	  set of operating system-independent software interfaces that are10	  used in system management. SCMI is extensible and currently provides11	  interfaces for: Discovery and self-description of the interfaces12	  it supports, Power domain management which is the ability to place13	  a given device or domain into the various power-saving states that14	  it supports, Performance management which is the ability to control15	  the performance of a domain that is composed of compute engines16	  such as application processors and other accelerators, Clock17	  management which is the ability to set and inquire rates on platform18	  managed clocks and Sensor management which is the ability to read19	  sensor data, and be notified of sensor value.20 21	  This protocol library provides interface for all the client drivers22	  making use of the features offered by the SCMI.23 24if ARM_SCMI_PROTOCOL25 26config ARM_SCMI_NEED_DEBUGFS27	bool28	help29	  This declares whether at least one SCMI facility is configured30	  which needs debugfs support. When selected causess the creation31	  of a common SCMI debugfs root directory.32 33config ARM_SCMI_RAW_MODE_SUPPORT34	bool "Enable support for SCMI Raw transmission mode"35	depends on DEBUG_FS36	select ARM_SCMI_NEED_DEBUGFS37	help38	  Enable support for SCMI Raw transmission mode.39 40	  If enabled allows the direct injection and snooping of SCMI bare41	  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 in45	  order to avoid unexpected interactions with the SCMI Raw message46	  flow. If unsure say N.47 48config ARM_SCMI_RAW_MODE_SUPPORT_COEX49	bool "Allow SCMI Raw mode coexistence with normal SCMI stack"50	depends on ARM_SCMI_RAW_MODE_SUPPORT51	help52	  Allow SCMI Raw transmission mode to coexist with normal SCMI stack.53 54	  This will allow regular SCMI drivers to register with the core and55	  operate normally, thing which could make an SCMI test suite using the56	  SCMI Raw mode support unreliable. If unsure, say N.57 58config ARM_SCMI_DEBUG_COUNTERS59	bool "Enable SCMI communication debug metrics tracking"60	select ARM_SCMI_NEED_DEBUGFS61	depends on DEBUG_FS62	default n63	help64	  Enables tracking of some key communication metrics for debug65	  purposes. It may track metrics like how many messages were sent66	  or received, were there any failures, what kind of failures, ..etc.67 68	  Enable this option to create a new debugfs directory which contains69	  such useful debug counters. This can be helpful for debugging and70	  SCMI monitoring.71 72source "drivers/firmware/arm_scmi/transports/Kconfig"73source "drivers/firmware/arm_scmi/vendors/imx/Kconfig"74 75endif #ARM_SCMI_PROTOCOL76 77config ARM_SCMI_POWER_CONTROL78	tristate "SCMI system power control driver"79	depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)80	help81	  This enables System Power control logic which binds system shutdown or82	  reboot actions to SCMI System Power notifications generated by SCP83	  firmware.84 85	  This driver can also be built as a module.  If so, the module will be86	  called scmi_power_control. Note this may needed early in boot to catch87	  early shutdown/reboot SCMI requests.88 89endmenu90