From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Mao Jinlong <quic_jinlmao@quicinc.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Mike Leach <mike.leach@linaro.org>,
James Clark <james.clark@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-kernel@vger.kernel.org, coresight@lists.linaro.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
Yuanfang Zhang <quic_yuanfang@quicinc.com>,
Tao Zhang <quic_taozha@quicinc.com>
Subject: Re: [PATCH v1 2/2] dt-bindings: arm: Add remote etm driver
Date: Tue, 7 Nov 2023 16:30:31 +0100 [thread overview]
Message-ID: <d2c4e571-fbc4-4c3b-b382-1dabb88fbcb9@linaro.org> (raw)
In-Reply-To: <20231107060939.13449-3-quic_jinlmao@quicinc.com>
On 07/11/2023 07:09, Mao Jinlong wrote:
> Add new coresight-remote-etm.yaml file describing the bindings required
> to define coresight remote etm in the device trees.
Subject: drop driver. Bindings are about hardware, not drivers.
>
> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
> ---
> .../arm/qcom,coresight-remote-etm.yaml | 59 +++++++++++++++++++
> 1 file changed, 59 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
> new file mode 100644
> index 000000000000..04bb57b48d96
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
> @@ -0,0 +1,59 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Coresight Remote ETM
What is ETM?
> +
> +maintainers:
> + - Jinlong Mao <quic_jinlmao@quicinc.com>
> + - Tao Zhang <quic_taozha@quicinc.com>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + Support for ETM trace collection on remote processor using coresight
> + framework. Enabling this will allow turning on ETM tracing on remote
> + processor via sysfs and collecting the trace via TMC sinks.
> +
> +properties:
> + compatible:
> + items:
> + - const: qcom,coresight-remote-etm
> +
> + qcom,inst-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Instance id of remote etm.
It's the first time this property appears... Why do you need to
hard-code it and why would it differ between each board? If you want to
use existing, accepted property, then you must use exactly the same.
> +
> + out-ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> + additionalProperties: false
> +
> + properties:
> + port:
> + description: Output connection to the CoreSight Trace bus.
> + $ref: /schemas/graph.yaml#/properties/port
> +
> +required:
> + - compatible
> + - qcom,inst-id
> + - out-ports
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + modem_etm0 {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
Underscores are not allowed.
> + compatible = "qcom,coresight-remote-etm";
> + qcom,inst-id = <2>;
> +
> + out-ports {
> + port {
> + modem_etm0_out_funnel_modem: endpoint {
> + remote-endpoint =
> + <&funnel_modem_in_modem_etm0>;
Fix wrapping.
> + };
> + };
> + };
> + };
> +...
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-11-07 15:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 6:09 [PATCH v1 0/2] coresight: Add remote etm support Mao Jinlong
2023-11-07 6:09 ` [PATCH v1 1/2] " Mao Jinlong
2023-11-07 15:26 ` Krzysztof Kozlowski
2023-11-09 6:17 ` Jinlong Mao
2023-11-08 2:34 ` kernel test robot
2023-11-08 11:19 ` James Clark
2023-11-09 6:19 ` Jinlong Mao
2023-11-07 6:09 ` [PATCH v1 2/2] dt-bindings: arm: Add remote etm driver Mao Jinlong
2023-11-07 15:30 ` Krzysztof Kozlowski [this message]
2023-11-07 15:31 ` Krzysztof Kozlowski
2023-11-16 17:22 ` Krzysztof Kozlowski
2023-11-20 22:39 ` Trilok Soni
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=d2c4e571-fbc4-4c3b-b382-1dabb88fbcb9@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=agross@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=coresight@lists.linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=james.clark@arm.com \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.leach@linaro.org \
--cc=quic_jinlmao@quicinc.com \
--cc=quic_taozha@quicinc.com \
--cc=quic_yuanfang@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=suzuki.poulose@arm.com \
/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®