]>
Commit | Line | Data |
---|---|---|
4f2494cf GP |
1 | /** @file\r |
2 | \r | |
3f0d3dfa | 3 | Copyright (c) 2017-2021, Arm Limited. All rights reserved.\r |
4f2494cf | 4 | \r |
4059386c | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
4f2494cf GP |
6 | \r |
7 | System Control and Management Interface V1.0\r | |
8 | http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/\r | |
9 | DEN0056A_System_Control_and_Management_Interface.pdf\r | |
10 | **/\r | |
11 | \r | |
12 | #include <Library/BaseLib.h>\r | |
13 | #include <Library/DebugLib.h>\r | |
14 | #include <Library/UefiBootServicesTableLib.h>\r | |
15 | #include <Protocol/ArmScmiClockProtocol.h>\r | |
559a07d8 | 16 | #include <Protocol/ArmScmiClock2Protocol.h>\r |
4f2494cf GP |
17 | \r |
18 | #include "ArmScmiClockProtocolPrivate.h"\r | |
19 | #include "ScmiPrivate.h"\r | |
20 | \r | |
21 | /** Convert to 64 bit value from two 32 bit words.\r | |
22 | \r | |
23 | @param[in] Low Lower 32 bits.\r | |
24 | @param[in] High Higher 32 bits.\r | |
25 | \r | |
26 | @retval UINT64 64 bit value.\r | |
27 | **/\r | |
28 | STATIC\r | |
29 | UINT64\r | |
30 | ConvertTo64Bit (\r | |
429309e0 MK |
31 | IN UINT32 Low,\r |
32 | IN UINT32 High\r | |
4f2494cf GP |
33 | )\r |
34 | {\r | |
429309e0 | 35 | return (Low | ((UINT64)High << 32));\r |
4f2494cf GP |
36 | }\r |
37 | \r | |
38 | /** Return version of the clock management protocol supported by SCP firmware.\r | |
39 | \r | |
40 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
41 | \r | |
42 | @param[out] Version Version of the supported SCMI Clock management protocol.\r | |
43 | \r | |
44 | @retval EFI_SUCCESS The version is returned.\r | |
45 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
46 | @retval !(EFI_SUCCESS) Other errors.\r | |
47 | **/\r | |
48 | STATIC\r | |
49 | EFI_STATUS\r | |
50 | ClockGetVersion (\r | |
51 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
52 | OUT UINT32 *Version\r | |
53 | )\r | |
54 | {\r | |
462f95ec | 55 | return ScmiGetProtocolVersion (ScmiProtocolIdClock, Version);\r |
4f2494cf GP |
56 | }\r |
57 | \r | |
58 | /** Return total number of clock devices supported by the clock management\r | |
59 | protocol.\r | |
60 | \r | |
61 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
62 | \r | |
63 | @param[out] TotalClocks Total number of clocks supported.\r | |
64 | \r | |
65 | @retval EFI_SUCCESS Total number of clocks supported is returned.\r | |
66 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
67 | @retval !(EFI_SUCCESS) Other errors.\r | |
68 | **/\r | |
69 | STATIC\r | |
70 | EFI_STATUS\r | |
71 | ClockGetTotalClocks (\r | |
72 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
73 | OUT UINT32 *TotalClocks\r | |
74 | )\r | |
75 | {\r | |
76 | EFI_STATUS Status;\r | |
429309e0 | 77 | UINT32 *ReturnValues;\r |
4f2494cf | 78 | \r |
462f95ec | 79 | Status = ScmiGetProtocolAttributes (ScmiProtocolIdClock, &ReturnValues);\r |
4f2494cf GP |
80 | if (EFI_ERROR (Status)) {\r |
81 | return Status;\r | |
82 | }\r | |
83 | \r | |
84 | *TotalClocks = SCMI_CLOCK_PROTOCOL_TOTAL_CLKS (ReturnValues[0]);\r | |
85 | \r | |
86 | return EFI_SUCCESS;\r | |
87 | }\r | |
88 | \r | |
89 | /** Return attributes of a clock device.\r | |
90 | \r | |
91 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
92 | @param[in] ClockId Identifier for the clock device.\r | |
93 | \r | |
94 | @param[out] Enabled If TRUE, the clock device is enabled.\r | |
95 | @param[out] ClockAsciiName A NULL terminated ASCII string with the clock\r | |
96 | name, of up to 16 bytes.\r | |
97 | \r | |
98 | @retval EFI_SUCCESS Clock device attributes are returned.\r | |
99 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
100 | @retval !(EFI_SUCCESS) Other errors.\r | |
101 | **/\r | |
102 | STATIC\r | |
103 | EFI_STATUS\r | |
104 | ClockGetClockAttributes (\r | |
105 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
106 | IN UINT32 ClockId,\r | |
107 | OUT BOOLEAN *Enabled,\r | |
108 | OUT CHAR8 *ClockAsciiName\r | |
109 | )\r | |
110 | {\r | |
429309e0 | 111 | EFI_STATUS Status;\r |
4f2494cf | 112 | \r |
429309e0 MK |
113 | UINT32 *MessageParams;\r |
114 | CLOCK_ATTRIBUTES *ClockAttributes;\r | |
115 | SCMI_COMMAND Cmd;\r | |
116 | UINT32 PayloadLength;\r | |
4f2494cf GP |
117 | \r |
118 | Status = ScmiCommandGetPayload (&MessageParams);\r | |
119 | if (EFI_ERROR (Status)) {\r | |
120 | return Status;\r | |
121 | }\r | |
122 | \r | |
123 | *MessageParams = ClockId;\r | |
124 | \r | |
462f95ec | 125 | Cmd.ProtocolId = ScmiProtocolIdClock;\r |
bd8efb4f | 126 | Cmd.MessageId = ScmiMessageIdClockAttributes;\r |
4f2494cf GP |
127 | \r |
128 | PayloadLength = sizeof (ClockId);\r | |
129 | \r | |
130 | Status = ScmiCommandExecute (\r | |
131 | &Cmd,\r | |
132 | &PayloadLength,\r | |
429309e0 | 133 | (UINT32 **)&ClockAttributes\r |
4f2494cf GP |
134 | );\r |
135 | if (EFI_ERROR (Status)) {\r | |
136 | return Status;\r | |
137 | }\r | |
429309e0 MK |
138 | \r |
139 | // TRUE if bit 0 of ClockAttributes->Attributes is set.\r | |
4f2494cf GP |
140 | *Enabled = CLOCK_ENABLED (ClockAttributes->Attributes);\r |
141 | \r | |
142 | AsciiStrCpyS (\r | |
143 | ClockAsciiName,\r | |
144 | SCMI_MAX_STR_LEN,\r | |
429309e0 | 145 | (CONST CHAR8 *)ClockAttributes->ClockName\r |
4f2494cf GP |
146 | );\r |
147 | \r | |
148 | return EFI_SUCCESS;\r | |
149 | }\r | |
150 | \r | |
151 | /** Return list of rates supported by a given clock device.\r | |
152 | \r | |
153 | @param[in] This A pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
154 | @param[in] ClockId Identifier for the clock device.\r | |
155 | \r | |
063f8483 | 156 | @param[out] Format ScmiClockRateFormatDiscrete: Clock device\r |
4f2494cf GP |
157 | supports range of clock rates which are non-linear.\r |
158 | \r | |
063f8483 | 159 | ScmiClockRateFormatLinear: Clock device supports\r |
4f2494cf GP |
160 | range of linear clock rates from Min to Max in steps.\r |
161 | \r | |
162 | @param[out] TotalRates Total number of rates.\r | |
163 | \r | |
164 | @param[in,out] RateArraySize Size of the RateArray.\r | |
165 | \r | |
166 | @param[out] RateArray List of clock rates.\r | |
167 | \r | |
168 | @retval EFI_SUCCESS List of clock rates is returned.\r | |
169 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
170 | @retval EFI_BUFFER_TOO_SMALL RateArraySize is too small for the result.\r | |
171 | It has been updated to the size needed.\r | |
172 | @retval !(EFI_SUCCESS) Other errors.\r | |
173 | **/\r | |
174 | STATIC\r | |
175 | EFI_STATUS\r | |
176 | ClockDescribeRates (\r | |
177 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
429309e0 | 178 | IN UINT32 ClockId,\r |
4f2494cf GP |
179 | OUT SCMI_CLOCK_RATE_FORMAT *Format,\r |
180 | OUT UINT32 *TotalRates,\r | |
181 | IN OUT UINT32 *RateArraySize,\r | |
182 | OUT SCMI_CLOCK_RATE *RateArray\r | |
183 | )\r | |
184 | {\r | |
429309e0 | 185 | EFI_STATUS Status;\r |
4f2494cf | 186 | \r |
429309e0 MK |
187 | UINT32 PayloadLength;\r |
188 | SCMI_COMMAND Cmd;\r | |
189 | UINT32 *MessageParams;\r | |
190 | CLOCK_DESCRIBE_RATES *DescribeRates;\r | |
191 | CLOCK_RATE_DWORD *Rate;\r | |
4f2494cf | 192 | \r |
429309e0 MK |
193 | UINT32 RequiredArraySize;\r |
194 | UINT32 RateIndex;\r | |
195 | UINT32 RateNo;\r | |
196 | UINT32 RateOffset;\r | |
4f2494cf | 197 | \r |
429309e0 | 198 | *TotalRates = 0;\r |
3f0d3dfa | 199 | RequiredArraySize = 0;\r |
429309e0 | 200 | RateIndex = 0;\r |
4f2494cf GP |
201 | \r |
202 | Status = ScmiCommandGetPayload (&MessageParams);\r | |
203 | if (EFI_ERROR (Status)) {\r | |
204 | return Status;\r | |
205 | }\r | |
206 | \r | |
462f95ec | 207 | Cmd.ProtocolId = ScmiProtocolIdClock;\r |
bd8efb4f | 208 | Cmd.MessageId = ScmiMessageIdClockDescribeRates;\r |
4f2494cf | 209 | \r |
429309e0 | 210 | *MessageParams++ = ClockId;\r |
4f2494cf GP |
211 | \r |
212 | do {\r | |
4f2494cf GP |
213 | *MessageParams = RateIndex;\r |
214 | \r | |
215 | // Set Payload length, note PayloadLength is a IN/OUT parameter.\r | |
429309e0 | 216 | PayloadLength = sizeof (ClockId) + sizeof (RateIndex);\r |
4f2494cf GP |
217 | \r |
218 | // Execute and wait for response on a SCMI channel.\r | |
219 | Status = ScmiCommandExecute (\r | |
220 | &Cmd,\r | |
221 | &PayloadLength,\r | |
429309e0 | 222 | (UINT32 **)&DescribeRates\r |
4f2494cf GP |
223 | );\r |
224 | if (EFI_ERROR (Status)) {\r | |
225 | return Status;\r | |
226 | }\r | |
227 | \r | |
228 | if (*TotalRates == 0) {\r | |
229 | // In the first iteration we will get number of returned rates and number\r | |
230 | // of remaining rates. With this information calculate required size\r | |
231 | // for rate array. If provided RateArraySize is less, return an\r | |
232 | // error.\r | |
233 | \r | |
234 | *Format = RATE_FORMAT (DescribeRates->NumRatesFlags);\r | |
235 | \r | |
236 | *TotalRates = NUM_RATES (DescribeRates->NumRatesFlags)\r | |
237 | + NUM_REMAIN_RATES (DescribeRates->NumRatesFlags);\r | |
238 | \r | |
b98e2113 | 239 | RequiredArraySize = (*TotalRates) * sizeof (UINT64);\r |
4f2494cf GP |
240 | \r |
241 | if (RequiredArraySize > (*RateArraySize)) {\r | |
242 | *RateArraySize = RequiredArraySize;\r | |
243 | return EFI_BUFFER_TOO_SMALL;\r | |
244 | }\r | |
245 | }\r | |
246 | \r | |
247 | RateOffset = 0;\r | |
248 | \r | |
063f8483 | 249 | if (*Format == ScmiClockRateFormatDiscrete) {\r |
4f2494cf GP |
250 | for (RateNo = 0; RateNo < NUM_RATES (DescribeRates->NumRatesFlags); RateNo++) {\r |
251 | Rate = &DescribeRates->Rates[RateOffset++];\r | |
252 | // Non-linear discrete rates.\r | |
39b3e14c PG |
253 | RateArray[RateIndex++].DiscreteRate.Rate =\r |
254 | ConvertTo64Bit (Rate->Low, Rate->High);\r | |
4f2494cf GP |
255 | }\r |
256 | } else {\r | |
b98e2113 SH |
257 | // Linear clock rates from minimum to maximum in steps\r |
258 | // Minimum clock rate.\r | |
259 | Rate = &DescribeRates->Rates[RateOffset++];\r | |
260 | RateArray[RateIndex].ContinuousRate.Min =\r | |
261 | ConvertTo64Bit (Rate->Low, Rate->High);\r | |
262 | \r | |
263 | Rate = &DescribeRates->Rates[RateOffset++];\r | |
264 | // Maximum clock rate.\r | |
265 | RateArray[RateIndex].ContinuousRate.Max =\r | |
266 | ConvertTo64Bit (Rate->Low, Rate->High);\r | |
267 | \r | |
268 | Rate = &DescribeRates->Rates[RateOffset++];\r | |
269 | // Step.\r | |
270 | RateArray[RateIndex++].ContinuousRate.Step =\r | |
271 | ConvertTo64Bit (Rate->Low, Rate->High);\r | |
4f2494cf GP |
272 | }\r |
273 | } while (NUM_REMAIN_RATES (DescribeRates->NumRatesFlags) != 0);\r | |
274 | \r | |
275 | // Update RateArraySize with RequiredArraySize.\r | |
276 | *RateArraySize = RequiredArraySize;\r | |
277 | \r | |
278 | return EFI_SUCCESS;\r | |
279 | }\r | |
280 | \r | |
281 | /** Get clock rate.\r | |
282 | \r | |
283 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
284 | @param[in] ClockId Identifier for the clock device.\r | |
285 | \r | |
286 | @param[out] Rate Clock rate.\r | |
287 | \r | |
288 | @retval EFI_SUCCESS Clock rate is returned.\r | |
289 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
290 | @retval !(EFI_SUCCESS) Other errors.\r | |
291 | **/\r | |
292 | STATIC\r | |
293 | EFI_STATUS\r | |
294 | ClockRateGet (\r | |
295 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
296 | IN UINT32 ClockId,\r | |
297 | OUT UINT64 *Rate\r | |
298 | )\r | |
299 | {\r | |
429309e0 | 300 | EFI_STATUS Status;\r |
4f2494cf GP |
301 | \r |
302 | UINT32 *MessageParams;\r | |
303 | CLOCK_RATE_DWORD *ClockRate;\r | |
304 | SCMI_COMMAND Cmd;\r | |
305 | \r | |
429309e0 | 306 | UINT32 PayloadLength;\r |
4f2494cf GP |
307 | \r |
308 | Status = ScmiCommandGetPayload (&MessageParams);\r | |
309 | if (EFI_ERROR (Status)) {\r | |
310 | return Status;\r | |
311 | }\r | |
312 | \r | |
313 | // Fill arguments for clock protocol command.\r | |
429309e0 | 314 | *MessageParams = ClockId;\r |
4f2494cf | 315 | \r |
429309e0 MK |
316 | Cmd.ProtocolId = ScmiProtocolIdClock;\r |
317 | Cmd.MessageId = ScmiMessageIdClockRateGet;\r | |
4f2494cf GP |
318 | \r |
319 | PayloadLength = sizeof (ClockId);\r | |
320 | \r | |
321 | // Execute and wait for response on a SCMI channel.\r | |
322 | Status = ScmiCommandExecute (\r | |
323 | &Cmd,\r | |
324 | &PayloadLength,\r | |
429309e0 | 325 | (UINT32 **)&ClockRate\r |
4f2494cf GP |
326 | );\r |
327 | if (EFI_ERROR (Status)) {\r | |
328 | return Status;\r | |
329 | }\r | |
330 | \r | |
331 | *Rate = ConvertTo64Bit (ClockRate->Low, ClockRate->High);\r | |
332 | \r | |
333 | return EFI_SUCCESS;\r | |
334 | }\r | |
335 | \r | |
336 | /** Set clock rate.\r | |
337 | \r | |
338 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
339 | @param[in] ClockId Identifier for the clock device.\r | |
340 | @param[in] Rate Clock rate.\r | |
341 | \r | |
342 | @retval EFI_SUCCESS Clock rate set success.\r | |
343 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
344 | @retval !(EFI_SUCCESS) Other errors.\r | |
345 | **/\r | |
346 | STATIC\r | |
347 | EFI_STATUS\r | |
348 | ClockRateSet (\r | |
349 | IN SCMI_CLOCK_PROTOCOL *This,\r | |
350 | IN UINT32 ClockId,\r | |
351 | IN UINT64 Rate\r | |
352 | )\r | |
353 | {\r | |
429309e0 MK |
354 | EFI_STATUS Status;\r |
355 | CLOCK_RATE_SET_ATTRIBUTES *ClockRateSetAttributes;\r | |
356 | SCMI_COMMAND Cmd;\r | |
357 | UINT32 PayloadLength;\r | |
4f2494cf | 358 | \r |
429309e0 | 359 | Status = ScmiCommandGetPayload ((UINT32 **)&ClockRateSetAttributes);\r |
4f2494cf GP |
360 | if (EFI_ERROR (Status)) {\r |
361 | return Status;\r | |
362 | }\r | |
363 | \r | |
364 | // Fill arguments for clock protocol command.\r | |
429309e0 MK |
365 | ClockRateSetAttributes->ClockId = ClockId;\r |
366 | ClockRateSetAttributes->Flags = CLOCK_SET_DEFAULT_FLAGS;\r | |
367 | ClockRateSetAttributes->Rate.Low = (UINT32)Rate;\r | |
368 | ClockRateSetAttributes->Rate.High = (UINT32)(Rate >> 32);\r | |
4f2494cf | 369 | \r |
462f95ec | 370 | Cmd.ProtocolId = ScmiProtocolIdClock;\r |
bd8efb4f | 371 | Cmd.MessageId = ScmiMessageIdClockRateSet;\r |
4f2494cf GP |
372 | \r |
373 | PayloadLength = sizeof (CLOCK_RATE_SET_ATTRIBUTES);\r | |
374 | \r | |
375 | // Execute and wait for response on a SCMI channel.\r | |
376 | Status = ScmiCommandExecute (\r | |
377 | &Cmd,\r | |
378 | &PayloadLength,\r | |
379 | NULL\r | |
380 | );\r | |
381 | \r | |
382 | return Status;\r | |
383 | }\r | |
384 | \r | |
559a07d8 JB |
385 | /** Enable/Disable specified clock.\r |
386 | \r | |
387 | @param[in] This A Pointer to SCMI_CLOCK_PROTOCOL Instance.\r | |
388 | @param[in] ClockId Identifier for the clock device.\r | |
389 | @param[in] Enable TRUE to enable, FALSE to disable.\r | |
390 | \r | |
391 | @retval EFI_SUCCESS Clock enable/disable successful.\r | |
392 | @retval EFI_DEVICE_ERROR SCP returns an SCMI error.\r | |
393 | @retval !(EFI_SUCCESS) Other errors.\r | |
394 | **/\r | |
395 | STATIC\r | |
396 | EFI_STATUS\r | |
397 | ClockEnable (\r | |
429309e0 MK |
398 | IN SCMI_CLOCK2_PROTOCOL *This,\r |
399 | IN UINT32 ClockId,\r | |
400 | IN BOOLEAN Enable\r | |
559a07d8 JB |
401 | )\r |
402 | {\r | |
429309e0 MK |
403 | EFI_STATUS Status;\r |
404 | CLOCK_CONFIG_SET_ATTRIBUTES *ClockConfigSetAttributes;\r | |
405 | SCMI_COMMAND Cmd;\r | |
406 | UINT32 PayloadLength;\r | |
559a07d8 | 407 | \r |
429309e0 | 408 | Status = ScmiCommandGetPayload ((UINT32 **)&ClockConfigSetAttributes);\r |
559a07d8 JB |
409 | if (EFI_ERROR (Status)) {\r |
410 | return Status;\r | |
411 | }\r | |
412 | \r | |
413 | // Fill arguments for clock protocol command.\r | |
414 | ClockConfigSetAttributes->ClockId = ClockId;\r | |
415 | ClockConfigSetAttributes->Attributes = Enable ? BIT0 : 0;\r | |
416 | \r | |
462f95ec | 417 | Cmd.ProtocolId = ScmiProtocolIdClock;\r |
bd8efb4f | 418 | Cmd.MessageId = ScmiMessageIdClockConfigSet;\r |
559a07d8 JB |
419 | \r |
420 | PayloadLength = sizeof (CLOCK_CONFIG_SET_ATTRIBUTES);\r | |
421 | \r | |
422 | // Execute and wait for response on a SCMI channel.\r | |
423 | Status = ScmiCommandExecute (\r | |
424 | &Cmd,\r | |
425 | &PayloadLength,\r | |
426 | NULL\r | |
427 | );\r | |
428 | \r | |
429 | return Status;\r | |
430 | }\r | |
431 | \r | |
4f2494cf | 432 | // Instance of the SCMI clock management protocol.\r |
429309e0 | 433 | STATIC CONST SCMI_CLOCK_PROTOCOL ScmiClockProtocol = {\r |
4f2494cf GP |
434 | ClockGetVersion,\r |
435 | ClockGetTotalClocks,\r | |
436 | ClockGetClockAttributes,\r | |
437 | ClockDescribeRates,\r | |
438 | ClockRateGet,\r | |
439 | ClockRateSet\r | |
429309e0 | 440 | };\r |
4f2494cf | 441 | \r |
559a07d8 | 442 | // Instance of the SCMI clock management protocol.\r |
429309e0 | 443 | STATIC CONST SCMI_CLOCK2_PROTOCOL ScmiClock2Protocol = {\r |
559a07d8 JB |
444 | (SCMI_CLOCK2_GET_VERSION)ClockGetVersion,\r |
445 | (SCMI_CLOCK2_GET_TOTAL_CLOCKS)ClockGetTotalClocks,\r | |
446 | (SCMI_CLOCK2_GET_CLOCK_ATTRIBUTES)ClockGetClockAttributes,\r | |
447 | (SCMI_CLOCK2_DESCRIBE_RATES)ClockDescribeRates,\r | |
448 | (SCMI_CLOCK2_RATE_GET)ClockRateGet,\r | |
449 | (SCMI_CLOCK2_RATE_SET)ClockRateSet,\r | |
450 | SCMI_CLOCK2_PROTOCOL_VERSION,\r | |
451 | ClockEnable\r | |
429309e0 | 452 | };\r |
559a07d8 | 453 | \r |
4f2494cf GP |
454 | /** Initialize clock management protocol and install protocol on a given handle.\r |
455 | \r | |
456 | @param[in] Handle Handle to install clock management protocol.\r | |
457 | \r | |
458 | @retval EFI_SUCCESS Clock protocol interface installed successfully.\r | |
459 | **/\r | |
460 | EFI_STATUS\r | |
461 | ScmiClockProtocolInit (\r | |
429309e0 | 462 | IN EFI_HANDLE *Handle\r |
4f2494cf GP |
463 | )\r |
464 | {\r | |
465 | return gBS->InstallMultipleProtocolInterfaces (\r | |
466 | Handle,\r | |
467 | &gArmScmiClockProtocolGuid,\r | |
468 | &ScmiClockProtocol,\r | |
559a07d8 JB |
469 | &gArmScmiClock2ProtocolGuid,\r |
470 | &ScmiClock2Protocol,\r | |
4f2494cf GP |
471 | NULL\r |
472 | );\r | |
473 | }\r |