Lines Matching +full:psci +full:- +full:suspend +full:- +full:param
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/arm/psci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Power State Coordination Interface (PSCI)
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
13 Firmware implementing the PSCI functions described in ARM document number
15 processors") can be used by Linux to initiate various CPU-centric power
18 Issue A of the specification describes functions for CPU suspend, hotplug
21 Functions are invoked by trapping to the privilege level of the PSCI
25 r0 => 32-bit Function ID / return value
26 {r1 - r3} => Parameters
31 [2] Power State Coordination Interface (PSCI) specification
37 - description:
38 For implementations complying to PSCI versions prior to 0.2.
39 const: arm,psci
41 - description:
42 For implementations complying to PSCI 0.2.
43 const: arm,psci-0.2
45 - description:
46 For implementations complying to PSCI 0.2.
48 PSCI 0.2 support, but are permitted to be present for compatibility
49 with existing software when "arm,psci" is later in the compatible
52 - const: arm,psci-0.2
53 - const: arm,psci
55 - description:
56 For implementations complying to PSCI 1.0.
57 const: arm,psci-1.0
59 - description:
60 For implementations complying to PSCI 1.0.
61 PSCI 1.0 is backward compatible with PSCI 0.2 with minor
62 specification updates, as defined in the PSCI specification[2].
64 - const: arm,psci-1.0
65 - const: arm,psci-0.2
68 description: The method of calling the PSCI firmware.
70 - $ref: /schemas/types.yaml#/definitions/string-array
71 - enum:
73 - smc
75 - hvc
93 arm,psci-suspend-param:
96 power_state parameter to pass to the PSCI suspend call.
98 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie
99 idle state nodes with entry-method property is set to "psci", as per
102 [1] Kernel documentation - ARM idle states bindings
103 Documentation/devicetree/bindings/arm/idle-states.txt
107 - compatible
108 - method
111 - if:
115 const: arm,psci
118 - cpu_off
119 - cpu_on
122 - |+
124 // Case 1: PSCI v0.1 only.
126 psci {
127 compatible = "arm,psci";
135 - |+
137 // Case 2: PSCI v0.2 only
139 psci {
140 compatible = "arm,psci-0.2";
145 - |+
147 // Case 3: PSCI v0.2 and PSCI v0.1.
150 * A DTB may provide IDs for use by kernels without PSCI 0.2 support,
152 * These IDs will be ignored by kernels with PSCI 0.2 support, which will
153 * use the standard PSCI 0.2 IDs exclusively.
156 psci {
157 compatible = "arm,psci-0.2", "arm,psci";