1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: <isonum.txt>
4 ===============================================================================
5 i.MX95 System Control and Management Interface(SCMI) Vendor Protocols Extension
6 ===============================================================================
8 :Copyright: |copy| 2024 NXP
10 :Author: Peng Fan <peng.fan@nxp.com>
12 The System Manager (SM) is a low-level system function which runs on a System
13 Control Processor (SCP) to support isolation and management of power domains,
14 clocks, resets, sensors, pins, etc. on complex application processors. It often
15 runs on a Cortex-M processor and provides an abstraction to many of the
16 underlying features of the hardware. The primary purpose of the SM is to allow
17 isolation between software running on different cores in the SoC. It does this
18 by having exclusive access to critical resources such as those controlling
19 power, clocks, reset, PMIC, etc. and then providing an RPC interface to those
20 clients. This allows the SM to provide access control, arbitration, and
21 aggregation policies for those shared critical resources.
23 SM introduces a concept Logic Machine(LM) which is analogous to VM and each has
24 its own instance of SCMI. All normal SCMI calls only apply to that LM. That
25 includes boot, shutdown, reset, suspend, wake, etc. Each LM (e.g. A55 and M7)
26 are completely isolated from the others and each LM has its own communication
27 channels talking to the same SCMI server.
29 This document covers all the information necessary to understand, maintain,
30 port, and deploy the SM on supported processors.
32 The SM implements an interface compliant with the Arm SCMI Specification
33 with additional vendor specific extensions.
35 SCMI_BBM: System Control and Management BBM Vendor Protocol
36 ==============================================================
38 This protocol is intended provide access to the battery-backed module. This
39 contains persistent storage (GPR), an RTC, and the ON/OFF button. The protocol
40 can also provide access to similar functions implemented via external board
41 components. The BBM protocol provides functions to:
43 - Describe the protocol version.
44 - Discover implementation attributes.
46 - Discover the RTCs available in the system.
47 - Read/write the RTC time in seconds and ticks
48 - Set an alarm (per LM) in seconds
49 - Get notifications on RTC update, alarm, or rollover.
50 - Get notification on ON/OFF button activity.
52 For most SoC, there is one on-chip RTC (e.g. in BBNSM) and this is RTC ID 0.
53 Board code can add additional GPR and RTC.
55 GPR are not aggregated. The RTC time is also not aggregated. Setting these
56 sets for all so normally exclusive access would be granted to one agent for
57 each. However, RTC alarms are maintained for each LM and the hardware is
58 programmed with the next nearest alarm time. So only one agent in an LM should
59 be given access rights to set an RTC alarm.
70 +---------------+--------------------------------------------------------------+
72 +---------------+--------------------------------------------------------------+
74 +---------------+--------------------------------------------------------------+
75 |int32 status | See ARM SCMI Specification for status code definitions. |
76 +---------------+--------------------------------------------------------------+
77 |uint32 version | For this revision of the specification, this value must be |
79 +---------------+--------------------------------------------------------------+
87 +---------------+--------------------------------------------------------------+
89 +------------------+-----------------------------------------------------------+
91 +------------------+-----------------------------------------------------------+
92 |int32 status | See ARM SCMI Specification for status code definitions. |
93 +------------------+-----------------------------------------------------------+
94 |uint32 attributes | Bits[31:8] Number of RTCs. |
95 | | Bits[15:0] Number of persistent storage (GPR) words. |
96 +------------------+-----------------------------------------------------------+
98 PROTOCOL_MESSAGE_ATTRIBUTES
99 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 +---------------+--------------------------------------------------------------+
106 +------------------+-----------------------------------------------------------+
108 +------------------+-----------------------------------------------------------+
109 |int32 status |SUCCESS: in case the message is implemented and available |
111 | |NOT_FOUND: if the message identified by message_id is |
112 | |invalid or not implemented |
113 +------------------+-----------------------------------------------------------+
114 |uint32 attributes |Flags that are associated with a specific function in the |
115 | |protocol. For all functions in this protocol, this |
116 | |parameter has a value of 0 |
117 +------------------+-----------------------------------------------------------+
125 +------------------+-----------------------------------------------------------+
127 +------------------+-----------------------------------------------------------+
129 +------------------+-----------------------------------------------------------+
130 |uint32 index |Index of GPR to write |
131 +------------------+-----------------------------------------------------------+
132 |uint32 value |32-bit value to write to the GPR |
133 +------------------+-----------------------------------------------------------+
135 +------------------+-----------------------------------------------------------+
137 +------------------+-----------------------------------------------------------+
138 |int32 status |SUCCESS: if the GPR was successfully written. |
139 | |NOT_FOUND: if the index is not valid. |
140 | |DENIED: if the agent does not have permission to write |
141 | |the specified GPR |
142 +------------------+-----------------------------------------------------------+
150 +------------------+-----------------------------------------------------------+
152 +------------------+-----------------------------------------------------------+
154 +------------------+-----------------------------------------------------------+
155 |uint32 index |Index of GPR to read |
156 +------------------+-----------------------------------------------------------+
158 +------------------+-----------------------------------------------------------+
160 +------------------+-----------------------------------------------------------+
161 |int32 status |SUCCESS: if the GPR was successfully read. |
162 | |NOT_FOUND: if the index is not valid. |
163 | |DENIED: if the agent does not have permission to read |
164 | |the specified GPR. |
165 +------------------+-----------------------------------------------------------+
166 |uint32 value |32-bit value read from the GPR |
167 +------------------+-----------------------------------------------------------+
175 +------------------+-----------------------------------------------------------+
177 +------------------+-----------------------------------------------------------+
179 +------------------+-----------------------------------------------------------+
180 |uint32 index |Index of RTC |
181 +------------------+-----------------------------------------------------------+
183 +------------------+-----------------------------------------------------------+
185 +------------------+-----------------------------------------------------------+
186 |int32 status |SUCCESS: returned the attributes. |
187 | |NOT_FOUND: Index is invalid. |
188 +------------------+-----------------------------------------------------------+
189 |uint32 attributes |Bit[31:24] Bit width of RTC seconds. |
190 | |Bit[23:16] Bit width of RTC ticks. |
191 | |Bits[15:0] RTC ticks per second |
192 +------------------+-----------------------------------------------------------+
193 |uint8 name[16] |Null-terminated ASCII string of up to 16 bytes in length |
194 | |describing the RTC name |
195 +------------------+-----------------------------------------------------------+
203 +------------------+-----------------------------------------------------------+
205 +------------------+-----------------------------------------------------------+
207 +------------------+-----------------------------------------------------------+
208 |uint32 index |Index of RTC |
209 +------------------+-----------------------------------------------------------+
210 |uint32 flags |Bits[31:1] Reserved, must be zero. |
211 | |Bit[0] RTC time format: |
212 | |Set to 1 if the time is in ticks. |
213 | |Set to 0 if the time is in seconds |
214 +------------------+-----------------------------------------------------------+
215 |uint32 time[2] |Lower word: Lower 32 bits of the time in seconds/ticks. |
216 | |Upper word: Upper 32 bits of the time in seconds/ticks. |
217 +------------------+-----------------------------------------------------------+
219 +------------------+-----------------------------------------------------------+
221 +------------------+-----------------------------------------------------------+
222 |int32 status |SUCCESS: RTC time was successfully set. |
223 | |NOT_FOUND: rtcId pertains to a non-existent RTC. |
224 | |INVALID_PARAMETERS: time is not valid |
225 | |(beyond the range of the RTC). |
226 | |DENIED: the agent does not have permission to set the RTC. |
227 +------------------+-----------------------------------------------------------+
235 +------------------+-----------------------------------------------------------+
237 +------------------+-----------------------------------------------------------+
239 +------------------+-----------------------------------------------------------+
240 |uint32 index |Index of RTC |
241 +------------------+-----------------------------------------------------------+
242 |uint32 flags |Bits[31:1] Reserved, must be zero. |
243 | |Bit[0] RTC time format: |
244 | |Set to 1 if the time is in ticks. |
245 | |Set to 0 if the time is in seconds |
246 +------------------+-----------------------------------------------------------+
248 +------------------+-----------------------------------------------------------+
250 +------------------+-----------------------------------------------------------+
251 |int32 status |SUCCESS: RTC time was successfully get. |
252 | |NOT_FOUND: rtcId pertains to a non-existent RTC. |
253 +------------------+-----------------------------------------------------------+
254 |uint32 time[2] |Lower word: Lower 32 bits of the time in seconds/ticks. |
255 | |Upper word: Upper 32 bits of the time in seconds/ticks. |
256 +------------------+-----------------------------------------------------------+
264 +------------------+-----------------------------------------------------------+
266 +------------------+-----------------------------------------------------------+
268 +------------------+-----------------------------------------------------------+
269 |uint32 index |Index of RTC |
270 +------------------+-----------------------------------------------------------+
271 |uint32 flags |Bits[31:1] Reserved, must be zero. |
272 | |Bit[0] RTC enable flag: |
273 | |Set to 1 if the RTC alarm should be enabled. |
274 | |Set to 0 if the RTC alarm should be disabled |
275 +------------------+-----------------------------------------------------------+
276 |uint32 time[2] |Lower word: Lower 32 bits of the time in seconds. |
277 | |Upper word: Upper 32 bits of the time in seconds. |
278 +------------------+-----------------------------------------------------------+
280 +------------------+-----------------------------------------------------------+
282 +------------------+-----------------------------------------------------------+
283 |int32 status |SUCCESS: RTC time was successfully set. |
284 | |NOT_FOUND: rtcId pertains to a non-existent RTC. |
285 | |INVALID_PARAMETERS: time is not valid |
286 | |(beyond the range of the RTC). |
287 | |DENIED: the agent does not have permission to set the RTC |
289 +------------------+-----------------------------------------------------------+
297 +------------------+-----------------------------------------------------------+
299 +------------------+-----------------------------------------------------------+
301 +------------------+-----------------------------------------------------------+
302 |int32 status |SUCCESS: if the button status was read. |
303 | |Other value: ARM SCMI Specification status code definitions|
304 +------------------+-----------------------------------------------------------+
305 |uint32 state |State of the ON/OFF button. 1: ON, 0: OFF |
306 +------------------+-----------------------------------------------------------+
314 +------------------+-----------------------------------------------------------+
316 +------------------+-----------------------------------------------------------+
318 +------------------+-----------------------------------------------------------+
319 |uint32 index |Index of RTC |
320 +------------------+-----------------------------------------------------------+
321 |uint32 flags |Notification flags |
322 | |Bits[31:3] Reserved, must be zero. |
323 | |Bit[2] Update enable: |
324 | |Set to 1 to send notification. |
325 | |Set to 0 if no notification. |
326 | |Bit[1] Rollover enable: |
327 | |Set to 1 to send notification. |
328 | |Set to 0 if no notification. |
329 | |Bit[0] Alarm enable: |
330 | |Set to 1 to send notification. |
331 | |Set to 0 if no notification |
332 +------------------+-----------------------------------------------------------+
334 +------------------+-----------------------------------------------------------+
336 +------------------+-----------------------------------------------------------+
337 |int32 status |SUCCESS: notification configuration was successfully |
339 | |NOT_FOUND: rtcId pertains to a non-existent RTC. |
340 | |DENIED: the agent does not have permission to request RTC |
342 +------------------+-----------------------------------------------------------+
350 +------------------+-----------------------------------------------------------+
352 +------------------+-----------------------------------------------------------+
354 +------------------+-----------------------------------------------------------+
355 |uint32 flags |Notification flags |
356 | |Bits[31:1] Reserved, must be zero. |
357 | |Bit[0] Enable button: |
358 | |Set to 1 to send notification. |
359 | |Set to 0 if no notification |
360 +------------------+-----------------------------------------------------------+
362 +------------------+-----------------------------------------------------------+
364 +------------------+-----------------------------------------------------------+
365 |int32 status |SUCCESS: notification configuration was successfully |
367 | |DENIED: the agent does not have permission to request |
368 | |button notifications. |
369 +------------------+-----------------------------------------------------------+
371 NEGOTIATE_PROTOCOL_VERSION
372 ~~~~~~~~~~~~~~~~~~~~~~~~~~
377 +--------------------+---------------------------------------------------------+
379 +--------------------+---------------------------------------------------------+
381 +--------------------+---------------------------------------------------------+
382 |uint32 version |The negotiated protocol version the agent intends to use |
383 +--------------------+---------------------------------------------------------+
385 +--------------------+---------------------------------------------------------+
387 +--------------------+---------------------------------------------------------+
388 |int32 status |SUCCESS: if the negotiated protocol version is supported |
389 | |by the platform. All commands, responses, and |
390 | |notifications post successful return of this command must|
391 | |comply with the negotiated version. |
392 | |NOT_SUPPORTED: if the protocol version is not supported. |
393 +--------------------+---------------------------------------------------------+
404 +------------------+-----------------------------------------------------------+
406 +------------------+-----------------------------------------------------------+
408 +------------------+-----------------------------------------------------------+
409 |uint32 flags |RTC events: |
410 | |Bits[31:2] Reserved, must be zero. |
411 | |Bit[1] RTC rollover notification: |
412 | |1 RTC rollover detected. |
413 | |0 no RTC rollover detected. |
414 | |Bit[0] RTC alarm notification: |
415 | |1 RTC alarm generated. |
416 | |0 no RTC alarm generated. |
417 +------------------+-----------------------------------------------------------+
425 +------------------+-----------------------------------------------------------+
427 +------------------+-----------------------------------------------------------+
429 +------------------+-----------------------------------------------------------+
430 |uint32 flags |RTC events: |
431 +------------------+-----------------------------------------------------------+
433 | |Bits[31:1] Reserved, must be zero. |
434 | |Bit[0] Button notification: |
435 | |1 button change detected. |
436 | |0 no button change detected. |
437 +------------------+-----------------------------------------------------------+
439 SCMI_MISC: System Control and Management MISC Vendor Protocol
440 ================================================================
442 Provides miscellaneous functions. This includes controls that are miscellaneous
443 settings/actions that must be exposed from the SM to agents. They are device
444 specific and are usually define to access bit fields in various mix block
445 control modules, IOMUX_GPR, and other GPR/CSR owned by the SM. This protocol
446 supports the following functions:
448 - Describe the protocol version.
449 - Discover implementation attributes.
451 - Initiate an action on a control.
452 - Obtain platform (i.e. SM) build information.
453 - Obtain ROM passover data.
454 - Read boot/shutdown/reset information for the LM or the system.
465 +---------------+--------------------------------------------------------------+
467 +---------------+--------------------------------------------------------------+
469 +---------------+--------------------------------------------------------------+
470 |int32 status | See ARM SCMI Specification for status code definitions. |
471 +---------------+--------------------------------------------------------------+
472 |uint32 version | For this revision of the specification, this value must be |
474 +---------------+--------------------------------------------------------------+
482 +------------------+-----------------------------------------------------------+
484 +------------------+-----------------------------------------------------------+
486 +------------------+-----------------------------------------------------------+
487 |int32 status | See ARM SCMI Specification for status code definitions. |
488 +------------------+-----------------------------------------------------------+
489 |uint32 attributes |Protocol attributes: |
490 | |Bits[31:24] Reserved, must be zero. |
491 | |Bits[23:16] Number of reset reasons. |
492 | |Bits[15:0] Number of controls |
493 +------------------+-----------------------------------------------------------+
495 PROTOCOL_MESSAGE_ATTRIBUTES
496 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
501 +------------------+-----------------------------------------------------------+
503 +------------------+-----------------------------------------------------------+
505 +------------------+-----------------------------------------------------------+
506 |int32 status |SUCCESS: in case the message is implemented and available |
508 | |NOT_FOUND: if the message identified by message_id is |
509 | |invalid or not implemented |
510 +------------------+-----------------------------------------------------------+
511 |uint32 attributes |Flags that are associated with a specific function in the |
512 | |protocol. For all functions in this protocol, this |
513 | |parameter has a value of 0 |
514 +------------------+-----------------------------------------------------------+
522 +------------------+-----------------------------------------------------------+
524 +------------------+-----------------------------------------------------------+
526 +------------------+-----------------------------------------------------------+
527 |uint32 index |Index of the control |
528 +------------------+-----------------------------------------------------------+
529 |uint32 num |Size of the value data in words |
530 +------------------+-----------------------------------------------------------+
531 |uint32 val[8] |value data array |
532 +------------------+-----------------------------------------------------------+
534 +------------------+-----------------------------------------------------------+
536 +------------------+-----------------------------------------------------------+
537 |int32 status |SUCCESS: if the control was set successfully. |
538 | |NOT_FOUND: if the index is not valid. |
539 | |DENIED: if the agent does not have permission to set the |
541 +------------------+-----------------------------------------------------------+
549 +------------------+-----------------------------------------------------------+
551 +------------------+-----------------------------------------------------------+
553 +------------------+-----------------------------------------------------------+
554 |uint32 index |Index of the control |
555 +------------------+-----------------------------------------------------------+
557 +------------------+-----------------------------------------------------------+
559 +------------------+-----------------------------------------------------------+
560 |int32 status |SUCCESS: if the control was get successfully. |
561 | |NOT_FOUND: if the index is not valid. |
562 | |DENIED: if the agent does not have permission to get the |
564 +------------------+-----------------------------------------------------------+
565 |uint32 num |Size of the return data in words, max 8 |
566 +------------------+-----------------------------------------------------------+
568 |val[0, num - 1] |value data array |
569 +------------------+-----------------------------------------------------------+
577 +------------------+-----------------------------------------------------------+
579 +------------------+-----------------------------------------------------------+
581 +------------------+-----------------------------------------------------------+
582 |uint32 index |Index of the control |
583 +------------------+-----------------------------------------------------------+
584 |uint32 action |Action for the control |
585 +------------------+-----------------------------------------------------------+
586 |uint32 numarg |Size of the argument data, max 8 |
587 +------------------+-----------------------------------------------------------+
589 |arg[0, numarg -1] |Argument data array |
590 +------------------+-----------------------------------------------------------+
592 +------------------+-----------------------------------------------------------+
594 +------------------+-----------------------------------------------------------+
595 |int32 status |SUCCESS: if the action was set successfully. |
596 | |NOT_FOUND: if the index is not valid. |
597 | |DENIED: if the agent does not have permission to get the |
599 +------------------+-----------------------------------------------------------+
600 |uint32 num |Size of the return data in words, max 8 |
601 +------------------+-----------------------------------------------------------+
603 |val[0, num - 1] |value data array |
604 +------------------+-----------------------------------------------------------+
606 MISC_DISCOVER_BUILD_INFO
607 ~~~~~~~~~~~~~~~~~~~~~~~~
609 This function is used to obtain the build commit, data, time, number.
614 +------------------+-----------------------------------------------------------+
616 +------------------+-----------------------------------------------------------+
618 +------------------+-----------------------------------------------------------+
619 |int32 status |SUCCESS: if the build info was got successfully. |
620 | |NOT_SUPPORTED: if the data is not available. |
621 +------------------+-----------------------------------------------------------+
622 |uint32 buildnum |Build number |
623 +------------------+-----------------------------------------------------------+
624 |uint32 buildcommit|Most significant 32 bits of the git commit hash |
625 +------------------+-----------------------------------------------------------+
626 |uint8 date[16] |Date of build. Null terminated ASCII string of up to 16 |
628 +------------------+-----------------------------------------------------------+
629 |uint8 time[16] |Time of build. Null terminated ASCII string of up to 16 |
631 +------------------+-----------------------------------------------------------+
633 MISC_ROM_PASSOVER_GET
634 ~~~~~~~~~~~~~~~~~~~~~
636 ROM passover data is information exported by ROM and could be used by others.
637 It includes boot device, instance, type, mode and etc. This function is used
638 to obtain the ROM passover data. The returned block of words is structured as
639 defined in the ROM passover section in the SoC RM.
644 +------------------+-----------------------------------------------------------+
646 +------------------+-----------------------------------------------------------+
648 +------------------+-----------------------------------------------------------+
649 |int32 status |SUCCESS: if the data was got successfully. |
650 | |NOT_SUPPORTED: if the data is not available. |
651 +------------------+-----------------------------------------------------------+
652 |uint32 num |Size of the passover data in words, max 13 |
653 +------------------+-----------------------------------------------------------+
655 |data[0, num - 1] |Passover data array |
656 +------------------+-----------------------------------------------------------+
664 +------------------+-----------------------------------------------------------+
666 +------------------+-----------------------------------------------------------+
668 +------------------+-----------------------------------------------------------+
669 |uint32 index |Index of control |
670 +------------------+-----------------------------------------------------------+
671 |uint32 flags |Notification flags, varies by control |
672 +------------------+-----------------------------------------------------------+
674 +------------------+-----------------------------------------------------------+
676 +------------------+-----------------------------------------------------------+
677 |int32 status |SUCCESS: notification configuration was successfully |
679 | |NOT_FOUND: control id not exists. |
680 | |INVALID_PARAMETERS: if the input attributes flag specifies |
681 | |unsupported or invalid configurations.. |
682 | |DENIED: if the calling agent is not permitted to request |
683 | |the notification. |
684 +------------------+-----------------------------------------------------------+
686 MISC_RESET_REASON_ATTRIBUTES
687 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
692 +------------------+-----------------------------------------------------------+
694 +------------------+-----------------------------------------------------------+
696 +------------------+-----------------------------------------------------------+
697 |uint32 reasonid |Identifier for the reason |
698 +------------------+-----------------------------------------------------------+
700 +------------------+-----------------------------------------------------------+
702 +------------------+-----------------------------------------------------------+
703 |int32 status |SUCCESS: if valid reason attributes are returned |
704 | |NOT_FOUND: if reasonId pertains to a non-existent reason. |
705 +------------------+-----------------------------------------------------------+
706 |uint32 attributes |Reason attributes. This parameter has the following |
707 | |format: Bits[31:0] Reserved, must be zero |
708 | |Bits[15:0] Number of persistent storage (GPR) words. |
709 +------------------+-----------------------------------------------------------+
710 |uint8 name[16] |Null-terminated ASCII string of up to 16 bytes in length |
711 | |describing the reason |
712 +------------------+-----------------------------------------------------------+
714 MISC_RESET_REASON_GET
715 ~~~~~~~~~~~~~~~~~~~~~
720 +--------------------+---------------------------------------------------------+
722 +--------------------+---------------------------------------------------------+
724 +--------------------+---------------------------------------------------------+
725 |uint32 flags |Reason flags. This parameter has the following format: |
726 | |Bits[31:1] Reserved, must be zero. |
728 | |Set to 1 to return the system reason. |
729 | |Set to 0 to return the LM reason |
730 +--------------------+---------------------------------------------------------+
732 +--------------------+---------------------------------------------------------+
734 +--------------------+---------------------------------------------------------+
735 |int32 status |SUCCESS: reset reason return |
736 +--------------------+---------------------------------------------------------+
737 |uint32 bootflags |Boot reason flags. This parameter has the format: |
739 | |Set to 1 if the entire reason is valid. |
740 | |Set to 0 if the entire reason is not valid. |
741 | |Bits[30:29] Reserved, must be zero. |
742 | |Bit[28] Valid origin: |
743 | |Set to 1 if the origin field is valid. |
744 | |Set to 0 if the origin field is not valid. |
745 | |Bits[27:24] Origin. |
746 | |Bit[23] Valid err ID: |
747 | |Set to 1 if the error ID field is valid. |
748 | |Set to 0 if the error ID field is not valid. |
749 | |Bits[22:8] Error ID. |
751 +--------------------+---------------------------------------------------------+
752 |uint32 shutdownflags|Shutdown reason flags. This parameter has the format: |
754 | |Set to 1 if the entire reason is valid. |
755 | |Set to 0 if the entire reason is not valid. |
756 | |Bits[30:29] Number of valid extended info words. |
757 | |Bit[28] Valid origin: |
758 | |Set to 1 if the origin field is valid. |
759 | |Set to 0 if the origin field is not valid. |
760 | |Bits[27:24] Origin. |
761 | |Bit[23] Valid err ID: |
762 | |Set to 1 if the error ID field is valid. |
763 | |Set to 0 if the error ID field is not valid. |
764 | |Bits[22:8] Error ID. |
766 +--------------------+---------------------------------------------------------+
767 |uint32 extinfo[8] |Array of extended info words |
768 +--------------------+---------------------------------------------------------+
776 +--------------------+---------------------------------------------------------+
778 +--------------------+---------------------------------------------------------+
780 +--------------------+---------------------------------------------------------+
781 |int32 status |SUCCESS: silicon info return |
782 +--------------------+---------------------------------------------------------+
783 |uint32 deviceid |Silicon specific device ID |
784 +--------------------+---------------------------------------------------------+
785 |uint32 sirev |Silicon specific revision |
786 +--------------------+---------------------------------------------------------+
787 |uint32 partnum |Silicon specific part number |
788 +--------------------+---------------------------------------------------------+
789 |uint8 siname[16] |Silicon name/revision. Null terminated ASCII string of up|
790 | |to 16 bytes in length |
791 +--------------------+---------------------------------------------------------+
799 +--------------------+---------------------------------------------------------+
801 +--------------------+---------------------------------------------------------+
803 +--------------------+---------------------------------------------------------+
804 |int32 status |SUCCESS: config name return |
805 | |NOT_SUPPORTED: name not available |
806 +--------------------+---------------------------------------------------------+
807 |uint32 msel |Mode selector value |
808 +--------------------+---------------------------------------------------------+
809 |uint8 cfgname[16] |config file basename. Null terminated ASCII string of up |
810 | |to 16 bytes in length |
811 +--------------------+---------------------------------------------------------+
819 +--------------------+---------------------------------------------------------+
821 +--------------------+---------------------------------------------------------+
823 +--------------------+---------------------------------------------------------+
824 |uint32 flags |Device specific flags that might impact the data returned|
825 | |or clearing of the data |
826 +--------------------+---------------------------------------------------------+
827 |uint32 logindex |Index to the first log word. Will be the first element in|
828 | |the return array |
829 +--------------------+---------------------------------------------------------+
831 +--------------------+---------------------------------------------------------+
833 +--------------------+---------------------------------------------------------+
834 |int32 status |SUCCESS: system log return |
835 +--------------------+---------------------------------------------------------+
836 |uint32 numLogflags |Descriptor for the log data returned by this call. |
837 | |Bits[31:20] Number of remaining log words. |
838 | |Bits[15:12] Reserved, must be zero. |
839 | |Bits[11:0] Number of log words that are returned by this |
841 +--------------------+---------------------------------------------------------+
842 |uint32 syslog[N] |Log data array, N is defined in bits[11:0] of numLogflags|
843 +--------------------+---------------------------------------------------------+
845 NEGOTIATE_PROTOCOL_VERSION
846 ~~~~~~~~~~~~~~~~~~~~~~~~~~
851 +--------------------+---------------------------------------------------------+
853 +--------------------+---------------------------------------------------------+
855 +--------------------+---------------------------------------------------------+
856 |uint32 version |The negotiated protocol version the agent intends to use |
857 +--------------------+---------------------------------------------------------+
859 +--------------------+---------------------------------------------------------+
861 +--------------------+---------------------------------------------------------+
862 |int32 status |SUCCESS: if the negotiated protocol version is supported |
863 | |by the platform. All commands, responses, and |
864 | |notifications post successful return of this command must|
865 | |comply with the negotiated version. |
866 | |NOT_SUPPORTED: if the protocol version is not supported. |
867 +--------------------+---------------------------------------------------------+
878 +------------------+-----------------------------------------------------------+
880 +------------------+-----------------------------------------------------------+
882 +------------------+-----------------------------------------------------------+
883 |uint32 ctrlid |Identifier for the control that caused the event. |
884 +------------------+-----------------------------------------------------------+
885 |uint32 flags |Event flags, varies by control. |
886 +------------------+-----------------------------------------------------------+