zynqmp: pm: Implement IOCTL APIs for remoteproc
authorRajan Vaja <rajan.vaja@xilinx.com>
Wed, 17 Jan 2018 10:39:23 +0000 (02:39 -0800)
committerJolly Shah <jollys@xilinx.com>
Thu, 15 Mar 2018 17:23:31 +0000 (10:23 -0700)
commitf76918a80602588408d6d7b6ba374df9c95d7261
tree37f8ecfda56fe9e7970f2ec066a1594316027561
parentd0e2c51ae3ff07a7039cd59cdd05ba4669c0e5b3
zynqmp: pm: Implement IOCTL APIs for remoteproc

Implement ioctl APIs which uses MMIO operations
to control RPU operations. Below IOCTLs are supported
in this patch:
  * Get RPU operation mode
  * Set RPU operation mode
  * Configure RPU boot address (OCM/TCM)
  * Configure TCM combined mode

Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
plat/xilinx/zynqmp/platform.mk
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.c [new file with mode: 0644]
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.h [new file with mode: 0644]
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.h
plat/xilinx/zynqmp/pm_service/pm_defs.h
plat/xilinx/zynqmp/pm_service/pm_svc_main.c
plat/xilinx/zynqmp/zynqmp_def.h