From: Tingwei Zhang <quic_tingweiz@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@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>
Cc: <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH RFC 1/2] arm64: dts: qcom: sm8450: move board clocks to DTS files
Date: Wed, 27 Nov 2024 16:31:34 +0800 [thread overview]
Message-ID: <2f7adf9c-d816-4281-a690-be2067587475@quicinc.com> (raw)
In-Reply-To: <20241115-fix-board-clocks-v1-1-8cb00a4f57c2@linaro.org>
On 11/15/2024 2:59 PM, Dmitry Baryshkov wrote:
> SM8450 is one of the platforms where board-level clocks (XO, sleep) are
> fully defined in the SoC dtsi file. This is not correct and doesn't
> fully follow the DT guidelines. Move these two clocks to the board files
> completely.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 14 ++++++++++++++
> arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 14 ++++++++++++++
> arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi | 14 ++++++++++++++
> arch/arm64/boot/dts/qcom/sm8450.dtsi | 14 --------------
> 4 files changed, 42 insertions(+), 14 deletions(-)
>
<...>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> index 53147aa6f7e4acb102dd5dee51f0aec164b971c7..7dc183cc5c29374a19aabb36086e27edfffeaf37 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> @@ -33,20 +33,6 @@ / {
>
> chosen { };
>
> - clocks {
> - xo_board: xo-board {
> - compatible = "fixed-clock";
> - #clock-cells = <0>;
> - clock-frequency = <76800000>;
> - };
> -
> - sleep_clk: sleep-clk {
> - compatible = "fixed-clock";
> - #clock-cells = <0>;
> - clock-frequency = <32000>;
> - };
> - };
> -
Sleep clock is moved to board device tree while reference of this clock
is still in soc device tree like gcc node. Is this preferrable way to
reference the node defined in board device in soc device tree?
> cpus {
> #address-cells = <2>;
> #size-cells = <0>;
>
--
Thanks,
Tingwei
next prev parent reply other threads:[~2024-11-27 8:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 6:59 [PATCH RFC 0/2] arm64: dts: qcom: " Dmitry Baryshkov
2024-11-15 6:59 ` [PATCH RFC 1/2] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
2024-11-23 17:00 ` Krzysztof Kozlowski
2024-11-27 8:31 ` Tingwei Zhang [this message]
2024-11-15 6:59 ` [PATCH RFC 2/2] arm64: dts: qcom: sm8650: " Dmitry Baryshkov
2024-11-23 17:02 ` Krzysztof Kozlowski
2024-11-25 13:23 ` Dmitry Baryshkov
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=2f7adf9c-d816-4281-a690-be2067587475@quicinc.com \
--to=quic_tingweiz@quicinc.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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
all inboxes | Powered by JetHome®