diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2021-03-16 12:48:27 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-03-29 09:41:29 +0100 |
commit | d7b6cc563a600762597ff608f487f90dc8b66f16 (patch) | |
tree | fe2862b3797277152ff0cef84b7292460b523fb0 /include/linux/scmi_protocol.h | |
parent | 48dc16e2e52ca386d97435f257ef8a754becb0b8 (diff) |
firmware: arm_scmi: Introduce protocol handle definitions
Add basic protocol handles definitions and private data helpers.
A protocol handle identifies a protocol instance initialized against a
specific handle, it embeds all the references to the core SCMI transfer
methods that will be needed by a protocol implementation to build and
send its own protocol specific messages using common core methods.
As such, in the interface, a protocol handle will be passed down from
the core to the protocol specific initialization callback at init time.
Anyways, at this point only definitions are introduced, all protocols
initialization code and SCMI drivers probing is still based on the old
interface, so no functional change.
Link: https://lore.kernel.org/r/20210316124903.35011-3-cristian.marussi@arm.com
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'include/linux/scmi_protocol.h')
0 files changed, 0 insertions, 0 deletions