Skip to contentSkip to conversation

ARM: keystone: dts: add psci command definition

PATCH New [email protected] 1 participant 1 message Aug 2, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 82/111 ARM: keystone: dts: add psci command definition

From: Vitaly Andrianov <[email protected]>
Subject: ARM: keystone: dts: add psci command definition

This commit adds definition for cpu_on, cpu_off and cpu_suspend commands. These definitions must match the corresponding PSCI definitions in boot monitor.

Having those command and corresponding PSCI support in boot monitor allows run time CPU hot plugin.

---

 arch/arm/boot/dts/keystone.dtsi |    8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/keystone.dtsi renamed from arch/arm/boot/dts/keystone.dtsi~arm-keystone-dts-add-psci-command-definition +8 -0
diff -puN arch/arm/boot/dts/keystone.dtsi~arm-keystone-dts-add-psci-command-definition arch/arm/boot/dts/keystone.dtsi
@@ -70,6 +70,14 @@
 		cpu_on		= <0x84000003>;
 	};
 
+	psci {
+		compatible	= "arm,psci";
+		method		= "smc";
+		cpu_suspend	= <0x84000001>;
+		cpu_off		= <0x84000002>;
+		cpu_on		= <0x84000003>;
+	};
+
 	soc {
 		#address-cells = <1>;
 		#size-cells = <1>;

_