From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Sreeshankar K <sreeshankar0910@gmail.com>,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
andersson@kernel.org, mturquette@baylibre.com, sboyd@kernel.org,
rafael@kernel.org, viresh.kumar@linaro.org,
konradybcio@kernel.org, tglx@kernel.org, ulfh@kernel.org
Cc: bmasney@redhat.com, radu@rendec.net, abel.vesa@oss.qualcomm.com,
lpieralisi@kernel.org, quic_tdas@quicinc.com,
danila@mainlining.org, davidwronek@gmail.com, mani@kernel.org,
robimarko@gmail.com, linux@gurudas.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v4 13/13] arm64: dts: qcom: Add SM7250 devicetree file
Date: Mon, 24 Aug 2026 10:56:07 +0200 [thread overview]
Message-ID: <57c9495a-45de-43d0-8ab3-4dc8f42712c5@oss.qualcomm.com> (raw)
In-Reply-To: <20260821154030.2514-14-sreeshankar0910@gmail.com>
On 8/21/26 5:40 PM, Sreeshankar K wrote:
> Add base devicetree file for SM7250 SoC.
> This file adds the basic nodes like cpu, psci and other required
> configuration for booting up to the serial console.
>
> Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
> ---
[...]
> + cluster_pd: power-domain-cpu-cluster0 {
> + #power-domain-cells = <0>;
> + domain-idle-states = <&cluster_sleep_pc
> + &cluster_sleep_cx
> + &cluster_sleep_aoss>;
nit:
<&foo>,
<&bar>,
...
(compiles to the same bytecode)
[...]
> + soc: soc@0 {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges = <0 0 0 0 0x10 0>;
> + dma-ranges = <0 0 0 0 0x10 0>;
> + compatible = "simple-bus";
compatible should come first
> +
> + gcc: clock-controller@100000 {
> + compatible = "qcom,sm7250-gcc";
> + reg = <0x0 0x00100000 0x0 0x1f0000>;
> + clock-names = "bi_tcxo",
> + "bi_tcxo_ao",
> + "sleep_clk";
> + clocks = <&rpmhcc RPMH_CXO_CLK>,
> + <&rpmhcc RPMH_CXO_CLK_A>,
> + <&sleep_clk>;
> + power-domains = <&rpmhpd RPMHPD_CX>;
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + #power-domain-cells = <1>;
> + };
> +
> + qupv3_id_1: geniqup@9c0000 {
> + compatible = "qcom,geni-se-qup";
> + reg = <0x0 0x009c0000 0x0 0x6000>;
> + clock-names = "m-ahb", "s-ahb";
> + clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
> + <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> + status = "disabled";
I think this wrapper can be enabled globally
> +
> + uart2: serial@988000 {
> + compatible = "qcom,geni-debug-uart";
> + reg = <0 0x00988000 0 0x4000>;
> + clock-names = "se";
> + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
> + interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> + };
> +
> + intc: interrupt-controller@17a00000 {
> + compatible = "arm,gic-v3";
> + reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
> + <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
> + #interrupt-cells = <3>;
> + interrupt-controller;
> + interrupts = <GIC_PPI 8 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pdc: interrupt-controller@b220000 {
> + compatible = "qcom,sm7250-pdc", "qcom,pdc";
> + reg = <0 0xb220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
> + qcom,pdc-ranges = <0 480 42>, <42 612 28>,
> + <70 63 1>, <71 640 15>, <86 522 52>;
1 a line, please
> + #interrupt-cells = <2>;
> + interrupt-parent = <&intc>;
> + interrupt-controller;
> + };
> +
> + spmi_bus: spmi@c440000 {
> + compatible = "qcom,spmi-pmic-arb";
> + reg = <0x0 0x0c440000 0x0 0x0001100>,
> + <0x0 0x0c600000 0x0 0x2000000>,
> + <0x0 0x0e600000 0x0 0x0100000>,
> + <0x0 0x0e700000 0x0 0x00a0000>,
> + <0x0 0x0c40a000 0x0 0x0026000>;
> + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
and here
[...]
> + apps_rsc: rsc@18200000 {
> + compatible = "qcom,rpmh-rsc";
> + reg = <0x0 0x18200000 0x0 0x10000>,
> + <0x0 0x18210000 0x0 0x10000>,
> + <0x0 0x18220000 0x0 0x10000>;
> + reg-names = "drv-0", "drv-1", "drv-2";
and here
[...]
> + cpufreq_hw: cpufreq@18323000 {
> + compatible = "qcom,sm7250-cpufreq-hw", "qcom,cpufreq-hw";
> + reg = <0 0x18323000 0 0x1000>,
> + <0 0x18325800 0 0x1000>,
> + <0 0x18327800 0 0x1000>;
> + reg-names = "freq-domain0", "freq-domain1",
> + "freq-domain2";
and here
> +
> + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
> + clock-names = "xo", "alternate";
> + #freq-domain-cells = <1>;
> + #clock-cells = <1>;
> + };
> +
> + tcsr_mutex: hwlock@1f40000 {
> + compatible = "qcom,tcsr-mutex";
> + reg = <0x0 0x01f40000 0x0 0x40000>;
> + #hwlock-cells = <1>;
> + };
> +
> + timer@17c20000 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + compatible = "arm,armv7-timer-mem";
Compatible should come as the first property
> + reg = <0x0 0x17c20000 0x0 0x1000>;
> + clock-frequency = <19200000>;
This line should not be necessary
Konrad
prev parent reply other threads:[~2026-08-24 8:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 15:40 [PATCH v4 00/13] Add initial support for Qualcomm SM7250 SoC Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 01/13] dt-bindings: arm: qcom,ids: Add SoC ID for SM7250 Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 02/13] soc: qcom: socinfo: Add SM7250 SoC ID Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 03/13] dt-bindings: clock: Add SM7250 global clock controller Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 04/13] clk: qcom: Add Global Clock Controller (GCC) driver for SM7250 Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 05/13] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC compatible " Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 06/13] clk: qcom: rpmh: Add SM7250 rpmh clocks Sreeshankar K
2026-08-24 8:46 ` Konrad Dybcio
2026-08-21 15:40 ` [PATCH v4 07/13] dt-bindings: power: qcom,rpmhpd: Document RPMh power domain for SM7250 Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 08/13] pmdomain: qcom: rpmhpd: Add RMPh power domains " Sreeshankar K
2026-08-24 8:46 ` Konrad Dybcio
2026-08-24 8:52 ` Konrad Dybcio
2026-08-21 15:40 ` [PATCH v4 09/13] dt-bindings: arm: cpus: Document Kryo 475 CPUs Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 10/13] dt-bindings: firmware: qcom,scm: Document SM7250 SCM Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 11/13] dt-bindings: interrupt-controller: qcom,pdc: Document SM7250 PDC Sreeshankar K
2026-08-21 15:40 ` [PATCH v4 12/13] dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware Sreeshankar K
2026-08-24 9:18 ` Viresh Kumar
2026-08-21 15:40 ` [PATCH v4 13/13] arm64: dts: qcom: Add SM7250 devicetree file Sreeshankar K
2026-08-24 8:56 ` Konrad Dybcio [this message]
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=57c9495a-45de-43d0-8ab3-4dc8f42712c5@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=bmasney@redhat.com \
--cc=conor+dt@kernel.org \
--cc=danila@mainlining.org \
--cc=davidwronek@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=mturquette@baylibre.com \
--cc=quic_tdas@quicinc.com \
--cc=radu@rendec.net \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=robimarko@gmail.com \
--cc=sboyd@kernel.org \
--cc=sreeshankar0910@gmail.com \
--cc=tglx@kernel.org \
--cc=ulfh@kernel.org \
--cc=viresh.kumar@linaro.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®