firmware: arm_scmi: Add voltage domain management protocol support
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 19 Nov 2020 19:10:47 +0000 (19:10 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 20 Nov 2020 14:55:48 +0000 (14:55 +0000)
commit2add5cacff3531e54c50b0832128299faa9f0563
treefe2228fd2fcafb65452256b27e487503a9478ead
parent0f80fcec08e9c50b8d2992cf26495673765ebaba
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>
drivers/firmware/arm_scmi/Makefile
drivers/firmware/arm_scmi/common.h
drivers/firmware/arm_scmi/driver.c
drivers/firmware/arm_scmi/voltage.c [new file with mode: 0644]
include/linux/scmi_protocol.h