forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/arm/cpu-capacity.txt
....@@ -59,9 +59,11 @@
5959 ===========================================
6060
6161 Example 1 (ARM 64-bit, 6-cpu system, two clusters):
62
-capacities-dmips-mhz are scaled w.r.t. 1024 (cpu@0 and cpu@1)
63
-supposing cluster0@max-freq=1100 and custer1@max-freq=850,
64
-final capacities are 1024 for cluster0 and 446 for cluster1
62
+The capacities-dmips-mhz or DMIPS/MHz values (scaled to 1024)
63
+are 1024 and 578 for cluster0 and cluster1. Further normalization
64
+is done by the operating system based on cluster0@max-freq=1100 and
65
+custer1@max-freq=850, final capacities are 1024 for cluster0 and
66
+446 for cluster1 (576*850/1100).
6567
6668 cpus {
6769 #address-cells = <2>;
....@@ -116,7 +118,7 @@
116118 };
117119
118120 A57_0: cpu@0 {
119
- compatible = "arm,cortex-a57","arm,armv8";
121
+ compatible = "arm,cortex-a57";
120122 reg = <0x0 0x0>;
121123 device_type = "cpu";
122124 enable-method = "psci";
....@@ -127,7 +129,7 @@
127129 };
128130
129131 A57_1: cpu@1 {
130
- compatible = "arm,cortex-a57","arm,armv8";
132
+ compatible = "arm,cortex-a57";
131133 reg = <0x0 0x1>;
132134 device_type = "cpu";
133135 enable-method = "psci";
....@@ -138,7 +140,7 @@
138140 };
139141
140142 A53_0: cpu@100 {
141
- compatible = "arm,cortex-a53","arm,armv8";
143
+ compatible = "arm,cortex-a53";
142144 reg = <0x0 0x100>;
143145 device_type = "cpu";
144146 enable-method = "psci";
....@@ -149,7 +151,7 @@
149151 };
150152
151153 A53_1: cpu@101 {
152
- compatible = "arm,cortex-a53","arm,armv8";
154
+ compatible = "arm,cortex-a53";
153155 reg = <0x0 0x101>;
154156 device_type = "cpu";
155157 enable-method = "psci";
....@@ -160,7 +162,7 @@
160162 };
161163
162164 A53_2: cpu@102 {
163
- compatible = "arm,cortex-a53","arm,armv8";
165
+ compatible = "arm,cortex-a53";
164166 reg = <0x0 0x102>;
165167 device_type = "cpu";
166168 enable-method = "psci";
....@@ -171,7 +173,7 @@
171173 };
172174
173175 A53_3: cpu@103 {
174
- compatible = "arm,cortex-a53","arm,armv8";
176
+ compatible = "arm,cortex-a53";
175177 reg = <0x0 0x103>;
176178 device_type = "cpu";
177179 enable-method = "psci";
....@@ -233,4 +235,4 @@
233235 ===========================================
234236
235237 [1] ARM Linux Kernel documentation - CPUs bindings
236
- Documentation/devicetree/bindings/arm/cpus.txt
238
+ Documentation/devicetree/bindings/arm/cpus.yaml