From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: Mao Jinlong <quic_jinlmao@quicinc.com>,
Mike Leach <mike.leach@linaro.org>,
James Clark <james.clark@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 1/5] dt-bindings: arm: Add CoreSight QMI component description
Date: Fri, 11 Jul 2025 12:03:39 +0100 [thread overview]
Message-ID: <3ef8295d-2dd3-404c-9776-5792a7567f56@arm.com> (raw)
In-Reply-To: <20250424115854.2328190-2-quic_jinlmao@quicinc.com>
Hi
On 24/04/2025 12:58, Mao Jinlong wrote:
> Add new coresight-qmi.yaml file describing the bindings required
> to define qmi node in the device trees.
>
> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Why does this have to do anything with coresight ? Surely coresight may
be using the QMI along with other subsystems. I don't see why this is
named as "coresight-qmi"
In my opinion, the QMI driver should be outside coresight driver
framework and whatever coresight component driver relies on it
could add the dependency.
Suzuki
> ---
> .../bindings/arm/qcom,coresight-qmi.yaml | 65 +++++++++++++++++++
> 1 file changed, 65 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-qmi.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-qmi.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-qmi.yaml
> new file mode 100644
> index 000000000000..601c865fe4d7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-qmi.yaml
> @@ -0,0 +1,65 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/qcom,coresight-qmi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm coresight QMI(Qualcomm Messaging Interface) component
> +
> +description: |
> + Qualcomm Messaging Interface (QMI) is an interface that clients can
> + use to send, and receive, messages from a remote entity. The coresight
> + QMI component is to configure QMI instance ids and service ids for different
> + remote subsystem connections. Coresight QMI driver uses the ids to init
> + the qmi connections. Other coresight drivers call the send qmi request
> + function when connection is established.
> +
> +maintainers:
> + - Mao Jinlong <quic_jinlmao@quicinc.com>
> +
> +properties:
> + compatible:
> + enum:
> + - qcom,coresight-qmi
> +
> +patternProperties:
> + '^conns(-[0-9]+)?$':
> + type: object
> + description:
> + QMI instance id and service id for different remote subsystem connections.
> +
> + properties:
> + qmi-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Instance id for the remote subsystem connection.
> +
> + service-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Service id for the remote subsystem connection.
> +
> + additionalProperties: false
> +
> + required:
> + - qmi-id
> + - service-id
> +
> +required:
> + - compatible
> +
> +additionalProperties: false
> +
> +examples:
> + # Minimum coresight qmi definition.
> + - |
> + coresight-qmi {
> + compatible = "qcom,coresight-qmi";
> +
> + conns-0 {
> + qmi-id = <0xd>;
> + service-id = <0x33>;
> + };
> + };
> +
> +...
next prev parent reply other threads:[~2025-07-11 11:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-24 11:58 [PATCH v5 0/5] coresight: Add remote etm support Mao Jinlong
2025-04-24 11:58 ` [PATCH v5 1/5] dt-bindings: arm: Add CoreSight QMI component description Mao Jinlong
2025-04-24 20:30 ` Konrad Dybcio
2025-07-10 11:03 ` Jinlong Mao
2025-07-11 10:11 ` Konrad Dybcio
2025-07-11 11:03 ` Suzuki K Poulose [this message]
2025-04-24 11:58 ` [PATCH v5 2/5] coresight: Add coresight QMI driver Mao Jinlong
2025-04-25 19:58 ` Konrad Dybcio
2025-04-26 5:18 ` kernel test robot
2025-04-24 11:58 ` [PATCH v5 3/5] dt-bindings: arm: Add qcom,qmi-id for remote etm Mao Jinlong
2025-06-18 3:16 ` Bjorn Andersson
2025-06-26 8:04 ` Jinlong Mao
2025-04-24 11:58 ` [PATCH v5 4/5] coresight: Add remote etm support Mao Jinlong
2025-04-24 20:32 ` Konrad Dybcio
2025-05-07 11:24 ` kernel test robot
2025-04-24 11:58 ` [PATCH v5 5/5] arm64: dts: qcom: msm8996: Add coresight qmi node Mao Jinlong
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=3ef8295d-2dd3-404c-9776-5792a7567f56@arm.com \
--to=suzuki.poulose@arm.com \
--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@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.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=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 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.