From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Aiqun(Maria) Yu" <aiqun.yu@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, tingwei.zhang@oss.qualcomm.com,
trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com
Subject: Re: [PATCH] dt-bindings: mfd: qcom,tcsr: Add compatible for Kaanapali
Date: Thu, 13 Nov 2025 18:01:00 +0100 [thread overview]
Message-ID: <715b0dfd-cd75-401a-acac-0e4ea373dc7d@kernel.org> (raw)
In-Reply-To: <4a6f7c18-82d1-499c-af9c-9681e16a0db6@kernel.org>
On 13/11/2025 17:59, Krzysztof Kozlowski wrote:
>>> This is what we have for Hamoa:
>>>
>>> tcsr_mutex: hwlock@1f40000 {
>>> compatible = "qcom,tcsr-mutex";
>>> reg = <0 0x01f40000 0 0x20000>;
>>> #hwlock-cells = <1>;
>>> };
>>>
>>> tcsr: clock-controller@1fc0000 {
>>
>>
>> It is not a clock-controller start from 0x1fc0000.
>>
>>> compatible = "qcom,x1e80100-tcsr", "syscon";
>>> reg = <0 0x01fc0000 0 0x30000>;
>>
>> This is what we have a discussion initialized here:
>> "qcom,<platform>-tcsr" is only a tcsr clock controller binder, reference
>> from [1].
>> "qcom,tcsr-<platform>" is a common tcsr block. reference current binding
>> patch.
I forgot to trim the quote and paste here one more thing - you
completely miss the history, so quoting:
"The TCSR block is purely configuration block and should not have
children. Any child device should be simply moved outside of TCSR
syscon block."
This is about this binding. If you claim to make it something else, you
are basically changing the meaning of the binding now.
>>
>> For below hardware block information, is it really a recommendation to
>> combine the tscr block with tcsr clock controller all together?
>> ______________________
>> | | |
>> | TCSR_MUTEX | mutex |
>> |_____________|_______|
>> | | |
>> | RANDOM_REGS | |
>> |_____________| |
>> | | |
>> | TCSR_CLKS | tcsr |
>> |_____________| |
>> | | |
>> | RANDOM_REGS | |
>> |_____________|_______|
>>
>> [1]https://lore.kernel.org/all/20251030-gcc_kaanapali-v2-v2-2-a774a587af6f@oss.qualcomm.com/
>>
>>
>>> clocks = <&rpmhcc RPMH_CXO_CLK>;
>>> #clock-cells = <1>;
>>> #reset-cells = <1>;
>>> };
>>>
>>> This is exactly what I suggested above and Konrad is asking you why
>>> this doesn't work for Kaanapali. The addresses are even the same, what
>>> is the problem?
>>
>> The problem is the current patchset document a separate tcsr block as a
>> mfd. While the suggestion here is to use the tcsr clock controller
>
> There is no MFD. Don't use that term in context of supporting a change.
> But regardless, this documents only random regs.
>
>> binding to document the whole tcsr block which is not belonged to tcsr
>> clock controller.
>
> I don't understand whether you claim this patch as "this suggestion" or
> something else.
>
>
> Best regards,
> Krzysztof
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-11-13 17:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 23:23 [PATCH] dt-bindings: mfd: qcom,tcsr: Add compatible for Kaanapali Jingyi Wang
2025-11-04 3:34 ` Aiqun(Maria) Yu
2025-11-04 4:02 ` Bjorn Andersson
2025-11-04 5:35 ` Jingyi Wang
2025-11-05 21:06 ` Bjorn Andersson
2025-11-06 10:16 ` Aiqun(Maria) Yu
2025-11-06 16:24 ` Konrad Dybcio
2025-11-11 12:27 ` Aiqun(Maria) Yu
2025-11-11 16:05 ` Bjorn Andersson
2025-11-13 10:03 ` Aiqun(Maria) Yu
2025-11-13 10:41 ` Konrad Dybcio
2025-11-13 12:25 ` Dmitry Baryshkov
2025-11-13 16:59 ` Krzysztof Kozlowski
2025-11-13 17:01 ` Krzysztof Kozlowski [this message]
2025-11-13 18:01 ` 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=715b0dfd-cd75-401a-acac-0e4ea373dc7d@kernel.org \
--to=krzk@kernel.org \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jingyi.wang@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tingwei.zhang@oss.qualcomm.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=yijie.yang@oss.qualcomm.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