| From: |
| Sricharan R <sricharan-AT-codeaurora.org> |
| To: |
| bjorn.andersson-AT-linaro.org, ohad-AT-wizery.com, robh+dt-AT-kernel.org, mark.rutland-AT-arm.com, andy.gross-AT-linaro.org, david.brown-AT-linaro.org, linux-remoteproc-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-arm-msm-AT-vger.kernel.org, linux-soc-AT-vger.kernel.org |
| Subject: |
| [PATCH v2 0/6] Add support for Hexagon q6v5-wcss integrated core |
| Date: |
| Wed, 30 Aug 2017 20:43:38 +0530 |
| Message-ID: |
| <1504106024-23569-1-git-send-email-sricharan@codeaurora.org> |
| Cc: |
| sricharan-AT-codeaurora.org |
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/7/21/217
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 (6):
remoteproc: qcom: mdt_loader: Make the firmware authentication
optional
remoteproc: Export rproc_elf_get_boot_addr
remoteproc: qcom: Push reset ops, fw ops, rproc ops in to of_match
data
remoteproc: qcom: Split the head and tail of the q6v5-pil rproc start
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/qcom_q6v5_pil.c | 468 +++++++++++++++++----
drivers/remoteproc/remoteproc_elf_loader.c | 2 +-
drivers/remoteproc/remoteproc_internal.h | 3 +
drivers/soc/qcom/mdt_loader.c | 70 ++-
include/linux/soc/qcom/mdt_loader.h | 3 +
6 files changed, 455 insertions(+), 98 deletions(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation