zynqmp: pm: Implement IOCTL APIs for device control
authorRajan Vaja <rajan.vaja@xilinx.com>
Wed, 17 Jan 2018 10:39:24 +0000 (02:39 -0800)
committerJolly Shah <jollys@xilinx.com>
Thu, 15 Mar 2018 17:23:36 +0000 (10:23 -0700)
commit1818c029252914b7d5c93915789c7cef32ffcfd7
tree6800f6542bde91384c8cf9aecb221fecb0076026
parentf76918a80602588408d6d7b6ba374df9c95d7261
zynqmp: pm: Implement IOCTL APIs for device control

Implement ioctl APIs which uses MMIO operations
to configure devices. Below IOCTLs are supported
in this patch:
  * Set tap delay bypass
  * Set SGMII mode
  * SD reset
  * Set SD/MMC tap delay

Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.c
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.h
plat/xilinx/zynqmp/zynqmp_def.h