From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Taniya Das <quic_tdas@quicinc.com>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 05/16] dt-bindings: clock: qcom,mmcc-msm8998: drop core_bi_pll_test_se
Date: Wed, 4 Jan 2023 12:45:45 +0200 [thread overview]
Message-ID: <bd1c3325-2bac-7b3e-89be-b78cdf9d874d@linaro.org> (raw)
In-Reply-To: <CAOCk7NrrwF8mO4tE3GG2KjajehuC7QthHjNjurZWCSXccZ=LVA@mail.gmail.com>
On 03/01/2023 18:31, Jeffrey Hugo wrote:
> On Tue, Jan 3, 2023 at 9:09 AM Dmitry Baryshkov
> <dmitry.baryshkov@linaro.org> wrote:
>>
>> On 03/01/2023 17:38, Jeffrey Hugo wrote:
>>> On Wed, Dec 28, 2022 at 6:33 AM Dmitry Baryshkov
>>> <dmitry.baryshkov@linaro.org> wrote:
>>>>
>>>> The test clock apparently it's not used by anyone upstream. Remove it.
>>>
>>> IMO, NACK,
>>>
>>> This is not a valid justification.
>>>
>>> The DT is supposed to describe the hardware, and should be complete in
>>> that regard. This clock exists in the hardware, so it should be
>>> described.
>>
>> Most of Qualcomm clock controllers can input clocks from
>> core_bi_pll_test_se. But we are listing them only for a small number of
>> them. And even on these platforms nobody provides this clock.
>
> IMO the Qcom bindings could use some more rigor, I just don't have the
> cycles to help there. The ones I've looked at appear to be written
> from the perspective of "what does the linux driver need" and not
> "what do we have in the schematic". Often "what does the linux driver
> need" changes over time, which means the binding needs to evolve,
> which breaks the interface. It's entirely valid to not use something
> in the Linux driver, especially as the platform implementation is
> probably minimal during early bringup, but such things are expected to
> be implemented eventually.
Well, the problem is that not all of us have access to lowlevel
documentation, thus we have to resort to the information provided by the
vendor kernel. Sometimes our approach to platform implementation changes.
>
> There is a huge set of existing platforms where we probably can't go
> back and fix them since the binding is already defined, but going
> forward, new platforms can do better.
Bindings can change (especially if the change is backwards-compatible).
We are finishing one of such migrations (to use DT to bind parent clocks).
If you have anything particular in mind, please don't hesitate to
describe your ideas.
>
>>
>> Maybe you shed some light here, what is the source of this clock? Who
>> provides the clock, e.g. on msm8998 platform?
>
> It is an external input to the SoC, similar to CXO.
>
> On the laptops, TP88 (test point) on the main motherboard is routed to
> the SoC pin. I don't have schematics for every platform in the wild,
> so I can't say if that is the norm.
Ack, externally supplied clock. That's great. Thank you.
Let's leave the question of having core_bi_pll clock to subsystem
(Bjorn and Stephen) and bindings (Rob, Krzysztof) maintainers.
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-01-04 10:46 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 13:32 [PATCH 00/16] clk: qcom: get rid of core_bi_pll_test_se Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 01/16] dt-bindings: clock: qcom,gcc-msm8998: drop core_bi_pll_test_se Dmitry Baryshkov
2022-12-28 17:16 ` Rob Herring
2022-12-28 13:32 ` [PATCH 02/16] dt-bindings: clock: qcom,gcc-sdx55: " Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 03/16] dt-bindings: clock: qcom,gcc-sdx65: " Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 04/16] dt-bindings: clock: qcom,gcc-sm8350: " Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 05/16] dt-bindings: clock: qcom,mmcc-msm8998: " Dmitry Baryshkov
2023-01-03 15:38 ` Jeffrey Hugo
2023-01-03 16:09 ` Dmitry Baryshkov
2023-01-03 16:31 ` Jeffrey Hugo
2023-01-04 10:45 ` Dmitry Baryshkov [this message]
2022-12-28 13:32 ` [PATCH 06/16] dt-bindings: clock: qcom: gcc-sm8350: drop test clock Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 07/16] dt-bindings: clock: qcom: gcc-sm8450: " Dmitry Baryshkov
2022-12-28 13:32 ` [PATCH 08/16] clk: qcom: dispcc-qcm2290: get rid of " Dmitry Baryshkov
2022-12-28 13:38 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 09/16] clk: qcom: gcc-msm8998: " Dmitry Baryshkov
2022-12-28 13:38 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 10/16] clk: qcom: gcc-sc7180: " Dmitry Baryshkov
2022-12-28 13:39 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 11/16] clk: qcom: gcc-sdx55: use ARRAY_SIZE instead of specifying num_parents Dmitry Baryshkov
2022-12-28 13:39 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 12/16] clk: qcom: gcc-sdx55: get rid of test clock Dmitry Baryshkov
2022-12-28 13:40 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 13/16] clk: qcom: gcc-sm8150: " Dmitry Baryshkov
2022-12-28 13:40 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 14/16] clk: qcom: gcc-sm8350: " Dmitry Baryshkov
2022-12-28 13:40 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 15/16] clk: qcom: mmcc-msm8998: " Dmitry Baryshkov
2022-12-28 13:41 ` Konrad Dybcio
2022-12-28 13:32 ` [PATCH 16/16] arm64: dts: qcom: msm8998: " Dmitry Baryshkov
2022-12-28 13:41 ` Konrad Dybcio
2022-12-28 15:07 ` [PATCH 00/16] clk: qcom: get rid of core_bi_pll_test_se Manivannan Sadhasivam
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=bd1c3325-2bac-7b3e-89be-b78cdf9d874d@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jeffrey.l.hugo@gmail.com \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=quic_tdas@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).