From: Krzysztof Kozlowski <krzk@kernel.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"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>,
"Leo Yan" <leo.yan@linux.dev>,
"Joseph Gates" <jgates@squareup.com>,
"Georgi Djakov" <djakov@kernel.org>,
"Shawn Guo" <shawn.guo@linaro.org>,
"Stephan Gerhold" <stephan@gerhold.net>,
"Zac Crosby" <zac@squareup.com>, "Bastian Köcher" <git@kchr.de>,
"Andy Gross" <andy.gross@linaro.org>,
"Jeremy McNicoll" <jeremymc@redhat.com>,
"Rohit Agarwal" <quic_rohiagar@quicinc.com>,
"Melody Olvera" <quic_molvera@quicinc.com>,
"Bhupesh Sharma" <bhupesh.sharma@linaro.org>,
cros-qcom-dts-watchers@chromium.org,
"Stephen Boyd" <swboyd@chromium.org>,
"Rajendra Nayak" <quic_rjendra@quicinc.com>,
"Martin Botka" <martin.botka@somainline.org>,
"Jonathan Marek" <jonathan@marek.ca>,
"Vinod Koul" <vkoul@kernel.org>,
"Tengfei Fan" <quic_tengfan@quicinc.com>,
"Fenglin Wu" <quic_fenglinw@quicinc.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Abel Vesa" <abel.vesa@linaro.org>,
"Alexandru Marc Serdeliuc" <serdeliuk@yahoo.com>,
"Vladimir Zapolskiy" <vladimir.zapolskiy@linaro.org>,
"Sibi Sankar" <quic_sibis@quicinc.com>,
"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
"Jun Nie" <jun.nie@linaro.org>,
"James Willcox" <jwillcox@squareup.com>,
"Max Chen" <mchen@squareup.com>,
"Vincent Knecht" <vincent.knecht@mailoo.org>,
"Benjamin Li" <benl@squareup.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
Date: Sat, 30 Nov 2024 11:43:34 +0100 [thread overview]
Message-ID: <7778fea9-c127-428d-9653-e66e84f23c98@kernel.org> (raw)
In-Reply-To: <26lttxx7obu2oqvf4xnooqi3o7qwodhjzyjh4trjq5tlj2gzxs@uwihybmwbdid>
On 30/11/2024 11:26, Dmitry Baryshkov wrote:
> On Sat, Nov 30, 2024 at 11:00:32AM +0100, Krzysztof Kozlowski wrote:
>> On 30/11/2024 10:57, Dmitry Baryshkov wrote:
>>> On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
>>>> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
>>>>> IPQ5018 is one of the platforms where board-level clocks (XO, sleep)
>>>>> definitions are split between the SoC dtsi file and the board file.
>>>>> This is not optimal, as the clocks are a part of the SoC + PMICs design.
>>>>> Frequencies are common for the whole set of devices using the same SoC.
>>>>> Remove the split and move frequencies to the SoC DTSI file.
>>>>>
>>>>> Suggested-by: Bjorn Andersson <andersson@kernel.org>
>>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>
>>>> This contradicts DTS coding style and all my existing review. Obviously
>>>> that's a NAK from me. If you want to merge this patch, please kindly
>>>> carry my formal objection for this and all following "move board clocks"
>>>> patches:
>>>>
>>>> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
>>>
>>> I'd kindly ask Bjorn to chime in as a platform maintainer.
>>
>>
>> To change my NAK? NAK is still a NAK. We discussed it many, many times
>> already. We have coding style for this explicitly mentioning this case.
>> Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
>> ST and other platforms. I would be quite unpredictable or unfair if I
>> gave here some sort of exception while expecting different code from
>> other platforms.
>>
>> Please carry my NAK.
>
> Of course. I didn't mean to drop your tag or your objection.
>
> BTW, would it be possible for you to clarify the policy on external
> references? I mean, is it fine for DTSI to reference a label which is
> not defined within that file or within one of the files that it includes?
It is fine, you have plenty of such examples of shared components like
some audio blocks or PMICs.
All Qualcomm PMICs DTSI (e.g. arch/arm64/boot/dts/qcom/pmi632.dtsi )
reference them. Chromebooks are even "worse" here:
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
Nothing gets included there but hundred of phandles!
Are you planning to "fix" these as well?
These are just Qualcomm, but same cases are everywhere else.
But *that's not even important* because I do not suggest to move clocks
to DTSI. I suggest - and was almost always suggesting as best compromise
- to follow DTS coding style by doing opposite of what this patch is
doing. That's why I NAKed this and following patches, except last two
which are different.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-11-30 10:43 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
2024-11-30 10:21 ` Stephan Gerhold
2024-11-30 10:42 ` Dmitry Baryshkov
2024-11-30 10:59 ` Stephan Gerhold
2024-11-30 1:44 ` [PATCH v2 02/31] arm64: dts: qcom: msm8939: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 03/31] arm64: dts: qcom: msm8994: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 04/31] arm64: dts: qcom: qcs404: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 07/31] arm64: dts: qcom: sar2130p: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 08/31] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 09/31] arm64: dts: qcom: sdx75: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 10/31] arm64: dts: qcom: sm4450: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 11/31] arm64: dts: qcom: sm6125: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 12/31] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 13/31] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 14/31] arm64: dts: qcom: sm8350: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 15/31] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 16/31] arm64: dts: qcom: sm8550: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 17/31] arm64: dts: qcom: sm8650: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 18/31] arm64: dts: qcom: x1e80100: " Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file Dmitry Baryshkov
2024-11-30 9:29 ` Krzysztof Kozlowski
2024-11-30 9:57 ` Dmitry Baryshkov
2024-11-30 10:00 ` Krzysztof Kozlowski
2024-11-30 10:26 ` Dmitry Baryshkov
2024-11-30 10:43 ` Krzysztof Kozlowski [this message]
2024-11-30 11:08 ` Dmitry Baryshkov
2024-11-30 13:14 ` Konrad Dybcio
2024-11-30 1:44 ` [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file Dmitry Baryshkov
2024-11-30 9:29 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file Dmitry Baryshkov
2024-11-30 9:30 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file Dmitry Baryshkov
2024-11-30 9:30 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file Dmitry Baryshkov
2024-11-30 9:30 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file Dmitry Baryshkov
2024-11-30 9:30 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file Dmitry Baryshkov
2024-11-30 9:30 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file Dmitry Baryshkov
2024-11-30 9:31 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file Dmitry Baryshkov
2024-11-30 9:31 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file Dmitry Baryshkov
2024-11-30 9:31 ` Krzysztof Kozlowski
2024-11-30 1:44 ` [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file Dmitry Baryshkov
2024-11-30 1:44 ` [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file Dmitry Baryshkov
2024-11-30 10:18 ` [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Marijn Suijten
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=7778fea9-c127-428d-9653-e66e84f23c98@kernel.org \
--to=krzk@kernel.org \
--cc=abel.vesa@linaro.org \
--cc=andersson@kernel.org \
--cc=andy.gross@linaro.org \
--cc=benl@squareup.com \
--cc=bhupesh.sharma@linaro.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=git@kchr.de \
--cc=jeremymc@redhat.com \
--cc=jgates@squareup.com \
--cc=jonathan@marek.ca \
--cc=jun.nie@linaro.org \
--cc=jwillcox@squareup.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=leo.yan@linux.dev \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.botka@somainline.org \
--cc=mchen@squareup.com \
--cc=neil.armstrong@linaro.org \
--cc=quic_fenglinw@quicinc.com \
--cc=quic_molvera@quicinc.com \
--cc=quic_rjendra@quicinc.com \
--cc=quic_rohiagar@quicinc.com \
--cc=quic_sibis@quicinc.com \
--cc=quic_tengfan@quicinc.com \
--cc=robh@kernel.org \
--cc=serdeliuk@yahoo.com \
--cc=shawn.guo@linaro.org \
--cc=stephan@gerhold.net \
--cc=swboyd@chromium.org \
--cc=vincent.knecht@mailoo.org \
--cc=vkoul@kernel.org \
--cc=vladimir.zapolskiy@linaro.org \
--cc=zac@squareup.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;
as well as URLs for NNTP newsgroup(s).