mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: Leo Yan <leo.yan@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>,
	Mike Leach <mike.leach@arm.com>,
	James Clark <james.clark@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Wei Xu <xuwei5@hisilicon.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: arm: coresight: Limit static replicator to atclk
Date: Tue, 13 Oct 2026 07:53:20 +0200	[thread overview]
Message-ID: <e64a1339-f66b-4f29-b95f-01578223f1a4@amd.com> (raw)
In-Reply-To: <20261012162851.GB26205@e132581.arm.com>



On 10/12/26 18:28, Leo Yan wrote:
> On Mon, Oct 12, 2026 at 02:35:37PM +0200, Michal Simek wrote:
>>
>>
>> On 10/2/26 17:07, Leo Yan wrote:
>>> Static replicators have no programmable registers and need no APB
>>> programming clock.
>>>
>>> The Zynq clock controller registers dbg_trc and dbg_apb and calls
>>> clk_prepare_enable() for each gate the bootloader left on.
>>
>> That's one bootloader behavior. If there is another bootloader that clocks
>> can be simply disabled. I don't think there is any reason to depends on
>> bootloader behavior. If there are clocks which has to be ON I can't see any
>> reason not to drive them.
> 
> My reference to zynq_clk_setup() was to explain that this patch leaves
> the existing management of dbg_trc and dbg_apb unchanged.
> 
> The CoreSight drivers do not request clocks named "dbg_trc" or "dbg_apb".

And this is the point. DT binding is not describing what Linux driver handles.
Binding describes HW itself. And for proper functionality these 2 clocks need to 
be handled.
That Linux driver is not doing it that's different issue.

Thanks,
Michal



  reply	other threads:[~2026-10-13  5:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 15:07 [PATCH 0/5] arm: coresight: Clean up funnel and replicator clocks Leo Yan
2026-10-02 15:07 ` [PATCH 1/5] dt-bindings: arm: coresight: Limit static replicator to atclk Leo Yan
2026-10-05 17:40   ` Rob Herring (Arm)
2026-10-12 12:35   ` Michal Simek
2026-10-12 16:28     ` Leo Yan
2026-10-13  5:53       ` Michal Simek [this message]
2026-10-02 15:07 ` [PATCH 2/5] dt-bindings: arm: coresight: Allow atclk for static funnel Leo Yan
2026-10-05 17:41   ` Rob Herring (Arm)
2026-10-02 15:07 ` [PATCH 3/5] arm64: dts: hisilicon: Drop PCLK from static CoreSight links Leo Yan
2026-10-09  1:04   ` Wei Xu
2026-10-02 15:07 ` [PATCH 4/5] ARM: dts: zynq: Use dynamic CoreSight funnel and trim clocks Leo Yan
2026-10-12 12:37   ` Michal Simek
2026-10-02 15:07 ` [PATCH 5/5] ARM: dts: qcom: apq8064: Drop PCLK from static replicator Leo Yan
2026-10-02 15:21   ` Dmitry Baryshkov
2026-10-02 15:33     ` Leo Yan
2026-10-02 16:05       ` Dmitry Baryshkov
2026-10-05 14:47         ` Leo Yan

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=e64a1339-f66b-4f29-b95f-01578223f1a4@amd.com \
    --to=michal.simek@amd.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=leo.yan@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=mike.leach@arm.com \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=xuwei5@hisilicon.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®