From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: "Barnabás Czémán" <barnabas.czeman@mainlining.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Stephan Gerhold" <stephan@gerhold.net>,
"Otto Pflüger" <otto.pflueger@abscue.de>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Lee Jones" <lee@kernel.org>,
"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Konrad Dybcio" <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, iommu@lists.linux.dev,
Dang Huynh <danct12@riseup.net>
Subject: Re: [PATCH 08/10] arm64: dts: qcom: Add initial support for MSM8937
Date: Wed, 12 Feb 2025 14:07:19 +0100 [thread overview]
Message-ID: <7664b71c-ed47-4765-9ac4-5dbe3ec80d3c@oss.qualcomm.com> (raw)
In-Reply-To: <20250211-msm8937-v1-8-7d27ed67f708@mainlining.org>
On 11.02.2025 11:37 PM, Barnabás Czémán wrote:
> From: Dang Huynh <danct12@riseup.net>
>
> Add initial support for MSM8937 SoC.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> Co-developed-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
So the computer tells me 8917 and 8937 are *very* similar. Have you
tried assessing how making 8937.dtsi an overlay atop 8917.dtsi would
work out?
> arch/arm64/boot/dts/qcom/msm8937.dtsi | 2145 +++++++++++++++++++++++++++++++++
> 1 file changed, 2145 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8937.dtsi b/arch/arm64/boot/dts/qcom/msm8937.dtsi
> new file mode 100644
> index 0000000000000000000000000000000000000000..ef633c1694ad98165e58130cbeb186d2f0e2dcaa
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8937.dtsi
> @@ -0,0 +1,2145 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2023, Dang Huynh <danct12@riseup.net>
> + */
> +
> +#include <dt-bindings/clock/qcom,gcc-msm8917.h>
> +#include <dt-bindings/clock/qcom,rpmcc.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/qcom-rpmpd.h>
> +#include <dt-bindings/thermal/thermal.h>
> +
> +/ {
> + interrupt-parent = <&intc>;
> +
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + clocks {
> + xo_board: xo-board {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + };
> +
> + sleep_clk: sleep-clk {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + };
> + };
> +
> + cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + cpu4: cpu@0 {
I'm pretty sure a CPU with a MPIDR of 0 should be called CPU0
> + compatible = "arm,cortex-a53";
> + reg = <0x0>;
> + device_type = "cpu";
> + enable-method = "psci";
> + operating-points-v2 = <&cpu_opp_table_c0>;
> + next-level-cache = <&l2_0>;
> + #cooling-cells = <2>;
> + l2_0: l2-cache {
Please add a newline between the last property and the subnode
> + compatible = "cache";
> + cache-level = <2>;
cache-size = <0x80000>;
[...]
> + cpu0: cpu@100 {
> + compatible = "arm,cortex-a53";
> + reg = <0x100>;
> + device_type = "cpu";
> + next-level-cache = <&l2_1>;
> + enable-method = "psci";
> + operating-points-v2 = <&cpu_opp_table_c1>;
> + #cooling-cells = <2>;
> + power-domains = <&cpu_pd0>;
> + power-domain-names = "psci";
> + l2_1: l2-cache {
> + compatible = "cache";
> + cache-level = <2>;
cache-size = <0x100000>;
I'll do further review if you decide it makes sense to keep this
separate from 8917
Konrad
next prev parent reply other threads:[~2025-02-12 13:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 22:37 [PATCH 00/10] Initial support of MSM8937 and Xiaomi Redmi 3S Barnabás Czémán
2025-02-11 22:37 ` [PATCH 01/10] dt-bindings: clock: gcc-msm8917: Split to separate schema Barnabás Czémán
2025-02-12 6:34 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 02/10] dt-bindings: clock: Add MSM8937 Global Clock controller compatible Barnabás Czémán
2025-02-12 6:35 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 03/10] clk: qcom: gcc: Add support for Global Clock controller found on MSM8937 Barnabás Czémán
2025-02-11 22:37 ` [PATCH 04/10] pinctrl: qcom: msm8917: Add MSM8937 wsa_reset pin Barnabás Czémán
2025-02-14 10:20 ` Linus Walleij
2025-02-14 16:53 ` barnabas.czeman
2025-02-26 21:30 ` Linus Walleij
2025-02-11 22:37 ` [PATCH 05/10] dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8937 Barnabás Czémán
2025-02-12 6:36 ` Krzysztof Kozlowski
2025-02-20 15:18 ` (subset) " Lee Jones
2025-02-11 22:37 ` [PATCH 06/10] dt-bindings: nvmem: Add compatible for MS8937 Barnabás Czémán
2025-02-12 6:37 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 07/10] dt-bindings: iommu: qcom,iommu: Add MSM8937 IOMMU to SMMUv1 compatibles Barnabás Czémán
2025-02-12 6:37 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 08/10] arm64: dts: qcom: Add initial support for MSM8937 Barnabás Czémán
2025-02-12 13:07 ` Konrad Dybcio [this message]
2025-02-12 16:20 ` barnabas.czeman
2025-02-21 21:33 ` Konrad Dybcio
2025-02-11 22:37 ` [PATCH 09/10] dt-bindings: arm: qcom: Add Xiaomi Redmi 3S Barnabás Czémán
2025-02-12 6:36 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 10/10] arm64: dts: " Barnabás Czémán
2025-02-12 14:37 ` [PATCH 00/10] Initial support of MSM8937 and " Rob Herring (Arm)
2025-02-17 10:18 ` (subset) " Srinivas Kandagatla
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=7664b71c-ed47-4765-9ac4-5dbe3ec80d3c@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=barnabas.czeman@mainlining.org \
--cc=conor+dt@kernel.org \
--cc=danct12@riseup.net \
--cc=devicetree@vger.kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=otto.pflueger@abscue.de \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sboyd@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=stephan@gerhold.net \
--cc=will@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