firmware: arm_scmi: Make scmi core independent of the transport type
The SCMI specification is fairly independent of the transport protocol, which can be a simple mailbox (already implemented) or anything else. The current Linux implementation however is very much dependent on the mailbox transport layer. This patch makes the SCMI core code (driver.c) independent of the mailbox transport layer and moves all mailbox related code to a new file: mailbox.c and all struct shared_mem related code to a new file: shmem.c. We can now implement more transport protocols to transport SCMI messages. The transport protocols just need to provide struct scmi_transport_ops, with its version of the callbacks to enable exchange of SCMI messages. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://lore.kernel.org/r/8698a3cec199b8feab35c2339f02dc232bfd773b.1580448239.git.viresh.kumar@linaro.org Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
parent
c4eb8366
-
mentioned in commit b743ecf2
-
mentioned in commit 3653cdc2
-
mentioned in commit db08dbc9
-
mentioned in commit 8e69fae3
-
mentioned in commit 0156ad2a
-
mentioned in commit 42579bbd
-
mentioned in commit 51a8f136
-
mentioned in commit 85b637fe
-
mentioned in commit 928240c3
-
mentioned in commit 7f95f699
-
mentioned in commit 9b5e1b93
Please register or sign in to comment