Re: [PATCH] arm64: dts: qcom: sa8775p: add CPU idle states

From: Konrad Dybcio
Date: Thu Sep 05 2024 - 08:35:24 EST


On 7.08.2024 3:31 PM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Add CPU idle-state nodes and power-domains to the .dtsi for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---

[...]


> + CLUSTER_0_PD: power-domain-cluster0 {
> + #power-domain-cells = <0>;
> + power-domains = <&CLUSTER_2_PD>;
> + domain-idle-states = <&CLUSTER_SLEEP_GOLD>;
> + };
> +
> + CLUSTER_1_PD: power-domain-cluster1 {
> + #power-domain-cells = <0>;
> + power-domains = <&CLUSTER_2_PD>;
> + domain-idle-states = <&CLUSTER_SLEEP_GOLD>;
> + };
> +
> + CLUSTER_2_PD: power-domain-cluster2 {
> + #power-domain-cells = <0>;
> + domain-idle-states = <&CLUSTER_SLEEP_APSS_RSC_PC>;
> + };

[...]

You want to define a SYSTEM_PD that's parent to the CLUSTER domains, like
in x1e, then APSS_RSC_PC would be an idle state of that pd

Konrad