summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scmi/raw_mode.h
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2023-01-18 13:14:26 +0100
committerSudeep Holla <sudeep.holla@arm.com>2023-01-20 12:41:37 +0100
commit7860701d1e6e6e048960567d4767d93d693d6faa (patch)
treea3602cea5964c5d68911eb9a23ad27c7c4c06fbe /drivers/firmware/arm_scmi/raw_mode.h
parentfirmware: arm_scmi: Add the raw mode co-existence support (diff)
downloadlinux-7860701d1e6e6e048960567d4767d93d693d6faa.tar.xz
linux-7860701d1e6e6e048960567d4767d93d693d6faa.zip
firmware: arm_scmi: Add per-channel raw injection support
On a system configured with multiple transport channels, expose a few additional debugfs per-channel entries to allow a user to explicitly select which transport channel to use for the SCMI message injection. Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lore.kernel.org/r/20230118121426.492864-18-cristian.marussi@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/raw_mode.h')
-rw-r--r--drivers/firmware/arm_scmi/raw_mode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/raw_mode.h b/drivers/firmware/arm_scmi/raw_mode.h
index 1e3d1660b0e4..8af756a83fd1 100644
--- a/drivers/firmware/arm_scmi/raw_mode.h
+++ b/drivers/firmware/arm_scmi/raw_mode.h
@@ -19,11 +19,12 @@ enum {
void *scmi_raw_mode_init(const struct scmi_handle *handle,
struct dentry *top_dentry, int instance_id,
+ u8 *channels, int num_chans,
const struct scmi_desc *desc, int tx_max_msg);
void scmi_raw_mode_cleanup(void *raw);
void scmi_raw_message_report(void *raw, struct scmi_xfer *xfer,
- unsigned int idx);
+ unsigned int idx, unsigned int chan_id);
void scmi_raw_error_report(void *raw, struct scmi_chan_info *cinfo,
u32 msg_hdr, void *priv);