From: "Sireesh Kodali" <sireeshkodali1@gmail.com>
To: "Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
<devicetree@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>,
<linux-remoteproc@vger.kernel.org>,
<~postmarketos/upstreaming@lists.sr.ht>
Cc: <bjorn.andersson@linaro.org>, "Andy Gross" <agross@kernel.org>,
"Konrad Dybcio" <konrad.dybcio@somainline.org>,
"Mathieu Poirier" <mathieu.poirier@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"open list" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/4] dt-bindings: remoteproc: qcom: Convert wcnss documentation to YAML
Date: Mon, 12 Sep 2022 09:07:22 +0530 [thread overview]
Message-ID: <CMU3XSTKA8DK.3V3N5T54PCYIQ@skynet-linux> (raw)
In-Reply-To: <932d68ce-0c14-3fda-8247-f5fe34b2f8b0@linaro.org>
On Fri Sep 9, 2022 at 1:29 PM IST, Krzysztof Kozlowski wrote:
> On 08/09/2022 20:49, Sireesh Kodali wrote:
> > This is a direct conversion of the existing txt documentation to YAML.
> > It is in preparation for the addition of pronto-v3 to the docs. This
> > patch doesn't document any of the existing subnodes/properties that are
> > not documented in the existing txt file. That is done in a separate
> > patch.
> >
> > Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
> > ---
> > .../bindings/remoteproc/qcom,wcnss-pil.yaml | 263 ++++++++++++++++++
> > 1 file changed, 263 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
> > new file mode 100644
> > index 000000000000..bc18139fdb91
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
> > @@ -0,0 +1,263 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/remoteproc/qcom,wcnss-pil.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Qualcomm WCNSS Peripheral Image Loader
> > +
> > +maintainers:
> > + - Bjorn Andersson <bjorn.andersson@linaro.org>
>
> Use email from maintainers entry.
I didn't notice the entry had changed from since v1, will be fixed in v3
>
> > +
> > +description:
> > + This document defines the binding for a component that loads and boots
> > + firmware on the Qualcomm WCNSS core.
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - qcom,riva-pil
> > + - qcom,pronto-v1-pil
> > + - qcom,pronto-v2-pil
> > +
> > + reg:
> > + maxItems: 3
> > + description:
> > + The base address and size of the CCU, DXE and PMU register blocks
> > +
> > + reg-names:
> > + items:
> > + - const: ccu
> > + - const: dxe
> > + - const: pmu
> > +
> > + interrupts:
> > + minItems: 2
> > + maxItems: 5
> > +
> > + interrupt-names:
> > + minItems: 2
> > + items:
> > + - const: wdog
> > + - const: fatal
> > + - const: ready
> > + - const: handover
> > + - const: stop-ack
> > +
> > + firmware-name:
> > + $ref: /schemas/types.yaml#/definitions/string
> > + description:
> > + Relative firmware image path for the WCNSS core. Defaults to
> > + "wcnss.mdt".
> > +
> > + vddpx-supply:
> > + description:
> > + PX regulator to be held on behalf of the booting of the WCNSS core
> > +
> > + vddmx-supply:
> > + description:
> > + MX regulator to be held on behalf of the booting of the WCNSS core.
> > +
> > + vddcx-supply:
> > + description:
> > + CX regulator to be held on behalf of the booting of the WCNSS core.
> > +
> > + power-domains:
> > + maxItems: 2
> > +
> > + power-domain-names:
> > + items:
> > + - const: cx
> > + - const: mx
> > +
> > + qcom,smem-states:
> > + $ref: /schemas/types.yaml#/definitions/phandle-array
> > + description:
> > + States used by the AP to signal the WCNSS core that it should shutdown
> > + items:
> > + - description: Stop the modem
> > +
> > + qcom,smem-state-names:
> > + description: The names of the state bits used for SMP2P output
> > + items:
> > + - const: stop
> > +
> > + memory-region:
> > + maxItems: 1
> > + description: reserved-memory for the WCNSS core
> > +
> > + smd-edge:
> > + $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
> > + description:
> > + Qualcomm Shared Memory subnode which represents communication edge,
> > + channels and devices related to the ADSP.
> > +
> > + iris:
> > + type: object
> > + description:
> > + The iris subnode of the WCNSS PIL is used to describe the attached RF module
> > + and its resource dependencies.
> > +
> additionalProperties false on this level.
Will be added in v3
Regards,
Sireesh
>
> > + properties:
> > + compatible:
> > + enum:
> > + - qcom,wcn3620
> > + - qcom,wcn3660
> > + - qcom,wcn3660b
> > + - qcom,wcn3680
> > +
> > + clocks:
> > + minItems: 1
> > + items:
> > + - description: XO clock
> > + - description: RF clock
> > +
> > + clock-names:
> > + minItems: 1
> > + items:
> > + - const: xo
> > + - const: rf
> > +
> > + vddxo-supply:
> > + description:
> > + Reference to the regulator to be held on behalf of the booting WCNSS
> > + core
> > +
> > + vddrfa-supply:
> > + description:
> > + Reference to the regulator to be held on behalf of the booting WCNSS
> > + core
> > +
> > + vddpa-supply:
> > + description:
> > + Reference to the regulator to be held on behalf of the booting WCNSS
> > + core
> > +
> > + vdddig-supply:
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2022-09-12 3:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 18:49 [PATCH v2 0/4] remoteproc: qcom: Add support for pronto-v3 Sireesh Kodali
2022-09-08 18:49 ` [PATCH v2 1/4] remoteproc: qcom: qcom_wcnss: " Sireesh Kodali
2022-09-08 18:49 ` [PATCH v2 2/4] dt-bindings: remoteproc: qcom: Convert wcnss documentation to YAML Sireesh Kodali
2022-09-08 21:16 ` Rob Herring
2022-09-09 8:00 ` Krzysztof Kozlowski
2022-09-12 3:36 ` Sireesh Kodali
2022-09-09 7:57 ` Krzysztof Kozlowski
2022-09-12 3:30 ` Sireesh Kodali
2022-09-09 7:59 ` Krzysztof Kozlowski
2022-09-12 3:37 ` Sireesh Kodali [this message]
2022-09-08 18:49 ` [PATCH v2 3/4] dt-bindings: remoteproc: qcom: wcnss: Add qcom,pronto compatible Sireesh Kodali
2022-09-09 8:00 ` Krzysztof Kozlowski
2022-09-12 3:33 ` Sireesh Kodali
2022-09-12 10:47 ` Krzysztof Kozlowski
2022-09-13 5:02 ` Sireesh Kodali
2022-09-08 18:49 ` [PATCH v2 4/4] dt-bindings: remoteproc: qcom: wcnss: Add compatible for pronto v3 Sireesh Kodali
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=CMU3XSTKA8DK.3V3N5T54PCYIQ@skynet-linux \
--to=sireeshkodali1@gmail.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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).