firmware: arm_scmi: Add multiple protocols registration support
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 21 Dec 2023 15:11:29 +0000 (15:11 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 20 Feb 2024 06:29:37 +0000 (06:29 +0000)
commit2858f6e5f06440d6b9e9c3f57bc68915344830a9
tree6e5c940b5e58a44df0ea281fb0d9064574b18455
parentdea893a66cd5b0cbd2f215137c32962a9a0cd178
firmware: arm_scmi: Add multiple protocols registration support

Add the capability for a SCMI driver to register to the core SCMI stack
with multiple SCMI protocols. In such a case the SCMI driver probe
function will end up being called once for each registered protocol
which have been also found as implemented on the platform.

This is especially useful in testing scenarios.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20231221151129.325749-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c