The user may invoke an EEMI service by writing the EEMI API ID, followed by up to four arguments, to the debugfs interface node.
API ID
Function ID can be EEMI API function name or ID number, type string or type integer, respectively.
Arguments
The number and type of the arguments directly depend on the selected API function. All arguments must be provided as integer types and represent the ordinal number for that specific argument type from the EEMI argument list. For more information about function descriptions, type and number of arguments see the EEMI API Specification.
Example
The following example shows how to invoke a request_node API call for NODE_USB_0.
$ echo "pm_request_node 22 1 100 1" > /sys/kernel/debug/zynqmp-firmware/pm