Skip to content

Add support for Hexagon q6v5-wcss integrated core

Sricharan R linux-arm-msm linux-devicetree linux-remoteproc lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 4 repliesIn review
  2. v56 patches 2 repliesSuperseded
  3. v46 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches4 repliesSuperseded
v26 patches0 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v6 from the cover letter

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5remoteproc: qcom: mdt_loader: Make the firmware authentication optionaldrivers/soc/qcom/mdt_loader.c include/linux/soc/qcom/mdt_loader.h+66 -250 replies
2/5remoteproc: qcom: Push reset ops, rproc ops in to of_match datadrivers/remoteproc/qcom_q6v5_pil.c+24 -140 replies
3/5remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset functiondrivers/remoteproc/qcom_q6v5_pil.c+93 -762 replies
4/5remoteproc: qcom: Add support for q6v5-wcss pilDocumentation/devicetree/bindings/remoteproc/qcom,q6v5.txt drivers/remoteproc/Kconfig drivers/remoteproc/qcom_q6v5_pil.c+43 -20 replies
5/5remoteproc: qcom: Add q6v5-wcss rproc opsdrivers/remoteproc/qcom_q6v5_pil.c+227 -02 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonRob Herring
1/5A-b
2/5
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH V6 0/5] Add support for Hexagon q6v5-wcss integrated core

IPQ8074 has an integrated Hexagon dsp core Q6v5 and a wireless lan (Lithium) IP. This series adds the remoteproc driver to reset, load and boot Q6 firmware.

The first patch is to make the mdt_loader authenticate
the firmware only if required, so that the code can be reused for self-authenticating firmware like the Q6v5 core in IPQ8074. The second patch exports the elf header's get_boot_addr helper to reuse it. The next couple of patches arranges the code in the original q6v5-mpss rproc to add q6v5-wcss later. The last couple of patches add the relevant bits for the q6v5-wcss core.

This is done on top of Avaneesh's msm8996 rproc support [1]

[1] https://lkml.org/lkml/2017/10/24/771

V6:
Rebased on top of,
https://www.mail-archive.com/[email protected]/msg1674300.html

Dropped remoteproc: Export rproc_elf_get_boot_addr, as it is already merged by a different patch from Bjorn.

Minor change to the q6 power down sequence.

v5:
No change. Just updated tags in PATCH #5

V4:
Fixed Bjorn's comment in PATCH#1 and added his acked-by Rebased on top of Avinash's latest rproc for msm8996 q6 support.

V3:
Rebased on top of latest remoteproc next

V2:
Last time introduced this a new rproc driver, but there is lot of code that can be shared if it is added to the q6v5-mpss pil driver.

Sricharan R (5):
remoteproc: qcom: mdt_loader: Make the firmware authentication
optional
remoteproc: qcom: Push reset ops, rproc ops in to of_match data
remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset
function
remoteproc: qcom: Add support for q6v5-wcss pil
remoteproc: qcom: Add q6v5-wcss rproc ops

 .../devicetree/bindings/remoteproc/qcom,q6v5.txt   |   7 +-
 drivers/remoteproc/Kconfig                         |   1 +
 drivers/remoteproc/qcom_q6v5_pil.c                 | 468 +++++++++++++++++----
 drivers/soc/qcom/mdt_loader.c                      |  87 ++--
 include/linux/soc/qcom/mdt_loader.h                |   4 +
 5 files changed, 450 insertions(+), 117 deletions(-)
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation