All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] arm64: dts: ls1012a: add cpu idle support
@ 2018-02-08  7:54 ` Ran Wang
  0 siblings, 0 replies; 18+ messages in thread
From: Ran Wang @ 2018-02-08  7:54 UTC (permalink / raw)
  To: Shawn Guo, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon
  Cc: Leo Li, devicetree, linux-arm-kernel, linux-kernel, Ran Wang,
	Yuantian Tang

From: Yuantian Tang <andy.tang@nxp.com>

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
index 82b272f..15421ef 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
@@ -70,6 +70,24 @@
 			reg = <0x0>;
 			clocks = <&clockgen 1 0>;
 			#cooling-cells = <2>;
+			cpu-idle-states = <&CPU_PH20>;
+		};
+	};
+
+	idle-states {
+		/*
+		 * PSCI node is not added default, U-boot will add missing
+		 * parts if it determines to use PSCI.
+		 */
+		entry-method = "arm,psci";
+
+		CPU_PH20: cpu-ph20 {
+			compatible = "arm,idle-state";
+			idle-state-name = "PH20";
+			arm,psci-suspend-param = <0x00010000>;
+			entry-latency-us = <1000>;
+			exit-latency-us = <1000>;
+			min-residency-us = <3000>;
 		};
 	};
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-03-15 15:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08  7:54 [PATCH 1/3] arm64: dts: ls1012a: add cpu idle support Ran Wang
2018-02-08  7:54 ` Ran Wang
2018-02-08  7:54 ` Ran Wang
2018-02-08  7:54 ` [PATCH 2/3] arm64: dts: ls1043a: " Ran Wang
2018-02-08  7:54   ` Ran Wang
2018-02-08  7:54   ` Ran Wang
2018-02-08  7:54 ` [PATCH 3/3] arm64: dts: update the cpu idle node Ran Wang
2018-02-08  7:54   ` Ran Wang
2018-02-08  7:54   ` Ran Wang
2018-03-15 15:25   ` Sudeep Holla
2018-03-15 15:25     ` Sudeep Holla
2018-02-24  6:25 ` [PATCH 1/3] arm64: dts: ls1012a: add cpu idle support Shawn Guo
2018-02-24  6:25   ` Shawn Guo
2018-02-24  6:25   ` Shawn Guo
2018-02-24  7:12   ` Shawn Guo
2018-02-24  7:12     ` Shawn Guo
2018-02-26  5:08     ` Ran Wang
2018-02-26  5:08       ` Ran Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.