OSDN Git Service

firmware: arm_scmi: add basic driver infrastructure for SCMI
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 28 Mar 2017 10:36:07 +0000 (11:36 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 28 Feb 2018 16:37:57 +0000 (16:37 +0000)
commitaa4f886f3893f88146e8e02fd1e9c5c9e43cbcc1
treec5e8d6adccd1c673f26463891ad39852d05fe785
parentfe7be8b297b279189260f8ce084ea16fab0c2be0
firmware: arm_scmi: add basic driver infrastructure for SCMI

The SCMI is intended to allow OSPM to manage various functions that are
provided by the hardware platform it is running on, including power and
performance functions. SCMI provides two levels of abstraction, protocols
and transports. Protocols define individual groups of system control and
management messages. A protocol specification describes the messages
that it supports. Transports describe the method by which protocol
messages are communicated between agents and the platform.

This patch adds basic infrastructure to manage the message allocation,
initialisation, packing/unpacking and shared memory management.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
MAINTAINERS
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/arm_scmi/Makefile [new file with mode: 0644]
drivers/firmware/arm_scmi/common.h [new file with mode: 0644]
drivers/firmware/arm_scmi/driver.c [new file with mode: 0644]
include/linux/scmi_protocol.h [new file with mode: 0644]