]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/linux/scmi_protocol.h
firmware: arm_scmi: add initial support for power protocol
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 6 Jun 2017 10:32:24 +0000 (11:32 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 28 Feb 2018 16:37:57 +0000 (16:37 +0000)
commit76a6550990e296a7acbb4d33201c9740be912a8c
tree76774fc28a4ed2f5fd02dc86f0c7d3873225b479
parent5f6c6430e904d21bfe5d0076b1ff3e8b9ed94ba0
firmware: arm_scmi: add initial support for power protocol

The power protocol is intended for management of power states of various
power domains. The power domain management protocol provides commands to
describe the protocol version, discover the implementation specific
attributes, set and get the power state of a domain.

This patch adds support for the above mention features of the protocol.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
--
 drivers/firmware/arm_scmi/Makefile |   2 +-
 drivers/firmware/arm_scmi/power.c  | 242 +++++++++++++++++++++++++++++++++++++
 include/linux/scmi_protocol.h      |  28 +++++
 3 files changed, 271 insertions(+), 1 deletion(-)
 create mode 100644 drivers/firmware/arm_scmi/power.c
drivers/firmware/arm_scmi/Makefile
drivers/firmware/arm_scmi/power.c [new file with mode: 0644]
include/linux/scmi_protocol.h