mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
firmware: arm_scmi: Update various protocols versions
A few protocol versions had been increased with SCMI v3.2. Update accordingly the supported version define in the kernel stack, since all the mandatory base commands are indeed already supported. Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Message-Id: <20240812174027.3931160-1-cristian.marussi@arm.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
parent
fc789363c9
commit
be9f086524
@ -14,7 +14,7 @@
|
|||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20001
|
||||||
|
|
||||||
#define SCMI_BASE_NUM_SOURCES 1
|
#define SCMI_BASE_NUM_SOURCES 1
|
||||||
#define SCMI_BASE_MAX_CMD_ERR_COUNT 1024
|
#define SCMI_BASE_MAX_CMD_ERR_COUNT 1024
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30001
|
||||||
|
|
||||||
enum scmi_power_protocol_cmd {
|
enum scmi_power_protocol_cmd {
|
||||||
POWER_DOMAIN_ATTRIBUTES = 0x3,
|
POWER_DOMAIN_ATTRIBUTES = 0x3,
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30001
|
||||||
|
|
||||||
enum scmi_reset_protocol_cmd {
|
enum scmi_reset_protocol_cmd {
|
||||||
RESET_DOMAIN_ATTRIBUTES = 0x3,
|
RESET_DOMAIN_ATTRIBUTES = 0x3,
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x30001
|
||||||
|
|
||||||
#define SCMI_MAX_NUM_SENSOR_AXIS 63
|
#define SCMI_MAX_NUM_SENSOR_AXIS 63
|
||||||
#define SCMIv2_SENSOR_PROTOCOL 0x10000
|
#define SCMIv2_SENSOR_PROTOCOL 0x10000
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20001
|
||||||
|
|
||||||
#define SCMI_SYSTEM_NUM_SOURCES 1
|
#define SCMI_SYSTEM_NUM_SOURCES 1
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "protocols.h"
|
#include "protocols.h"
|
||||||
|
|
||||||
/* Updated only after ALL the mandatory features for that version are merged */
|
/* Updated only after ALL the mandatory features for that version are merged */
|
||||||
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20000
|
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x20001
|
||||||
|
|
||||||
#define VOLTAGE_DOMS_NUM_MASK GENMASK(15, 0)
|
#define VOLTAGE_DOMS_NUM_MASK GENMASK(15, 0)
|
||||||
#define REMAINING_LEVELS_MASK GENMASK(31, 16)
|
#define REMAINING_LEVELS_MASK GENMASK(31, 16)
|
||||||
|
Loading…
Reference in New Issue
Block a user