]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx952: Add idle-states node
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Jan 2026 12:40:07 +0000 (20:40 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 18 Jan 2026 01:55:27 +0000 (09:55 +0800)
Add idle-states node and refer it in A55 nodes to enable cpuidle.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx952.dtsi

index 33bde271d394d19407562f2a427a8a84b85bd679..91fe4916ac04d1d6337c2670374865c6f73163ba 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
 /*
- * Copyright 2025 NXP
+ * Copyright 2025-2026 NXP
  */
 
 #include <dt-bindings/dma/fsl-edma.h>
                #address-cells = <1>;
                #size-cells = <0>;
 
+               idle-states {
+                       entry-method = "psci";
+
+                       cpu_pd_wait: cpu-pd-wait {
+                               compatible = "arm,idle-state";
+                               arm,psci-suspend-param = <0x0010033>;
+                               local-timer-stop;
+                               entry-latency-us = <1000>;
+                               exit-latency-us = <700>;
+                               min-residency-us = <2700>;
+                               wakeup-latency-us = <1500>;
+                       };
+               };
+
                A55_0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                        power-domains = <&scmi_perf IMX952_PERF_A55>;
                        power-domain-names = "perf";
                        i-cache-size = <32768>;
@@ -73,6 +88,7 @@
                        reg = <0x100>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                        power-domains = <&scmi_perf IMX952_PERF_A55>;
                        power-domain-names = "perf";
                        i-cache-size = <32768>;
                        reg = <0x200>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                        power-domains = <&scmi_perf IMX952_PERF_A55>;
                        power-domain-names = "perf";
                        i-cache-size = <32768>;
                        reg = <0x300>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                        power-domains = <&scmi_perf IMX952_PERF_A55>;
                        power-domain-names = "perf";
                        i-cache-size = <32768>;