[PATCH v4 1/3] bus: mhi: host: allow MHI client drivers to provide the firmware via a pointer
Jeffrey Hugo
quic_jhugo at quicinc.com
Mon Jul 31 21:20:48 PDT 2023
On 7/27/2023 4:04 AM, Kalle Valo wrote:
> From: Kalle Valo <quic_kvalo at quicinc.com>
>
> 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 <quic_kvalo at quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
More information about the ath11k
mailing list