linux/drivers/firmware/arm_scmi
Sudeep Holla 76a6550990 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
2018-02-28 16:37:57 +00:00
..
base.c firmware: arm_scmi: add common infrastructure and support for base protocol 2018-02-28 16:37:57 +00:00
bus.c firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices 2018-02-28 16:37:57 +00:00
clock.c firmware: arm_scmi: add initial support for clock protocol 2018-02-28 16:37:57 +00:00
common.h firmware: arm_scmi: add initial support for performance protocol 2018-02-28 16:37:57 +00:00
driver.c firmware: arm_scmi: add common infrastructure and support for base protocol 2018-02-28 16:37:57 +00:00
Makefile firmware: arm_scmi: add initial support for power protocol 2018-02-28 16:37:57 +00:00
perf.c firmware: arm_scmi: add initial support for performance protocol 2018-02-28 16:37:57 +00:00
power.c firmware: arm_scmi: add initial support for power protocol 2018-02-28 16:37:57 +00:00