Skip to contentSkip to conversation

devicetree: bindings: Document cpu enable-method for ARM CPUs

PATCH Dave Martin 1 participant 1 message Nov 11, 2013 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw
Quoted 21 lines · Stephen Boyd

From: Rohit Vaswani <[email protected]>

According to the ePAPR CPUs should have an enable method. On ARM the enable-method property has not been used so far, so document this property as an optional property and add the spin-table method as one value

[sboyd: Split off into separate patch]
---
 Documentation/devicetree/bindings/arm/cpus.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/cpus.txt +0 -0
index f32494d..37258f9 100644
@@ -45,6 +45,14 @@ For the ARM architecture every CPU node must contain the following properties:
 		"marvell,xsc3"

Documentation/devicetree/bindings/arm/cpus.txt For the ARM architecture every CPU node must contain the following properties: · line 55

Quoted 10 lines
Documentation/devicetree/bindings/arm/cpus.txt +8 -0
 		"marvell,xscale"
 
+And the following optional properties:
+
+- enable-method: Specifies the method used to enable or take the secondary cores
+		 out of reset. This allows different reset sequence for
+		 different types of cpus.
+		 This should be one of:
+		 "spin-table"
+

If you've not already done so, take a look at the changes to this documentation in linux-next.

There is some documentation about what the spin-table should actually mean for ARM in Documentation/arm64/booting.txt.

We might need to add pointers from Documentation/arm/Booting?

Cheers
---Dave