From: Sricharan R <sricharan@codeaurora.org>
To: Rob Herring <robh@kernel.org>
Cc: ohad@wizery.com, bjorn.andersson@linaro.org,
mark.rutland@arm.com, andy.gross@linaro.org,
david.brown@linaro.org, linux-remoteproc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org
Subject: Re: [PATCH 3/3] dt-binding: remoteproc: Add the bindings required for Q6 - WCSS core
Date: Fri, 7 Jul 2017 23:40:49 +0530 [thread overview]
Message-ID: <da7e8914-30bc-5acf-f672-fad0cc250f43@codeaurora.org> (raw)
In-Reply-To: <20170707134757.kfbdfk6srkmqa5ex@rob-hp-laptop>
Hi Rob,
Thanks for the review.
On 7/7/2017 7:17 PM, Rob Herring wrote:
> On Thu, Jun 29, 2017 at 07:47:41PM +0530, Sricharan R wrote:
>> IPQ8074 has an integrated Q6V5 Hexagon dsp - Lithium Wlan (WCSS) core.
>> This patch adds the required bindings to load, boot, shutdown that
>> remoteproc subsystem.
>>
>> Signed-off-by: Sricharan R <sricharan@codeaurora.org>
>> ---
>> .../bindings/remoteproc/qcom,q6v5-wcss.txt | 139 +++++++++++++++++++++
>> 1 file changed, 139 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,q6v5-wcss.txt
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5-wcss.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5-wcss.txt
>> new file mode 100644
>> index 0000000..f664c26
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5-wcss.txt
>> @@ -0,0 +1,139 @@
>> +Qualcomm Hexagon (Q6) - WCSS Peripheral Image Loader
>> +
>> +This document defines the binding for a component that loads and boots firmware
>> +on the integrated Qualcomm Hexagon - WCSS core.
>> +
>> +- compatible:
>> + Usage: required
>> + Value type: <string>
>> + Definition: must be one of:
>> + "qcom,q6v5-wcss-pil",
>> +- reg:
>> + Usage: required
>> + Value type: <prop-encoded-array>
>> + Definition: must specify the base address and size of the qdsp6 and
>> + mpm (msm power manager) register blocks.
>> +
>> +- reg-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "q6" and "mpm"
>> +
>> +- interrupts-extended:
>> + Usage: required
>> + Value type: <prop-encoded-array>
>> + Definition: must list the watchdog, fatal IRQs ready, handover and
>
> fatal, ready, ...
ok, will simplify.
>
>> + stop-ack IRQs
>> +
>> +- interrupt-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "wdog", "fatal", "ready", "handover", "stop-ack"
>> +
>> +- clocks:
>> + Usage: required
>> + Value type: <phandle>
>
> These are not just a phandle.
hmm ok. Will correct.
>
>> + Definition: references to the axim-q6, axim2-q6, axi-wcss,
>> + ahb-q6, ahbs-q6, ahb-wcss, ahbs-wcss, sysnoc and mem.
>> + to be held on behalf of the booting of the Hexagon and WCSS
>> + core. These are the interface, bus, mem clocks required for
>> + the Q6 and WCSS cores.
>> +
>> +- clock-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "axim-q6", "axim2-q6", "axi-wcss", "ahb-q6",
>> + "ahbs-q6", "ahb-wcss", "ahbs-wcss", "sysnoc", "mem"
>> +
>> +- resets:
>> + Usage: required
>> + Value type: <phandle>
>> + Definition: reference to the reset-controller for the Q6-WCSS sub-system
>
> This should be a list of 3 resets.
ok.
>> +
>> +- reset-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "wcss_aon_reset", "wcss_reset", "wcss_q6_reset"
>> +
>> +- qcom,smem-states:
>> + Usage: required
>> + Value type: <phandle>
>> + Definition: reference to the smem state for requesting the Hexagon to
>> + shut down
>> +
>> +- qcom,smem-state-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "stop"
>> +
>> +- qcom,halt-regs:
>> + Usage: required
>> + Value type: <prop-encoded-array>
>> + Definition: a phandle reference to a syscon representing TCSR followed
>> + by the three offsets within syscon for q6, wcss and tcsr global
>> + halt registers.
>> +
>> += SUBNODES:
>> +The Hexagon node must contain a subnode, named "q6" representing
>> +the memory region used by the Hexagon firmware. The sub-node must contain:
>
> Why does this need a sub-node?
Right, just the property. Had it correctly in code, missed to change here.
>
>> +
>> +- memory-region:
>> + Usage: required
>> + Value type: <phandle>
>> + Definition: reference to the reserved-memory for the Q6 firmware region
>> +
>> += EXAMPLE
>> +The following example describes the resources needed to boot control the
>> +Hexagon, as it is found on IPQ8074 boards.
>> +
>> + q6v5_wcss: q6v5_wcss@CD00000 {
>
> s/_/-/ in the node name.
ok.
Regards,
Sricharan
--
"QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
prev parent reply other threads:[~2017-07-07 18:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 14:17 [PATCH 0/3] Add remoteproc driver for Hexagon Q6 - WCSS integrated core Sricharan R
2017-06-29 14:17 ` [PATCH 1/3] drivers: remoteproc: Make mdt_loader firmware authentication optional Sricharan R
2017-07-26 18:11 ` Bjorn Andersson
2017-07-28 16:15 ` Sricharan R
2017-06-29 14:17 ` [PATCH 2/3] drivers: remoteproc: Add Hexagon Q6 - WCSS integrated core driver Sricharan R
2017-07-02 10:30 ` kbuild test robot
2017-07-26 19:08 ` Bjorn Andersson
2017-07-31 10:51 ` Sricharan R
2017-06-29 14:17 ` [PATCH 3/3] dt-binding: remoteproc: Add the bindings required for Q6 - WCSS core Sricharan R
2017-07-07 13:47 ` Rob Herring
2017-07-07 18:10 ` Sricharan R [this message]
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=da7e8914-30bc-5acf-f672-fad0cc250f43@codeaurora.org \
--to=sricharan@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=david.brown@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=ohad@wizery.com \
--cc=robh@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 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).