From: Stephen Boyd <sboyd@codeaurora.org>
To: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Cc: bjorn.andersson@linaro.org, agross@codeaurora.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2] remoteproc: qcom: Add venus rproc support on msm8996 platform.
Date: Mon, 28 Nov 2016 17:36:47 -0800 [thread overview]
Message-ID: <20161129013647.GX6095@codeaurora.org> (raw)
In-Reply-To: <1480015122-27717-2-git-send-email-akdwived@codeaurora.org>
On 11/25, Avaneesh Kumar Dwivedi wrote:
> This patch is based on
> https://patchwork.kernel.org/patch/9415627/
> https://patchwork.kernel.org/patch/9415651/
>
> This patch add clock initialization, enable and disable support.
> Required resource name string and rating are differentiated based
> on compatible string. Also added documentation for venus pil on
> msm8996.
>
> Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
> ---
Why isn't Stan Cced on this patch?
> .../devicetree/bindings/remoteproc/qcom,venus.txt | 3 +-
> drivers/remoteproc/qcom_venus_pil.c | 115 ++++++++++++++++++++-
> 2 files changed, 116 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt b/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt
> index 2d73ba1..c986f52 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt
> @@ -6,7 +6,8 @@ on the Qualcomm Venus remote processor core.
> - compatible:
> Usage: required
> Value type: <string>
> - Definition: must contain "qcom,venus-pil"
> + Definition: must contain "qcom,venus-pil" or
> + "qcom,venus-8996-pil"
>
> - memory-region:
> Usage: required
No addition of clocks or clock-names properties in this document?
> diff --git a/drivers/remoteproc/qcom_venus_pil.c b/drivers/remoteproc/qcom_venus_pil.c
> index 6d4e55b..23b7e99 100644
> --- a/drivers/remoteproc/qcom_venus_pil.c
> +++ b/drivers/remoteproc/qcom_venus_pil.c
> @@ -194,8 +296,19 @@ static int venus_remove(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct venus_rproc_res venus_8996_res = {
> + .venus_clks = (char*[]){"mx", "cx", "pll", NULL},
> + .venus_clk_rate = {19200000, 19200000, 19200000, 80000000},
I'm very much lost. I don't really understand why we're adding
clock control here. Perhaps that is the responsibility of the
video driver itself and isn't supposed to be in the remoteproc
portion? Testing things standalone without the video driver seems
like a unit test, which is not too useful of a test if it doesn't
mirror real use cases.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2016-11-29 1:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-24 19:18 [PATCH v2] remoteproc: qcom: Venus firmware loader support for msm8996 Avaneesh Kumar Dwivedi
2016-11-24 19:18 ` [PATCH v2] remoteproc: qcom: Add venus rproc support on msm8996 platform Avaneesh Kumar Dwivedi
2016-11-29 1:36 ` Stephen Boyd [this message]
2016-11-29 9:54 ` Dwivedi, Avaneesh Kumar (avani)
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=20161129013647.GX6095@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=agross@codeaurora.org \
--cc=akdwived@codeaurora.org \
--cc=bjorn.andersson@linaro.org \
--cc=linux-arm-msm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.