mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Melody Olvera <quic_molvera@quicinc.com>,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	"Rob Herring (Arm)" <robh@kernel.org>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
	"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
	"Nícolas F . R . A . Prado" <nfraprado@collabora.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Satya Durga Srinivasu Prabhala" <quic_satyap@quicinc.com>,
	"Trilok Soni" <quic_tsoni@quicinc.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Lee Jones" <lee@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Stephen Boyd" <sboyd@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	linux-arm-msm@vger.kernel.org,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Will Deacon" <will@kernel.org>
Subject: Re: [PATCH 0/5] dts: qcom: Introduce SM8750 device trees
Date: Sat, 2 Nov 2024 10:36:35 +0100	[thread overview]
Message-ID: <ffff8335-74b3-4f1d-adcc-a10de5aa3e3a@oss.qualcomm.com> (raw)
In-Reply-To: <d6452efa-5d97-4c29-a2ea-8c97569dbdb5@quicinc.com>

On 25.10.2024 12:46 AM, Melody Olvera wrote:
> 
> 
> On 10/24/2024 10:22 AM, Konrad Dybcio wrote:
>> On 24.10.2024 6:33 PM, Rob Herring (Arm) wrote:
>>> On Mon, 21 Oct 2024 16:21:09 -0700, Melody Olvera wrote:
>>>> This series adds the initial device tree support for the SM8750 SoCs
>>>> needed to boot to shell. This specifically adds support for clocks,
>>>> pinctrl, rpmhpd, regulators, interconnects, and SoC and board
>>>> compatibles.

[...]

>>> arch/arm64/boot/dts/qcom/sm8750-mtp.dtb: rsc@16500000: 'power-domains' is a required property
>>>     from schema $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#
>> This I'll address when reviewing the dt
> 
> So for this, let me know if the following seems about right.
> The rsc node needs a system-wide power domain defined. To accomplish this, I would define
> a system_pd node and point both cluster pd nodes to it via power-domains, similar to what you did here:
> https://lore.kernel.org/all/20240102-topic-x1e_fixes-v1-3-70723e08d5f6@linaro.org/
> 
> Then, extrapolating from that, I can define a system-wide idle-state under the domain-idle-state node as follows:
> domain_ss3: domain-sleep-0 {
>     compatible = "domain-idle-state";
>     [...] (omitting a bunch of details, but you get the point)
> };
> 
> And then point to that from the new system_pd node under the psci node:
> system_pd: power-domain-system {
>     #power-domain-cells = <0>;
>     domain-idle-states = <&domain_ss3>;
> };
> 
> And then of course in the rsc node, have power-domains = <&system_pd>;
> 
> Is that correct?

Yes, please go ahead with this

Konrad

      reply	other threads:[~2024-11-02  9:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-21 23:21 Melody Olvera
2024-10-21 23:21 ` [PATCH 1/5] dt-bindings: arm: qcom: Document sm8750 SoC and boards Melody Olvera
2024-10-23  8:29   ` Krzysztof Kozlowski
2024-10-21 23:21 ` [PATCH 2/5] dt-bindings: mfd: qcom,spmi-pmic: Document PMICs added in SM8750 Melody Olvera
2024-10-23  8:30   ` Krzysztof Kozlowski
2024-11-01 15:56   ` (subset) " Lee Jones
2024-10-21 23:21 ` [PATCH 3/5] arm64: dts: qcom: Add pmd8028 and pmih0108 PMIC dtsi files Melody Olvera
2024-10-21 23:21 ` [PATCH 4/5] arm64: dts: qcom: Add base sm8750 dtsi and mtp and qrd dts Melody Olvera
2024-10-23  3:12   ` Bjorn Andersson
2024-10-23 21:58     ` Melody Olvera
2024-11-02  9:36   ` Konrad Dybcio
2024-11-04 22:18     ` Melody Olvera
2024-10-21 23:21 ` [PATCH 5/5] arm64: defconfig: Enable SM8750 SoC base configs Melody Olvera
2024-10-23  8:31   ` Krzysztof Kozlowski
2024-10-24 16:33 ` [PATCH 0/5] dts: qcom: Introduce SM8750 device trees Rob Herring (Arm)
2024-10-24 17:22   ` Konrad Dybcio
2024-10-24 22:46     ` Melody Olvera
2024-11-02  9:36       ` 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=ffff8335-74b3-4f1d-adcc-a10de5aa3e3a@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=geert+renesas@glider.be \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=nfraprado@collabora.com \
    --cc=quic_molvera@quicinc.com \
    --cc=quic_satyap@quicinc.com \
    --cc=quic_tsoni@quicinc.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --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

all inboxes | Powered by JetHome®