zynqmp: pm: Implement pm_get_node_status API function
authorAnes Hadziahmetagic <anes.hadziahmetagic@aggios.com>
Fri, 27 Jan 2017 17:42:44 +0000 (18:42 +0100)
committerSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 17 May 2018 09:41:27 +0000 (15:11 +0530)
commitd744b6f56f01ba8ac65fc11b95f63a49c1749061
tree0a62f149412850fd295e7b1708e6e4f83bad9b9a
parentb6ceca430307005e20e29e5e8610d510f61f2a93
zynqmp: pm: Implement pm_get_node_status API function

pm_get_node_status API function returns 3 values:
-status: Current power state of the node
-requirements: Current requirements for the node
-usage: Current usage of the node
The last two values only apply to slave nodes.

Signed-off-by: Anes Hadziahmetagic <anes.hadziahmetagic@aggios.com>
Signed-off-by: Filip Drazic <filip.drazic@aggios.com>
Acked-by: Will Wong <willw@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.h
plat/xilinx/zynqmp/pm_service/pm_svc_main.c