firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array
authorAlice Guo <alice.guo@nxp.com>
Mon, 28 Apr 2025 10:37:24 +0000 (18:37 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 3 May 2025 19:55:32 +0000 (16:55 -0300)
commitb4f3fab643324d41ff0074ebed49713ddd4009eb
treeecf640d24b84461f3c5ab55fb5d315613a8e13a8
parent0c8a89d252c3db3401ffa572ee2e4dfcb94e2c3b
firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to
scmi_proto_driver list. scmi_proto_driver_get() function can be used to
match a SCMI protocol id and its driver.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
drivers/firmware/scmi/scmi_agent-uclass.c
include/scmi_agent-uclass.h