summaryrefslogtreecommitdiff
path: root/drivers/firmware/arm_scmi/Makefile
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2017-10-30 21:33:30 +0300
committerSudeep Holla <sudeep.holla@arm.com>2018-02-28 19:37:57 +0300
commit933c504424a2bc784fdb4cd5c318049d55da20e0 (patch)
treec3c92b9123d7eca9941720b4c368928febae4292 /drivers/firmware/arm_scmi/Makefile
parentb6f20ff8bd94ad34032804a60bab5ee56752007e (diff)
downloadlinux-933c504424a2bc784fdb4cd5c318049d55da20e0.tar.xz
firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices
The SCMI specification encompasses various protocols. However, not every protocol has to be present on a given platform/implementation as not every protocol is relevant for it. Furthermore, the platform chooses which protocols it exposes to a given agent. The only protocol that must be implemented is the base protocol. The base protocol is used by an agent to discover which protocols are available to it. In order to enumerate the discovered implemented protocols, this patch adds support for a separate scmi protocol bus. It also adds mechanism to register support for different protocols. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/Makefile')
-rw-r--r--drivers/firmware/arm_scmi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/Makefile b/drivers/firmware/arm_scmi/Makefile
index 5d9c7ef35f0f..5f4ec2613db6 100644
--- a/drivers/firmware/arm_scmi/Makefile
+++ b/drivers/firmware/arm_scmi/Makefile
@@ -1,3 +1,4 @@
-obj-y = scmi-driver.o scmi-protocols.o
+obj-y = scmi-bus.o scmi-driver.o scmi-protocols.o
+scmi-bus-y = bus.o
scmi-driver-y = driver.o
scmi-protocols-y = base.o