From: stanimir.varbanov@linaro.org (Stanimir Varbanov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/9] remoteproc: Introduce Qualcomm WCNSS firmware loader
Date: Wed, 25 May 2016 14:13:38 +0300 [thread overview]
Message-ID: <574588E2.60506@linaro.org> (raw)
In-Reply-To: <1459222625-11440-5-git-send-email-bjorn.andersson@linaro.org>
On 03/29/2016 06:37 AM, Bjorn Andersson wrote:
> From: Bjorn Andersson <bjorn.andersson@sonymobile.com>
>
> This introduces the peripheral image loader, for loading WCNSS firmware
> and boot the core on e.g. MSM8974. The firmware is verified and booted
> with the help of the Peripheral Authentication System (PAS) in
> TrustZone.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>
> Changes since v1:
> - Split iris definition into separate driver/dt-node
> - Move constants from DT to code
> - Make stop-state and some of interrupts optional to properly work on 8064
> - Cleaned up and made mdt loader support relocation, which is needed on 8016.
>
> drivers/remoteproc/Kconfig | 12 +
> drivers/remoteproc/Makefile | 2 +
> drivers/remoteproc/qcom_mdt_loader.c | 172 +++++++++++
> drivers/remoteproc/qcom_mdt_loader.h | 7 +
> drivers/remoteproc/qcom_wcnss.c | 579 +++++++++++++++++++++++++++++++++++
> drivers/remoteproc/qcom_wcnss.h | 22 ++
> drivers/remoteproc/qcom_wcnss_iris.c | 185 +++++++++++
> 7 files changed, 979 insertions(+)
> create mode 100644 drivers/remoteproc/qcom_mdt_loader.c
> create mode 100644 drivers/remoteproc/qcom_mdt_loader.h
> create mode 100644 drivers/remoteproc/qcom_wcnss.c
> create mode 100644 drivers/remoteproc/qcom_wcnss.h
> create mode 100644 drivers/remoteproc/qcom_wcnss_iris.c
>
<cut>
> +
> +static int wcnss_remove(struct platform_device *pdev)
> +{
> + struct qcom_wcnss *wcnss = platform_get_drvdata(pdev);
> +
> + of_platform_depopulate(&pdev->dev);
> +
> + qcom_smem_state_put(wcnss->state);
> + rproc_put(wcnss->rproc);
might be need to call rproc_del() too ?
> +
> + return 0;
> +}
> +
<cut>
--
regards,
Stan
next prev parent reply other threads:[~2016-05-25 11:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 3:36 [PATCH v2 0/9] Qualcomm WCNSS remoteproc Bjorn Andersson
2016-03-29 3:36 ` [PATCH v2 1/9] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding Bjorn Andersson
2016-03-31 14:31 ` Rob Herring
2016-04-21 17:20 ` [PATCH v2.1 " Bjorn Andersson
2016-04-22 16:22 ` Rob Herring
2016-04-22 16:54 ` Bjorn Andersson
2016-03-29 3:36 ` [PATCH v2 2/9] remoteproc: core: Make the loaded resource table optional Bjorn Andersson
2016-03-29 3:36 ` [PATCH v2 3/9] remoteproc: Add additional crash reasons Bjorn Andersson
2016-03-29 3:37 ` [PATCH v2 4/9] remoteproc: Introduce Qualcomm WCNSS firmware loader Bjorn Andersson
2016-04-15 20:17 ` John Stultz
2016-04-16 0:26 ` Bjorn Andersson
2016-05-25 11:13 ` Stanimir Varbanov [this message]
2016-05-25 19:00 ` Bjorn Andersson
2016-03-29 3:37 ` [PATCH v2 5/9] ARM: dts: qcom: msm8974: Introduce the wcnss remoteproc node Bjorn Andersson
2016-03-29 6:03 ` kbuild test robot
2016-03-29 3:37 ` [PATCH v2 6/9] ARM: dts: qcom: apq8064: Add syscon for sic-non-secure Bjorn Andersson
2016-03-29 3:37 ` [PATCH v2 7/9] ARM: dts: qcom: apq8064: Add complete smsm node Bjorn Andersson
2016-03-29 3:37 ` [PATCH v2 8/9] ARM: dts: qcom: apq8064: Add smd node and all edges Bjorn Andersson
2016-03-29 3:37 ` [PATCH v2 9/9] ARM: dts: qcom: apq8064: Introduce wcnss remoteproc Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574588E2.60506@linaro.org \
--to=stanimir.varbanov@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).