diff options
| author | Kalle Valo <[email protected]> | 2023-07-27 13:04:28 +0300 |
|---|---|---|
| committer | Manivannan Sadhasivam <[email protected]> | 2023-08-04 12:09:56 +0530 |
| commit | efe47a18e43f59f063a82ccaa464a3b4844bb8a8 (patch) | |
| tree | 3ca9ef960d6cf708dd903026299e3cc63998561c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 14a2714085acd94da5774081a5735c655540b632 (diff) | |
bus: mhi: host: allow MHI client drivers to provide the firmware via a pointer
Currently MHI loads the firmware image from the path provided by client
devices. ath11k needs to support firmware image embedded along with meta
data (named as firmware-2.bin). So allow the client driver to request the
firmware file from user space on it's own and provide the firmware image
data and size to MHI via a pointer struct mhi_controller::fw_data.
This is an optional feature, if fw_data is NULL MHI load the firmware using
the name from struct mhi_controller::fw_image string as before.
Tested with ath11k and WCN6855 hw2.0.
Signed-off-by: Kalle Valo <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mani: wrapped commit message to 75 columns]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions