From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Mike Leach <mike.leach@linaro.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Clark <robdclark@gmail.com>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Mike Leach <mike.leach@linaro.org>,
James Clark <james.clark@linaro.org>, Leo Yan <leo.yan@linux.dev>,
Kumar Gala <galak@codeaurora.org>,
Andy Gross <agross@codeaurora.org>,
"Ivan T. Ivanov" <ivan.ivanov@linaro.org>,
Andy Gross <andy.gross@linaro.org>,
Georgi Djakov <djakov@kernel.org>,
David Heidelberg <david@ixit.cz>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, coresight@lists.linaro.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks
Date: Tue, 18 Mar 2025 13:37:23 +0000 [thread overview]
Message-ID: <eeff769a-ff81-4017-9738-98ad130980a9@arm.com> (raw)
In-Reply-To: <klcggfxrhjqty4rktx24xmnosqnwzsbyfzgv5ea6okqbffyswn@5yei6276hlla>
On 18/03/2025 12:19, Dmitry Baryshkov wrote:
> On Tue, Mar 18, 2025 at 10:38:17AM +0000, Suzuki K Poulose wrote:
>> On 17/03/2025 17:44, Dmitry Baryshkov wrote:
>>
>> nit: Subject:
>>
>> s/qcom,coresight-static-replicator/arm,coresight-static-replicator
>>
>>> As most other CoreSight devices the replicator can use either of the
>>> optional clocks (or both). Document those optional clocks in the schema.
>>>
>>> Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema")
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>>> ---
>>> .../bindings/arm/arm,coresight-static-replicator.yaml | 10 ++++++++++
>>> 1 file changed, 10 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
>>> index a6f793ea03b6c193fc0ff72a45e0249a63a2ba3c..56e64067ed3d63c5e293a0840858f13428bacb45 100644
>>> --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
>>> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
>>> @@ -30,6 +30,16 @@ properties:
>>> power-domains:
>>> maxItems: 1
>>> + clocks:
>>> + minItems: 1
>>> + maxItems: 2
>>> +
>>
>> For the static replicator, you don't have an APB clock, as they can't be
>> programmed. It may have an ATB clock. So minItems 0, maxItems: 1
>
> It can, see qcom-apq8064.dtsi
>
> Also minItems:0 doesn't make sense to me. I'd rather keep this as an
> optional property rather than requiring an empty set.
Interesting, that must be atclk in fact. Because a static replicator
only manages ATB transactions. It doesn't have an APB interface.
I am not an expert in DTB schema. But the point is the clocks are optional.
Suzuki
>
>>
>> Suzuki
>>
>>
>>
>>> + clock-names:
>>> + minItems: 1
>>> + enum:
>>> + - apb_pclk
>>> + - atclk
>>> +
>>> in-ports:
>>> $ref: /schemas/graph.yaml#/properties/ports
>>> additionalProperties: false
>>>
>>
>
next prev parent reply other threads:[~2025-03-18 13:37 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 17:44 [PATCH 0/9] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 1/9] dt-bindings: soc: qcom,rpm: add missing clock-controller node Dmitry Baryshkov
2025-03-18 7:55 ` Krzysztof Kozlowski
2025-03-17 17:44 ` [PATCH 2/9] dt-bindings: display/msm: describe SFPB device Dmitry Baryshkov
2025-03-18 7:55 ` Krzysztof Kozlowski
2025-03-18 12:16 ` Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 3/9] dt-bindings: soc: qcom: add Smart Peripheral System Interrupt Controller Dmitry Baryshkov
2025-03-18 7:56 ` Krzysztof Kozlowski
2025-03-18 12:17 ` Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks Dmitry Baryshkov
2025-03-17 19:44 ` Rob Herring (Arm)
2025-03-18 10:28 ` Konrad Dybcio
2025-03-18 10:38 ` Suzuki K Poulose
2025-03-18 12:19 ` Dmitry Baryshkov
2025-03-18 13:37 ` Suzuki K Poulose [this message]
2025-03-18 21:44 ` Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 5/9] ARM: dts: qcom-apq8064: add missing clocks to the timer node Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 6/9] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
2025-03-18 12:08 ` Konrad Dybcio
2025-03-18 12:24 ` Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 7/9] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 8/9] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
2025-03-18 12:13 ` Konrad Dybcio
2025-03-18 12:26 ` Dmitry Baryshkov
2025-03-17 17:44 ` [PATCH 9/9] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
2025-03-18 12:15 ` Konrad Dybcio
2025-03-18 12:27 ` Dmitry Baryshkov
2025-03-17 20:37 ` [PATCH 0/9] ARM: qcom: fix APQ8064 schema warnings Rob Herring (Arm)
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=eeff769a-ff81-4017-9738-98ad130980a9@arm.com \
--to=suzuki.poulose@arm.com \
--cc=agross@codeaurora.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=andy.gross@linaro.org \
--cc=conor+dt@kernel.org \
--cc=coresight@lists.linaro.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=galak@codeaurora.org \
--cc=ivan.ivanov@linaro.org \
--cc=james.clark@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=leo.yan@linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mike.leach@linaro.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh@kernel.org \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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