From: Rob Herring <robh@kernel.org>
To: Stephan Gerhold <stephan@gerhold.net>
Cc: linux-arm-msm@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Andy Gross <agross@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>
Subject: Re: [PATCH v3 06/13] dt-bindings: remoteproc: Add Qualcomm RPM processor/subsystem
Date: Thu, 15 Jun 2023 11:47:26 -0600 [thread overview]
Message-ID: <168685124601.1252742.10827614978463684778.robh@kernel.org> (raw)
In-Reply-To: <20230531-rpm-rproc-v3-6-a07dcdefd918@gerhold.net>
On Thu, 15 Jun 2023 18:50:39 +0200, Stephan Gerhold wrote:
> On Qualcomm platforms, most subsystems (e.g. audio/modem DSP) are
> described as remote processors in the device tree, with a dedicated
> node where properties and services related to them can be described.
>
> The Resource Power Manager (RPM) is also such a subsystem, with a
> remote processor that is running a special firmware. Unfortunately,
> the RPM never got a dedicated node representing it properly in the
> device tree. Most of the RPM services are described below a top-level
> /smd or /rpm-glink node.
>
> However, SMD/GLINK is just one of the communication channels to the RPM
> firmware. For example, the MPM interrupt functionality provided by the
> RPM does not use SMD/GLINK but writes directly to a special memory
> region allocated by the RPM firmware in combination with a mailbox.
> Currently there is no good place in the device tree to describe this
> functionality. It doesn't belong below SMD/GLINK but it's not an
> independent top-level device either.
>
> Introduce a new "qcom,rpm-proc" compatible that allows describing the
> RPM as a remote processor/subsystem like all others. The SMD/GLINK node
> is moved to a "smd-edge"/"glink-edge" subnode consistent with other
> existing bindings. Additional subnodes (e.g. interrupt-controller for
> MPM, rpm-master-stats) can be also added there.
>
> Deprecate using the old top-level /smd node since all SMD edges
> are now specified as subnodes of the remote processor.
>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
> This patch is based on qcom/for-next, since it needs the new
> qcom,rpm-master-stats.yaml schema that is only applied there.
> ---
> .../bindings/remoteproc/qcom,rpm-proc.yaml | 171 +++++++++++++++++++++
> .../devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +-
> .../devicetree/bindings/soc/qcom/qcom,smd.yaml | 7 +
> 3 files changed, 181 insertions(+), 3 deletions(-)
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml: Error in referenced schema matching $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230531-rpm-rproc-v3-6-a07dcdefd918@gerhold.net
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
next prev parent reply other threads:[~2023-06-15 17:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 16:50 [PATCH v3 00/13] Add dedicated device tree node for " Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 01/13] dt-bindings soc: qcom: smd-rpm: Fix sort order Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 02/13] dt-bindings: soc: qcom: smd-rpm: Add MSM8909 to qcom,smd-channels Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 03/13] dt-bindings: soc: qcom: smd-rpm: Add some more compatibles Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 04/13] soc: qcom: smd-rpm: Match rpmsg channel instead of compatible Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 05/13] dt-bindings: remoteproc: glink-rpm-edge: Use "glink-edge" as node name Stephan Gerhold
2023-06-17 8:04 ` Krzysztof Kozlowski
2023-06-15 16:50 ` [PATCH v3 06/13] dt-bindings: remoteproc: Add Qualcomm RPM processor/subsystem Stephan Gerhold
2023-06-15 17:47 ` Rob Herring [this message]
2023-06-17 8:05 ` Krzysztof Kozlowski
2023-06-15 16:50 ` [PATCH v3 07/13] soc: qcom: smem: Add qcom_smem_is_available() Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 08/13] rpmsg: qcom_smd: Use qcom_smem_is_available() Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 09/13] soc: qcom: Add RPM processor/subsystem driver Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 10/13] arm64: dts: qcom: Add rpm-proc node for SMD platforms Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 11/13] arm64: dts: qcom: Add rpm-proc node for GLINK gplatforms Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 12/13] ARM: dts: qcom: Add rpm-proc node for SMD platforms Stephan Gerhold
2023-06-15 16:50 ` [PATCH v3 13/13] ARM: dts: qcom: apq8064: Drop redundant /smd node Stephan Gerhold
2023-07-14 5:34 ` (subset) [PATCH v3 00/13] Add dedicated device tree node for RPM processor/subsystem 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=168685124601.1252742.10827614978463684778.robh@kernel.org \
--to=robh@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@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=stephan@gerhold.net \
/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
all inboxes | Powered by JetHome®