bus: mhi: Make firmware image optional for controller
Subsystems (2)
PATCH 1/1 bus: mhi: Make firmware image optional for controller
Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need fw_image defined. Make it optional to accommodate different bootup modes.
--- include/linux/mhi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mhi.h +1 -1
@@ -296,7 +296,7 @@ struct mhi_controller_config {* @wake_db: MHI WAKE doorbell register address * @iova_start: IOMMU starting address for data (required) * @iova_stop: IOMMU stop address for data (required) -* @fw_image: Firmware image name for normal booting (required) +* @fw_image: Firmware image name for normal booting (optional) * @edl_image: Firmware image name for emergency download mode (optional) * @rddm_size: RAM dump size that host should allocate for debugging purpose * @sbl_size: SBL image size downloaded through BHIe (optional)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 8 lines · Bhaumik Bhatt
Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need
fw_imagedefined. Make it optional to accommodate different bootup modes.Suggested-by Loic Poulain <[email protected]>Signed-off-by Bhaumik Bhatt <[email protected]>
Signature · 3 lines
Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Quoted 8 lines · Bhaumik Bhatt
Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need
fw_imagedefined. Make it optional to accommodate different bootup modes.Suggested-by Loic Poulain <[email protected]>Signed-off-by Bhaumik Bhatt <[email protected]>
Thanks,
Mani
Quoted 21 lines
--- include/linux/mhi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/mhi.h +1
-1@@ -296,7 +296,7 @@ struct mhi_controller_config {* @wake_db: MHI WAKE doorbell register address * @iova_start: IOMMU starting address for data (required) * @iova_stop: IOMMU stop address for data (required) -* @fw_image: Firmware image name for normal booting (required) +* @fw_image: Firmware image name for normal booting (optional) * @edl_image: Firmware image name for emergency download mode (optional) * @rddm_size: RAM dump size that host should allocate for debugging purpose * @sbl_size: SBL image size downloaded through BHIe (optional) Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Manivannan Sadhasivam
AppliedQuoted 8 lines · Bhaumik Bhatt
Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need
fw_imagedefined. Make it optional to accommodate different bootup modes.Suggested-by Loic Poulain <[email protected]>Signed-off-by Bhaumik Bhatt <[email protected]>
Applied to mhi-next!
Thanks,
Mani
Quoted 21 lines
--- include/linux/mhi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/mhi.h +1
-1@@ -296,7 +296,7 @@ struct mhi_controller_config {* @wake_db: MHI WAKE doorbell register address * @iova_start: IOMMU starting address for data (required) * @iova_stop: IOMMU stop address for data (required) -* @fw_image: Firmware image name for normal booting (required) +* @fw_image: Firmware image name for normal booting (optional) * @edl_image: Firmware image name for emergency download mode (optional) * @rddm_size: RAM dump size that host should allocate for debugging purpose * @sbl_size: SBL image size downloaded through BHIe (optional) Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 10 lines · On Tue, 9 Mar 2021 10:46:35 -0800 you wrote:
Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need
fw_imagedefined. Make it optional to accommodate different bootup modes.Suggested-by Loic Poulain <[email protected]>Signed-off-by Bhaumik Bhatt <[email protected]>[...]
Here is the summary with links:
- bus: mhi: Make firmware image optional for controller
https://git.kernel.org/qcom/c/4d5f52838d11
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html