diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2020-11-19 20:10:47 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2020-11-20 15:55:48 +0100 |
commit | 2add5cacff3531e54c50b0832128299faa9f0563 (patch) | |
tree | fe2228fd2fcafb65452256b27e487503a9478ead /drivers/firmware/arm_scmi/common.h | |
parent | dt-bindings: arm: Add support for SCMI Regulators (diff) | |
download | linux-2add5cacff3531e54c50b0832128299faa9f0563.tar.xz linux-2add5cacff3531e54c50b0832128299faa9f0563.zip |
firmware: arm_scmi: Add voltage domain management protocol support
SCMI v3.0 introduces voltage domain protocol which provides commands to:
- Discover the voltage levels supported by a domain
- Get the configuration and voltage level of a domain
- Set the configuration and voltage level of a domain
Let us add support for the same.
Link: https://lore.kernel.org/r/20201119191051.46363-2-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/common.h')
-rw-r--r-- | drivers/firmware/arm_scmi/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h index 65063fa948d4..c0fb45e7c3e8 100644 --- a/drivers/firmware/arm_scmi/common.h +++ b/drivers/firmware/arm_scmi/common.h @@ -169,6 +169,7 @@ DECLARE_SCMI_REGISTER_UNREGISTER(perf); DECLARE_SCMI_REGISTER_UNREGISTER(power); DECLARE_SCMI_REGISTER_UNREGISTER(reset); DECLARE_SCMI_REGISTER_UNREGISTER(sensors); +DECLARE_SCMI_REGISTER_UNREGISTER(voltage); DECLARE_SCMI_REGISTER_UNREGISTER(system); #define DEFINE_SCMI_PROTOCOL_REGISTER_UNREGISTER(id, name) \ |