mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-19 10:21:38 +00:00
lib: utils/mpxy: Introduce mpxy_rpmi_no_mbox_init() function
Add new mpxy_rpmi_no_mbox_init() function to instantiate MPXY RPMI channel without any mailbox channel backing. This new function can be used by MPXY RPMI drivers that want to emulate MPXY channels in software. Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com> Reviewed-by: Pawandeep Oza <pawandeep.oza@oss.qualcomm.com> Tested-by: Pawandeep Oza <pawandeep.oza@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260923032359.4041876-6-anup.patel@oss.qualcomm.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
bdd7874991
commit
dc8ceae9d0
2 files changed
+83
-42
No files matched your search
@@ -84,7 +84,11 @@ struct mpxy_rpmi_data {
|
||||
void (*cleanup_group)(void *context);
|
||||
};
|
||||
|
||||
/** Common probe function for MPXY RPMI drivers */
|
||||
/** Function to instantiate MPXY RPMI channel */
|
||||
int mpxy_rpmi_no_mbox_init(const struct mpxy_rpmi_data *data, u32 mpxy_channel_id,
|
||||
const char *dom_name);
|
||||
|
||||
/** FDT probe function to instantiate MPXY RPMI channel */
|
||||
int fdt_mpxy_rpmi_init(const void *fdt, int nodeoff, const struct fdt_match *match);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user