diff options
Diffstat (limited to 'Documentation/devicetree/bindings/arm/psci.txt')
-rw-r--r-- | Documentation/devicetree/bindings/arm/psci.txt | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index 433afe9cb590..b4a58f39223c 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt | |||
@@ -21,7 +21,15 @@ to #0. | |||
21 | 21 | ||
22 | Main node required properties: | 22 | Main node required properties: |
23 | 23 | ||
24 | - compatible : Must be "arm,psci" | 24 | - compatible : should contain at least one of: |
25 | |||
26 | * "arm,psci" : for implementations complying to PSCI versions prior to | ||
27 | 0.2. For these cases function IDs must be provided. | ||
28 | |||
29 | * "arm,psci-0.2" : for implementations complying to PSCI 0.2. Function | ||
30 | IDs are not required and should be ignored by an OS with PSCI 0.2 | ||
31 | support, but are permitted to be present for compatibility with | ||
32 | existing software when "arm,psci" is later in the compatible list. | ||
25 | 33 | ||
26 | - method : The method of calling the PSCI firmware. Permitted | 34 | - method : The method of calling the PSCI firmware. Permitted |
27 | values are: | 35 | values are: |
@@ -45,6 +53,8 @@ Main node optional properties: | |||
45 | 53 | ||
46 | Example: | 54 | Example: |
47 | 55 | ||
56 | Case 1: PSCI v0.1 only. | ||
57 | |||
48 | psci { | 58 | psci { |
49 | compatible = "arm,psci"; | 59 | compatible = "arm,psci"; |
50 | method = "smc"; | 60 | method = "smc"; |
@@ -53,3 +63,28 @@ Example: | |||
53 | cpu_on = <0x95c10002>; | 63 | cpu_on = <0x95c10002>; |
54 | migrate = <0x95c10003>; | 64 | migrate = <0x95c10003>; |
55 | }; | 65 | }; |
66 | |||
67 | |||
68 | Case 2: PSCI v0.2 only | ||
69 | |||
70 | psci { | ||
71 | compatible = "arm,psci-0.2"; | ||
72 | method = "smc"; | ||
73 | }; | ||
74 | |||
75 | Case 3: PSCI v0.2 and PSCI v0.1. | ||
76 | |||
77 | A DTB may provide IDs for use by kernels without PSCI 0.2 support, | ||
78 | enabling firmware and hypervisors to support existing and new kernels. | ||
79 | These IDs will be ignored by kernels with PSCI 0.2 support, which will | ||
80 | use the standard PSCI 0.2 IDs exclusively. | ||
81 | |||
82 | psci { | ||
83 | compatible = "arm,psci-0.2", "arm,psci"; | ||
84 | method = "hvc"; | ||
85 | |||
86 | cpu_on = < arbitrary value >; | ||
87 | cpu_off = < arbitrary value >; | ||
88 | |||
89 | ... | ||
90 | }; | ||