Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b00c927d authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Kumar Gala
Browse files

devicetree: bindings: Document Krait/Scorpion cpus and enable-method



Scorpion and Krait don't use the spin-table enable-method.
Instead they rely on mmio register accesses to enable power and
clocks to bring CPUs out of reset. Document their enable-methods.

Cc: <devicetree@vger.kernel.org>
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
[sboyd: Split off into separate patch, renamed methods to
match compatible nodes]
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarKumar Gala <galak@codeaurora.org>
parent 188611af
Loading
Loading
Loading
Loading
+24 −1
Original line number Diff line number Diff line
@@ -180,7 +180,11 @@ nodes to be present and contain the properties described below.
			  be one of:
			     "spin-table"
			     "psci"
			# On ARM 32-bit systems this property is optional.
			# On ARM 32-bit systems this property is optional and
			  can be one of:
			    "qcom,gcc-msm8660"
			    "qcom,kpss-acc-v1"
			    "qcom,kpss-acc-v2"

	- cpu-release-addr
		Usage: required for systems that have an "enable-method"
@@ -191,6 +195,21 @@ nodes to be present and contain the properties described below.
			  property identifying a 64-bit zero-initialised
			  memory location.

	- qcom,saw
		Usage: required for systems that have an "enable-method"
		       property value of "qcom,kpss-acc-v1" or
		       "qcom,kpss-acc-v2"
		Value type: <phandle>
		Definition: Specifies the SAW[1] node associated with this CPU.

	- qcom,acc
		Usage: required for systems that have an "enable-method"
		       property value of "qcom,kpss-acc-v1" or
		       "qcom,kpss-acc-v2"
		Value type: <phandle>
		Definition: Specifies the ACC[2] node associated with this CPU.


Example 1 (dual-cluster big.LITTLE system 32-bit):

	cpus {
@@ -382,3 +401,7 @@ cpus {
		cpu-release-addr = <0 0x20000000>;
	};
};

--
[1] arm/msm/qcom,saw2.txt
[2] arm/msm/qcom,kpss-acc.txt