]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c99bc75485a207182b2a9f4b48db19558134175
tree76774fc28a4ed2f5fd02dc86f0c7d3873225b479
parent569d4a13c84856b13aae7d8c188d7e184916a23e
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